[JOKE] The hardest part of programming is naming variables! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 13

[JOKE] The hardest part of programming is naming variables!

True story.

21st May 2017, 7:39 PM
Leigh E. O.
Leigh E. O. - avatar
14 Answers
+ 15
hahaha @James... it takes me some time to name stuff for the Quiz Factory 😥
21st May 2017, 8:14 PM
Pao
Pao - avatar
+ 15
float on_the_surface double decker int elligence
21st May 2017, 8:53 PM
‎ɐısıօլɐ
‎ɐısıօլɐ - avatar
+ 13
I use a, b, c, d, ... as variable names in general.
22nd May 2017, 2:51 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 11
(〜 ̄△ ̄)〜
21st May 2017, 7:42 PM
Maz
Maz - avatar
+ 8
/°^°\
21st May 2017, 8:00 PM
Manual
Manual - avatar
+ 8
For code snippets a,b,x,y are sufficient, for projects logical names with suffixes like: fp, buf, cnt. I reserve special names and prefixes, language dependant, like "tmp" or "tmpbuf" or "tmpfp" for debugging and testing. That way I know when code still has to be cleaned before commit. And I'm probably the only person who uses uppercase variable names in shell/Bash scripts, lol.
22nd May 2017, 9:59 PM
Jamie
Jamie - avatar
+ 6
am I the only one that writes super descriptive variables?
22nd May 2017, 3:45 PM
X-1
X-1 - avatar
+ 6
@minus one, not only you bro 😂😂
22nd May 2017, 4:10 PM
Leigh E. O.
Leigh E. O. - avatar
+ 5
A SQL query goes into a bar, walks up to 2 tables and asks, "Can I join you?".
22nd May 2017, 1:49 PM
Scarce
Scarce - avatar
+ 4
Aye.
21st May 2017, 7:44 PM
Chandra Wibowo
Chandra Wibowo - avatar
+ 4
am I the only one that writes variable a, variable b? *-*
22nd May 2017, 4:13 PM
Chandra Wibowo
Chandra Wibowo - avatar
+ 2
naming them is all part of the fun though!
24th May 2017, 2:35 AM
Maren Barton
Maren Barton - avatar
+ 1
yeah
22nd May 2017, 4:44 AM
ritwick RANA
ritwick RANA - avatar
0
🙊🙊
23rd May 2017, 8:39 PM
Ndumiso Mayeza
Ndumiso Mayeza - avatar