In computer science, code is any collection of computer instructions (possibly with comments) written using some human-readable computer language, usually as text.

learn more… | top users | synonyms

5
votes
1answer
140 views

What's the best way to present variables in a WYSIWYG editor?

I'm working on a WYSIWYG editor, similar to medium.com. We need to support variables inside the editor. For example, you might want to add text: Hi, *|FNAME|* which would be replaced with Hi, Gustavs ...
3
votes
6answers
528 views

Better UI for exchanging blocks up and down

I have developed a UI as shown below: Now I want to add a functionality to this UI that if user wants to exchange positions of if and else if blocks, he must be able to do that. One option could be ...
5
votes
3answers
168 views

Code reference site for developers

I'm looking for any UI / UX evidence for what makes a good code reference site. The information is a set of entries of classes (which contains properties and methods), subclasses, functions, and hooks ...
0
votes
1answer
165 views

Best Practices for Code Editor and Auto-complete

I am working on a code editor application. The app will be web based and currently I am trying to investigate different best practices and value add to give the developers a reason to use the app. ...
4
votes
3answers
193 views

Ergonomics of computer code [closed]

Earlier I've asked similar question at StackOverflow and was ruthless downvoted. Yet I believe it to be absolutely viable and useful. At least for me as a software developer. There are many holy war ...
3
votes
1answer
98 views

Is there a definitive answer to the line length readability question in the context of programming code

Is there is any definitive research that attempts to answer what character counts make the most human readable line lengths for programming code (typically mono-spaced font, high liklihood of small ...
3
votes
5answers
299 views

How tech savvy a good UX Designer should be?

I am very new to UX and just trying to see whether I'm going to be a good fit to the field (obviously I'm going to find that out via hands on experience starting my internship next week). However if ...
0
votes
2answers
50 views

How to make tags in email template editor clear to all users?

I'm working on a web application where users (of an organization) can edit email templates. For example, one template would be used to confirm an appointment (that a client has made with the ...
0
votes
2answers
69 views

Saving a field as a preset

I have an entity (say, an event) the user needs to create periodically. In its attributes, the user needs to enter a range in a text field that is a technical specification (complex). The user will ...
1
vote
1answer
106 views

Best way to handle code wrapping on a narrow viewport [duplicate]

Note that this is not a duplicate of this question. I reviewed it before asking the question and the accepted answer is stated as unacceptable in the "Solutions that won't work" section below. My ...
2
votes
1answer
46 views

Enable users to add parameters to integration code mindfully

I'm trying to design a screen that will allow our customers to generate integration code (to integrate to our application). I would like to demonstrate to the customers that they can add additional ...
8
votes
8answers
394 views

How should text wrap in a code block?

I am working on an application where code will be shown on a mobile device. This gives us a constrained width as horizontal scrolling isn't a desired choice for code with long lines. So we have to ...