Skip to main content

Questions tagged [code]

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

3 votes
1 answer
657 views

I often see that monospaced text is smaller than regular text in the same context. Here are some examples: Crafting Interpreters has the main font 16px large and the monospaced font 13px large. ...
matj1's user avatar
  • 131
3 votes
1 answer
546 views

We're currently working on making our data table accessible. Our main concern is the whole clickable row that triggers a side sheet. The entire row is clickable, and a part of its content may be ...
Genevieve Morency's user avatar
1 vote
1 answer
76 views

We're designing a custom code theme which displays line numbers, and we're having some internal debate whether these line numbers need to meet WCAG AA contrast guidelines? They're not the main body ...
Adam Thompson's user avatar
2 votes
1 answer
184 views

For marking up source code beyond small fragments embedded in normal text, the official recommendation seems to be to use the code and pre elements. And this works fine if your listings should reflect ...
texdr.aft's user avatar
  • 121
3 votes
3 answers
223 views

I'm currently doing some research on design systems (hereafter DS) because we want build one. Context Requirements for a DS guides our designers when building something that needs to conform to our ...
Arthur Boni's user avatar
1 vote
2 answers
917 views

My understanding is that all of the QR codes being scanned by Chinese users in WeChat are actually just encoding plain old URLs. I'm not a WeChat user, but this suggests to me that if I (painfully) ...
user227963's user avatar
1 vote
1 answer
85 views

I'd appreciate some info on (the exact, an underlying or a similar) color scheme used for styling code samples on this page: https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-...
jaam's user avatar
  • 111
36 votes
6 answers
28k views

I am asked to improve the sign-up process of a double authentication system. At one step there, we ask users to input their telephone number. Right now users have to click on the flag and choose ...
Mike Mark's user avatar
  • 903
2 votes
1 answer
623 views

Two GNOME applications (Builder and Text Editor) have an option to draw a faint grid in the background of the text editing window. The grid does not map neatly onto the fixed-width font. Does this ...
lofidevops's user avatar
1 vote
1 answer
160 views

I have a python script that allows users to parse addresses when batch-editing a table. The script allows the user to choose whether to return the house number or the street name to the field (by ...
User1974's user avatar
  • 243
1 vote
1 answer
94 views

I'm working on an API management product, and someone has suggested that we present the methods in alpha order: DELETE GET HEAD OPTIONS PATCH POST PUT My hunch is that this is not the best order, ...
Mattynabib's user avatar
  • 3,786
0 votes
1 answer
112 views

I'm working on an iphone application that is going to feature a custom color selection tool. The application supports various color spaces and I'd like to use hex because the codes are shorter and ...
Samy Bencherif's user avatar
0 votes
1 answer
99 views

I was coding today and the thought occurred to me: why is dynamic scaling of the relative sizes of nested parentheses/brackets/curly braces not already a common feature of code editors? One often has ...
Josh's user avatar
  • 101
4 votes
2 answers
709 views

I'm creating a MS Word document (and will probably convert it to PDF later on) for a visually impaired programming student. I'm following all the guidelines about text semantics, like correctly using ...
Floella's user avatar
  • 141
9 votes
2 answers
1k views

Take https://stackoverflow.com/questions/33131200/spring-ignores-property-file-in-current-directory-using-that-in-classpath-instea. Most monitors I use these days are 1080p or atleast 900 anyway, yet ...
HankCa's user avatar
  • 191

15 30 50 per page