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
-
pepo9005128yMines are normally a, b and c, but when I'm exited to test something I just name them udcahakaanvs, jsbsvaisbsb and udbavaidbdb
-
Omnia89908ya, asd, qwe, and sometimes, when im in the mood, names of historical characters, like PioIX, Carlomagno, Columbus..
-
In PHP, I also use __FILE__.":".__LINE__ a lot as a debug string. Easy copy/paste-able across your code and informative as well...
-
the names change with the level of frustration.
test
crap
bullcrap
damn_thing
tfisthis
plskillme
my_varnamesAretooLong
(^yes, that's a thing)
and then they happen to slip through to production. -
I name them, what they actuay should do, or is being/already happend to the vars.
So:
movingPointer, locationWithReplace, message_noFile;
But if I'm lazy, and these are only super small methos, I use like String str, Location loc; if I will have like Strings, I sometimes also do something like str1, str2, and so on :D -
Yoda, yoda2, yoda3 when I'm feeling good and hulk, hulk2, hulk3 when I'm feeling angry
Related Rants
Whats your test/experimenting variable name?
Unlike foo,bar,baz..
Mine is banana/baba/apple 😂
undefined
variable name
random
variable
test
short