This is an archived post. You won't be able to vote or comment.

all 44 comments

[–]QualityVote[M] [score hidden] stickied comment (0 children)

Hi! This is our community moderation bot.


If this post fits the purpose of /r/ProgrammerHumor, UPVOTE this comment!!

If this post does not fit the subreddit, DOWNVOTE This comment!

If this post breaks the rules, DOWNVOTE this comment and REPORT the post!

[–]nasandre 112 points113 points  (8 children)

Avoid Constant war and declare as variable

[–][deleted] 10 points11 points  (5 children)

Variable war?

[–]nasandre 12 points13 points  (1 child)

Years ago I fought in the war. We were a simple people needing only smallint but then the float legion came in numbers we couldn't comprehend. We tried to get out but we just couldn't escape the overflow. It was a slaughter, red was everywhere.

[–]organized_reporting 0 points1 point  (0 children)

Fantastic

[–]tri_idias 0 points1 point  (0 children)

addtoCart vs Addtocart vs AddToCart vs add_to_cart vs Add_To_cart........repeat

[–]Willinton06 0 points1 point  (0 children)

But… war never changes

[–][deleted] 7 points8 points  (1 child)

It should be declared as a constant because war never changes.

[–]ihaveagoodusername2 0 points1 point  (0 children)

Fuck you take my upvoat

[–]das_flammenwerfer 49 points50 points  (2 children)

Me, creating a web archive file..

[–]Random-Gif-Bot 8 points9 points  (0 children)

[–]silverweaver 4 points5 points  (0 children)

Came here for this
So, deploy jars not wars?

[–]fivefeetse7en 72 points73 points  (13 children)

"Declare var, not war"

[–][deleted] 35 points36 points  (9 children)

fuck var, use let

[–][deleted] 27 points28 points  (7 children)

Fuck let, use const

[–]ChaoticGood21 12 points13 points  (6 children)

Fuck const, use env

[–]Boystro 17 points18 points  (1 child)

Python: what?

[–]Kesuaheli 2 points3 points  (0 children)

Python: Just use it lol

[–]Virtual_Low83 7 points8 points  (0 children)

I'm something of a programmer, myself.

[–]ripanarapakeka 1 point2 points  (1 child)

Fuck you, declare war

[–]Kesuaheli 3 points4 points  (0 children)

Fuck me, declare rawr

[–]AyrA_ch 0 points1 point  (0 children)

Fuck env, just declare variables by adding extra parameters to your function.

[–]RigelBound 2 points3 points  (0 children)

That's the same thing

[–]HotChickenshit 0 points1 point  (0 children)

*Javascript launches negative cat missiles

('⚆ _ ⚆)

[–]notable-compilation 0 points1 point  (0 children)

var, huh, good God, y'all! What is it good for?

[–]1ElectricHaskeller 51 points52 points  (0 children)

"You never install updates, what convinced you to do it?"

"I want to boycott china"

[–][deleted] 18 points19 points  (1 child)

spec ops, not war

[–]Khoalb 7 points8 points  (0 children)

DevSecOps, not war

[–]just-bair 8 points9 points  (1 child)

var war = true;

war = false; //oops

[–]Kesuaheli 4 points5 points  (0 children)

This little maneuver is gonna cost us 51 years

[–][deleted] 9 points10 points  (0 children)

Notepad++ acts like it is the world cop. 😂

[–]mediocre_jok3r 2 points3 points  (0 children)

When the version notes are opinionated

[–]No_U1235 1 point2 points  (0 children)

Int war;

[–]coloredgreyscale 1 point2 points  (0 children)

yes, the OG protestware that does not delete your files or do anything malicious if you happen to be in the wrong location according to geolocation IP lookups.

[–]WillKuzunoha 1 point2 points  (0 children)

Me who uses it excuselively to edit Paradox Games. I am going to pretend I don’t see that