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

8
votes
9answers
591 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 ...
5
votes
3answers
428 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 ...
5
votes
1answer
199 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 ...
5
votes
3answers
179 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 ...
4
votes
6answers
738 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 ...
3
votes
5answers
486 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 ...
3
votes
1answer
134 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 ...
2
votes
1answer
50 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 ...
1
vote
1answer
56 views

Where I can put link to popup with input for promo code?

I am mocking up a very minimalistic user-account page, and I have a mockup: This is mockup probably most important subpage. This page will be like "command center" for a user because he will do ...
1
vote
1answer
132 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 ...
0
votes
1answer
236 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. ...
0
votes
2answers
90 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 ...
0
votes
2answers
57 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 ...