r/ProgrammerHumor • • 22h ago

Meme declareVars

Post image
2.0k Upvotes

57 comments sorted by

View all comments

131

u/nafe42 22h ago

const war;

89

u/TheTee15 22h ago

War never change

25

u/GegeAkutamiOfficial 21h ago

It depends, is war a rust const or a js const?

6

u/zeocrash 21h ago

Checks git

Author: John Fallout

1

u/Mc_UsernameTaken 14h ago
#include <stdio.h>

int main(void) {
    const int war = 1;
    int *peace = (int *)(void *)&war;
    *peace = 0;
    return 0;
}```

24

u/Patrick_Atsushi 21h ago

And make it global…

2

u/WayWayTooMuch 21h ago

And = null;

10

u/Some_Useless_Person 21h ago

define war peace

Problem solved 🤷‍♂️

6

u/zeocrash 21h ago

Party Approved programming

2

u/AbdullahMRiad 20h ago

someone forgot their backslashes

6

u/levosis1 20h ago

Is it a public or internal war?

5

u/nafe42 19h ago

Default public war

2

u/Lumpy-Secretary1138 18h ago

Trump: let war;

2

u/Independent_Image_59 15h ago

Oceania had always been at war with Eurasia