3 ms·
> insist on uppercasing reserved words, It makes code a lot more readable
by rbanffy 2y ago
> insist on uppercasing reserved words,
It makes code a lot more readable
- williamdclt 2y agoAs someone who does uppercase SQL, I’m not really convinced it improves readability. We don’t do it for other languages after all, syntax coloration is deemed enough. (On the other hand, sql is often embedded in other languages where it might not get properly coloured so… maybe)
- rbanffy 2y agoNot all languages allow it, and most sexy languages forbid it by being case sensitive with their keywords. I've used this feature in Pascal and Basic and my feeling is that it improves readability a lot, as it better highlights structure than just coloring. OTOH, I've used it mostly on monochrome 1-bit-per-pixel systems where coloring wasn't available. I believe it could be a matter of taste.