Home Why use contraction/clipping in variable names?
Reply: 0

Why use contraction/clipping in variable names?

user768
1#
user768 Published in April 21, 2018, 10:39 pm

I constantly find myself wondering "how do they contracted configuration this time, is it cfg or conf or config?". It happens all the time only the actual variable name is different. I've lost incredible amount of time checking the right name of a variable in documentation, just because the name was originally contracted. Moreover, if I spent some time replacing contractions in a third party code, I can easily gain in time later, as the code turns to be much easier to understand.

So what is the reason developers keep contracting variable names while completion is wide spread (from the fancy editors down to shell terminal) and space preservation is not an issue like 20 years now?

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.304723 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO