3 ms·
What language do you type constants in all caps ?
by LandR 5y ago
What language do you type constants in all caps ?
- doobiedowner 5y agoI see it in Programmable Logic Controllers. Engineering drawings often come in all caps and a program's input and output buffers are sometimes named to match. The older programs were in all caps because the programming terminals had no lowercase. https://www.artisantg.com/itemimages/AB_1747_PT1_View1.jpg https://www.artisantg.com/itemimages/AB_1747_PT1_View1.jpg
- JKCalhoun 5y agoI see it in Python.
- ovao 5y agoPretty common in C-family languages (global constants tend to be all-capped in many style guides), and for environment variables as well.
- bityard 5y agoDevops people have to type environment variables quite often which are almost always uppercase by convention.