Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
C0D4669027yBut I like my function names.
They are so EASY to remember....
A()
B()
C()
D()
E()
If you didn’t pickup on the sarcasm() here I will probably murder someone if I see them do this 🤔 -
C0D4669027y@xxxx
i can live with i, j should be named in nested for loops but k? i try to avoid a third layer. -
@xxxx I think that's fine to be honest, it's a pretty universal convention. Unless you're using something like a foreach, then you should be more careful.
-
Definitely! I do it for myself first lol, because I have very quick code amnesia.
@C0D4 yeah for iterators I find that letter is faster to read and understood by most due to most programmers using them. -
I actually lost points in my first programming assignment for using one-letter variables. Every int was called n, m, and so on. The same goes for char c and string s. My teacher told me it was a bad practice and said he would mark any future code with this naming scheme as unreadable
Related Rants
"How to name your variables and functions so they can be understood by other humans" should be a mandatory lesson right after someone writes their first ever computer program.
rant
coding
beginner mistakes
funny
variable naming