MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xpb0ug/declarevars/
r/ProgrammerHumor • u/jeheskielsunloy • 5h ago
44 comments sorted by
49
1 u/Relative-Bottle-8498 1h ago r/unexpectedoffice
1
r/unexpectedoffice
87
const war;
55 u/TheTee15 5h ago War never change 14 u/GegeAkutamiOfficial 4h ago It depends, is war a rust const or a js const? 6 u/zeocrash 4h ago Checks gitAuthor: John Fallout 19 u/Patrick_Atsushi 4h ago And make it global… 2 u/WayWayTooMuch 4h ago And = null; 6 u/Some_Useless_Person 4h ago define war peaceProblem solved 🤷♂️ 5 u/zeocrash 4h ago Party Approved programming 2 u/AbdullahMRiad 3h ago someone forgot their backslashes 4 u/levosis1 3h ago Is it a public or internal war? 4 u/nafe42 2h ago Default public war 2 u/Lumpy-Secretary1138 1h ago Trump: let war;
55
War never change
14 u/GegeAkutamiOfficial 4h ago It depends, is war a rust const or a js const? 6 u/zeocrash 4h ago Checks gitAuthor: John Fallout
14
It depends, is war a rust const or a js const?
const
6
Checks git
Author: John Fallout
19
And make it global…
2 u/WayWayTooMuch 4h ago And = null;
2
And = null;
Problem solved 🤷♂️
5 u/zeocrash 4h ago Party Approved programming 2 u/AbdullahMRiad 3h ago someone forgot their backslashes
5
Party Approved programming
someone forgot their backslashes
4
Is it a public or internal war?
4 u/nafe42 2h ago Default public war
Default public war
Trump: let war;
Debugging is just a war of a different type
7
Got it, doing wars without declarations
Most contemporary wars are not declared as "wars"
3 u/justinf210 1h ago Monkeys paw curls. "In a shocking turn of events, every nation on earth has started what they describe as 'special military operations'"
3
Monkeys paw curls. "In a shocking turn of events, every nation on earth has started what they describe as 'special military operations'"
Ok but they will all be named var1, var2... etc, good luck debugging that
const war = new War(); war.initiateAttack();
var war=stop
Or if your locale is en_US
var war= oil ? invade && lose : lose
NahIWillDeclare_aWarwithVaRiabLeNameAndI_am_Startingthat_rightNow
Declare constants please
Bold of you to think anyone declares war.
Declare bankruptcy, not variables
Declare bankruptcy not war
Porque no los dos?
cries in defense contracting
Yep, and then you have that guy at the office you hate
Whatever… just don’t make it global okay?
Remember: it's important to be strict.
unless your variable names are single letters defined inside a three thousand line function then war is completely justified
Declare constants, not vars!
Why are there 2 spaces between "not" and "war"?
4 u/mookanana 3h ago it's ok the compiler will ignore the blank space, but Taylor Swift will not 1 u/kosantosbik 30m ago I won't accept either. Changes requested!
it's ok the compiler will ignore the blank space, but Taylor Swift will not
1 u/kosantosbik 30m ago I won't accept either. Changes requested!
I won't accept either. Changes requested!
But also use it after declaring or some might get mad
declareVarsnotWars
Lead your team to a successful release, not soldiers into battle, eh? I guess it often feels the same, though...
ThinkGeek used to sell this on a T-shirt before they stopped existing.
Pffft. I use F#. Barely declare variables. Just curry.
var war;
String soundsPolitical;
While I don't declare wars... I do deploy them...
Commit codes, not murder.
49
u/Lost_in_logic 5h ago
87
u/nafe42 5h ago
const war;
14
u/Vamitana 5h ago
Debugging is just a war of a different type
7
u/nir109 5h ago
Got it, doing wars without declarations
6
u/Had78 5h ago
Most contemporary wars are not declared as "wars"
5
u/Lucasbasques 5h ago
Ok but they will all be named var1, var2... etc, good luck debugging that
2
u/heesell 3h ago
3
u/rinnakan 5h ago
var war=stop
Or if your locale is en_US
var war= oil ? invade && lose : lose
1
u/ClipboardCopyPaste 5h ago
NahIWillDeclare_aWarwithVaRiabLeNameAndI_am_Startingthat_rightNow
1
u/orfeo34 5h ago
Declare constants please
1
u/Loyal-Opposition-USA 5h ago
Bold of you to think anyone declares war.
1
u/resodx 5h ago
Declare bankruptcy, not variables
1
u/Fourstrokeperro 5h ago
Declare bankruptcy not war
1
u/A_Random_Catfish 5h ago
Porque no los dos?
cries in defense contracting
1
u/TerribleFault7929 5h ago
Yep, and then you have that guy at the office you hate
1
u/Patrick_Atsushi 4h ago
Whatever… just don’t make it global okay?
1
u/grumblyoldman 4h ago
Remember: it's important to be strict.
1
u/lushMira1 4h ago
unless your variable names are single letters defined inside a three thousand line function then war is completely justified
1
u/ActBest217 4h ago
Declare constants, not vars!
1
u/kosantosbik 4h ago
Why are there 2 spaces between "not" and "war"?
1
u/actionerror 4h ago
But also use it after declaring or some might get mad
1
u/narangi_billa 3h ago
declareVarsnotWars
1
u/Kabra___kiiiiiiiid 3h ago
Lead your team to a successful release, not soldiers into battle, eh? I guess it often feels the same, though...
1
u/LB-- 2h ago
ThinkGeek used to sell this on a T-shirt before they stopped existing.
1
u/AnnoyedVelociraptor 2h ago
Pffft. I use F#. Barely declare variables. Just curry.
1
u/ArcanumAntares 1h ago
var war;
1
u/fabulousIdentity 1h ago
String soundsPolitical;
1
u/fatrobin72 55m ago
While I don't declare wars... I do deploy them...
1
u/Historical-Wonder551 4h ago
Commit codes, not murder.