5 ms·
I think making the keywords all-caps is a mistake. Capital letters draw the eye -- all-caps doubly so, and at the expense of readability. Anything in all-caps
by jcl 17y ago
I think making the keywords all-caps is a mistake. Capital letters draw the eye -- all-caps doubly so, and at the expense of readability.
Anything in all-caps had better be pretty damn important for the programmer to read. And while keywords are vital to the compiler's understanding of the program, they are arguably among the least important text for the programmer to read, as they can generally be inferred from visual length, placement, and formatting.
- mapleoin 17y agodon't forget syntax highlighting
- raganwald 17y agoKeywords are punctuation for programs. Keywords in capitals are shouting the punctuation out instead of the words. So just as you say, keywords in capitals are the equivalent of you writing: I think making the keywords all DASH caps is a mistake PERIOD Capital letters draw the eye EMDASH all DASH caps doubly so COMMA and at the expense of readability PERIOD
- rick_2047 17y agoalso small caps are harder to type its just tedious to change the case so often