r/dailyprogrammer • 1 3 • Jul 28 '14

[Weekly #4] Variable Names

Variable Names:

We use variables a lot in our programs. Over the many years I have seen and been told a wide range of "accepted" use of names for variables. I always found the techniques/methods/reasons interesting and different.

What are some of your standards for naming variables?

Details like are they language specific (do you change between languages) are good to share. Or what causes the names to be as they are.

Last Week's Topic:

[Weekly #3] (http://www.reddit.com/r/dailyprogrammer/comments/2bbvqp/weekly_3_favorite_data_structure/)

25 Upvotes

64 comments sorted by

View all comments

Show parent comment

4

u/KumbajaMyLord Jul 29 '14

What kind of of barbaric language are you using that you are doing manual search and replace instead of a proper tool assisted refactoring?

2

u/Whadios Jul 29 '14

Just to answer your question though I don't support the idea of ii and jj:

C++ Builder. Fucking thing is a piece of garbage and refactoring just does not work in the thing. Maybe they finally fixed it in newer versions (didn't work in 2007, doesn't work in 2010) but I haven't seen it. Such a shit IDE overall :(

2

u/XenophonOfAthens 2 1 Aug 01 '14

Some of us like to use vim :)