318 Comments

 User Avatar

 

 User Avatar
okushi

*bad programmers working in poorly managed development teams finding names for their variables go

1
 User Avatar
pouet0

I know secret ways of fucking up your code over 9 thousands. I worked about 6 years in Delphi and the funny part about it is that it accepts pretty much any UTF16 characters in variable names. So you can use variable names such as chinese sinograms, emoticons and my personal favorite : non-breaking spaces. That’s right bitch, you can write code with invisible variables in Delphi... Way to fuck up a code and make people go crazy trying to understand what’s wrong...

0
 User Avatar
flychad22

Oddly enough naming convention for me is super dependent on context or usage. So easy example is production_quantity for a machine might be the exact same as packing_quantity for another, yet both deserve different names. basically i might rename the exact same variable if it passes to a different class or usage function. Odd but only way I can manage hundreds of variables and that way I have a set structure and if two different variables have the exact same name all i need to do to know which one is which is the context of them.

0
 User Avatar
pouet0

In my company when I started I’ve worked on legacy code in which every variable was called "bogus". Oh yeah, and half of the variable were declared global... Still can’t believe people could write such trash code.

0
 User Avatar
neofunka

I'm a simple reviewer: You make a PR with inconsistent variable names, I reject

0
 User Avatar
urielisko

You and yours perhaps do that.

0
 User Avatar
sarabddn

That's me and yeah all my colleagues hate me

0
 User Avatar
traderaaa

V1v2v3v4v5v6v7

0
 User Avatar
dontuta

Aways name your variables and objects with a word that actually representa what that value mean. Search for "Mnemonic".

0
 User Avatar
errorx

int p1, p2, p3, p4;

0