subreddit
stringclasses
7 values
author
stringlengths
3
20
id
stringlengths
5
7
content
stringlengths
67
30.4k
score
int64
0
140k
programminghorror
taptrappapalapa
i15rprj
<|sols|><|sot|>3 days of troubleshooting. Only for this to be the problem<|eot|><|sol|>https://v.redd.it/rdysdl6bg5o81<|eol|><|sor|>Thats why I convert my regex to deterministic finite automata<|eor|><|eols|><|endoftext|>
165
programminghorror
Walking_udder
i15l441
<|sols|><|sot|>3 days of troubleshooting. Only for this to be the problem<|eot|><|sol|>https://v.redd.it/rdysdl6bg5o81<|eol|><|sor|>Relatable<|eor|><|eols|><|endoftext|>
135
programminghorror
RH_Demiurge
i15n2ly
<|sols|><|sot|>3 days of troubleshooting. Only for this to be the problem<|eot|><|sol|>https://v.redd.it/rdysdl6bg5o81<|eol|><|sor|>There are a million online tools to verify regular expressions.<|eor|><|eols|><|endoftext|>
109
programminghorror
Haligaliman
i15ogfl
<|sols|><|sot|>3 days of troubleshooting. Only for this to be the problem<|eot|><|sol|>https://v.redd.it/rdysdl6bg5o81<|eol|><|sor|>There are a million online tools to verify regular expressions.<|eor|><|soopr|>How about you verify some bitches? Respectfully<|eoopr|><|sor|>Can confirm that they all return void on singl...
93
programminghorror
n0tKamui
i15v9z7
<|sols|><|sot|>3 days of troubleshooting. Only for this to be the problem<|eot|><|sol|>https://v.redd.it/rdysdl6bg5o81<|eol|><|sor|>There are a million online tools to verify regular expressions.<|eor|><|sor|>the problem is not finding the correct regex, but finding that the regex was the problem in the first place...<...
90
programminghorror
k1ng__nothing
i1695h7
<|sols|><|sot|>3 days of troubleshooting. Only for this to be the problem<|eot|><|sol|>https://v.redd.it/rdysdl6bg5o81<|eol|><|sor|>I one spent 10 days trying to debug an issue, to find out the developer before me was indexing a variable that wasnt an array. Causing it to return undefined. The screaming fit I wanted to...
83
programminghorror
sebnukem
i15wuso
<|sols|><|sot|>3 days of troubleshooting. Only for this to be the problem<|eot|><|sol|>https://v.redd.it/rdysdl6bg5o81<|eol|><|sor|>regex => unit test<|eor|><|eols|><|endoftext|>
78
programminghorror
Hanz_Mantis
i16p5v9
<|sols|><|sot|>3 days of troubleshooting. Only for this to be the problem<|eot|><|sol|>https://v.redd.it/rdysdl6bg5o81<|eol|><|sor|>Thats why I convert my regex to deterministic finite automata<|eor|><|sor|>[removed]<|eor|><|sor|>I did this for a class back in college. You can convert a regular expression to an NFA, co...
76
programminghorror
Lich_Hegemon
i16p0ku
<|sols|><|sot|>3 days of troubleshooting. Only for this to be the problem<|eot|><|sol|>https://v.redd.it/rdysdl6bg5o81<|eol|><|sor|>The plural of regex is regrets<|eor|><|sor|>I had a problem, and I chose regex to solve it, than I had two problems.<|eor|><|sor|>Honestly I've been considering getting into and understand...
57
programminghorror
jlnunez89
i15yqf9
<|sols|><|sot|>3 days of troubleshooting. Only for this to be the problem<|eot|><|sol|>https://v.redd.it/rdysdl6bg5o81<|eol|><|sor|>I one spent 10 days trying to debug an issue, to find out the developer before me was indexing a variable that wasnt an array. Causing it to return undefined. The screaming fit I wanted to...
48
programminghorror
563_baked_potatoes
i16hzl9
<|sols|><|sot|>3 days of troubleshooting. Only for this to be the problem<|eot|><|sol|>https://v.redd.it/rdysdl6bg5o81<|eol|><|sor|>I one spent 10 days trying to debug an issue, to find out the developer before me was indexing a variable that wasnt an array. Causing it to return undefined. The screaming fit I wanted to...
47
programminghorror
HmMm_memes
i15qwyh
<|sols|><|sot|>3 days of troubleshooting. Only for this to be the problem<|eot|><|sol|>https://v.redd.it/rdysdl6bg5o81<|eol|><|sor|>This is why i look up my regex problems on stack overflow<|eor|><|eols|><|endoftext|>
42
programminghorror
FearsomeShitter
i16a6nc
<|sols|><|sot|>3 days of troubleshooting. Only for this to be the problem<|eot|><|sol|>https://v.redd.it/rdysdl6bg5o81<|eol|><|sor|>The plural of regex is regrets<|eor|><|sor|>I had a problem, and I chose regex to solve it, than I had two problems.<|eor|><|sor|>I had two more than I started with. Vs. I had two, ate one...
42
programminghorror
m477m
i178qwk
<|sols|><|sot|>3 days of troubleshooting. Only for this to be the problem<|eot|><|sol|>https://v.redd.it/rdysdl6bg5o81<|eol|><|sor|>Thats why I convert my regex to deterministic finite automata<|eor|><|sor|>Except sometimes you need regex stronger than a finite deterministic automaton. Verification of email addresses ...
40
programminghorror
jlnunez89
i15z7d8
<|sols|><|sot|>3 days of troubleshooting. Only for this to be the problem<|eot|><|sol|>https://v.redd.it/rdysdl6bg5o81<|eol|><|sor|>There are a million online tools to verify regular expressions.<|eor|><|sor|>the problem is not finding the correct regex, but finding that the regex was the problem in the first place...<...
38
programminghorror
FreeProGamer
lcm3et
<|sols|><|sot|>Yes, I hate my coding teacher<|eot|><|sol|>https://i.redd.it/4g5w4ck0igf61.jpg<|eol|><|eols|><|endoftext|>
3,776
programminghorror
hverma12tfs
gm0s1yh
<|sols|><|sot|>Yes, I hate my coding teacher<|eot|><|sol|>https://i.redd.it/4g5w4ck0igf61.jpg<|eol|><|sor|>You should see my teacher's code,you will commit sudoku<|eor|><|eols|><|endoftext|>
447
programminghorror
Grenadeapple_
gm16kzo
<|sols|><|sot|>Yes, I hate my coding teacher<|eot|><|sol|>https://i.redd.it/4g5w4ck0igf61.jpg<|eol|><|sor|>You should see my teacher's code,you will commit sudoku<|eor|><|sor|>git add * git commit -m sudoku git push<|eor|><|eols|><|endoftext|>
254
programminghorror
ZylonBane
gm0vf07
<|sols|><|sot|>Yes, I hate my coding teacher<|eot|><|sol|>https://i.redd.it/4g5w4ck0igf61.jpg<|eol|><|sor|>Just when I thought I had achieved peak hatred from looking at this font, I noticed the design of the parentheses. Just WHY? Even in handwriting nobody writes parens that way.<|eor|><|eols|><|endoftext|>
158
programminghorror
phakksi
gm0sdfu
<|sols|><|sot|>Yes, I hate my coding teacher<|eot|><|sol|>https://i.redd.it/4g5w4ck0igf61.jpg<|eol|><|sor|>Seems fake, someone just copy pasted on WORD and changed fonts. Edit: I cant type.<|eor|><|eols|><|endoftext|>
154
programminghorror
brunob45
gm0w2gk
<|sols|><|sot|>Yes, I hate my coding teacher<|eot|><|sol|>https://i.redd.it/4g5w4ck0igf61.jpg<|eol|><|sor|>Seems fake, someone just copy pasted on WORD and changed fonts. Edit: I cant type.<|eor|><|sor|>When I was at school, my teacher asked us to submit our code by printing it.. MS Word seems a good tool to do so<|eor...
119
programminghorror
ReelAwesome
gm0t68s
<|sols|><|sot|>Yes, I hate my coding teacher<|eot|><|sol|>https://i.redd.it/4g5w4ck0igf61.jpg<|eol|><|sor|>At least it's not Comic Sans.<|eor|><|sor|>It might actually be better if it was, tbh. At least it would be semi readable.<|eor|><|eols|><|endoftext|>
109
programminghorror
ReveredOxygen
gm12dty
<|sols|><|sot|>Yes, I hate my coding teacher<|eot|><|sol|>https://i.redd.it/4g5w4ck0igf61.jpg<|eol|><|sor|>I never understand professors who ask for code in documents, the formatting always looks odd, and it always just looks off IMO even if you go through and change the formatting. If a professor ever asks for code c...
73
programminghorror
belentepecem
gm0wt6s
<|sols|><|sot|>Yes, I hate my coding teacher<|eot|><|sol|>https://i.redd.it/4g5w4ck0igf61.jpg<|eol|><|sor|>Seems fake, someone just copy pasted on WORD and changed fonts. Edit: I cant type.<|eor|><|sor|>When I was at school, my teacher asked us to submit our code by printing it.. MS Word seems a good tool to do so<|eor...
68
programminghorror
ZylonBane
gm0v63f
<|sols|><|sot|>Yes, I hate my coding teacher<|eot|><|sol|>https://i.redd.it/4g5w4ck0igf61.jpg<|eol|><|sor|>You should see my teacher's code,you will commit sudoku<|eor|><|sor|>>commit sudoku frynotsureifserious.mng<|eor|><|eols|><|endoftext|>
51
programminghorror
private_birb
gm0umlv
<|sols|><|sot|>Yes, I hate my coding teacher<|eot|><|sol|>https://i.redd.it/4g5w4ck0igf61.jpg<|eol|><|sor|>At least it's not Comic Sans.<|eor|><|sor|>It might actually be better if it was, tbh. At least it would be semi readable.<|eor|><|sor|>Comic Sans is actually really readable, isn't it? Like, it's good for dylsxec...
50
programminghorror
ScheduledMold58
gm0xpjz
<|sols|><|sot|>Yes, I hate my coding teacher<|eot|><|sol|>https://i.redd.it/4g5w4ck0igf61.jpg<|eol|><|sor|>At least it's not Comic Sans.<|eor|><|sor|>It might actually be better if it was, tbh. At least it would be semi readable.<|eor|><|sor|>Comic Sans is actually really readable, isn't it? Like, it's good for dylsxec...
40
programminghorror
Rbelugaking
gm1vgb6
<|sols|><|sot|>Yes, I hate my coding teacher<|eot|><|sol|>https://i.redd.it/4g5w4ck0igf61.jpg<|eol|><|sor|>You should see my teacher's code,you will commit sudoku<|eor|><|sor|>git add * git commit -m sudoku git push<|eor|><|sor|>Git pull<|eor|><|eols|><|endoftext|>
34
programminghorror
lividtortilla
gm0ru8m
<|sols|><|sot|>Yes, I hate my coding teacher<|eot|><|sol|>https://i.redd.it/4g5w4ck0igf61.jpg<|eol|><|sor|>At least it's not Comic Sans.<|eor|><|eols|><|endoftext|>
30
programminghorror
TGotAReddit
gm1gcu8
<|sols|><|sot|>Yes, I hate my coding teacher<|eot|><|sol|>https://i.redd.it/4g5w4ck0igf61.jpg<|eol|><|sor|>Seems fake, someone just copy pasted on WORD and changed fonts. Edit: I cant type.<|eor|><|sor|>When I was at school, my teacher asked us to submit our code by printing it.. MS Word seems a good tool to do so<|eor...
29
programminghorror
JackAuduin
gm182wb
<|sols|><|sot|>Yes, I hate my coding teacher<|eot|><|sol|>https://i.redd.it/4g5w4ck0igf61.jpg<|eol|><|sor|>You should see my teacher's code,you will commit sudoku<|eor|><|sor|>>commit sudoku frynotsureifserious.mng<|eor|><|sor|>I survived by posting the code here Hoping to get upvotes on that<|eor|><|sor|>Uh, you migh...
25
programminghorror
LMskouta
gm2ty2u
<|sols|><|sot|>Yes, I hate my coding teacher<|eot|><|sol|>https://i.redd.it/4g5w4ck0igf61.jpg<|eol|><|sor|>You should see my teacher's code,you will commit sudoku<|eor|><|sor|>git add * git commit -m sudoku git push<|eor|><|sor|>git push -Force<|eor|><|eols|><|endoftext|>
23
programminghorror
Martan7122000
gm1wsqi
<|sols|><|sot|>Yes, I hate my coding teacher<|eot|><|sol|>https://i.redd.it/4g5w4ck0igf61.jpg<|eol|><|sor|>I never understand professors who ask for code in documents, the formatting always looks odd, and it always just looks off IMO even if you go through and change the formatting. If a professor ever asks for code c...
21
programminghorror
Martan7122000
gm20gcn
<|sols|><|sot|>Yes, I hate my coding teacher<|eot|><|sol|>https://i.redd.it/4g5w4ck0igf61.jpg<|eol|><|sor|>I never understand professors who ask for code in documents, the formatting always looks odd, and it always just looks off IMO even if you go through and change the formatting. If a professor ever asks for code c...
21
programminghorror
the_goodest_doggo
rvsh7h
<|sols|><|sot|>Found this today. In my own code. The only end reached here is that of my career as a programmer<|eot|><|sol|>https://i.imgur.com/Ic03i3m.jpg<|eol|><|eols|><|endoftext|>
3,766
programminghorror
nekokattt
hr7auu8
<|sols|><|sot|>Found this today. In my own code. The only end reached here is that of my career as a programmer<|eot|><|sol|>https://i.imgur.com/Ic03i3m.jpg<|eol|><|sor|>Tbh a really simple lint should be able to pick this up, unless it is a dynamic language that allows truthy expressions in conditions.<|eor|><|eols|><...
269
programminghorror
mohragk
hr7h8zz
<|sols|><|sot|>Found this today. In my own code. The only end reached here is that of my career as a programmer<|eot|><|sol|>https://i.imgur.com/Ic03i3m.jpg<|eol|><|sor|> endReached = endReached == true ? true : false;<|eor|><|eols|><|endoftext|>
192
programminghorror
the_goodest_doggo
hr7biiy
<|sols|><|sot|>Found this today. In my own code. The only end reached here is that of my career as a programmer<|eot|><|sol|>https://i.imgur.com/Ic03i3m.jpg<|eol|><|sor|>Tbh a really simple lint should be able to pick this up, unless it is a dynamic language that allows truthy expressions in conditions.<|eor|><|soopr|>...
121
programminghorror
Kyyken
hr7bw02
<|sols|><|sot|>Found this today. In my own code. The only end reached here is that of my career as a programmer<|eot|><|sol|>https://i.imgur.com/Ic03i3m.jpg<|eol|><|sor|>me increasing code coverage<|eor|><|eols|><|endoftext|>
111
programminghorror
indyK1ng
hr7erg0
<|sols|><|sot|>Found this today. In my own code. The only end reached here is that of my career as a programmer<|eot|><|sol|>https://i.imgur.com/Ic03i3m.jpg<|eol|><|sor|>That feels like the sort of thing that happens while working on removing a feature that gets missed when doing some cleanup.<|eor|><|eols|><|endoftext...
81
programminghorror
timleg002
hr7r3z0
<|sols|><|sot|>Found this today. In my own code. The only end reached here is that of my career as a programmer<|eot|><|sol|>https://i.imgur.com/Ic03i3m.jpg<|eol|><|sor|> endReached = endReached == true ? true : false;<|eor|><|sor|> if endReached = endReached == true ? true : false { endReached = true; }<...
73
programminghorror
iamghostling
hr7qukd
<|sols|><|sot|>Found this today. In my own code. The only end reached here is that of my career as a programmer<|eot|><|sol|>https://i.imgur.com/Ic03i3m.jpg<|eol|><|sor|>Tbh a really simple lint should be able to pick this up, unless it is a dynamic language that allows truthy expressions in conditions.<|eor|><|soopr|>...
67
programminghorror
Cikappa2904
hr7g3xr
<|sols|><|sot|>Found this today. In my own code. The only end reached here is that of my career as a programmer<|eot|><|sol|>https://i.imgur.com/Ic03i3m.jpg<|eol|><|sor|>when you wanna make sure it's REALLY true<|eor|><|eols|><|endoftext|>
60
programminghorror
the_goodest_doggo
hr7r4k6
<|sols|><|sot|>Found this today. In my own code. The only end reached here is that of my career as a programmer<|eot|><|sol|>https://i.imgur.com/Ic03i3m.jpg<|eol|><|sor|>Tbh a really simple lint should be able to pick this up, unless it is a dynamic language that allows truthy expressions in conditions.<|eor|><|soopr|>...
58
programminghorror
6b86b3ac03c167320d93
hr8oskq
<|sols|><|sot|>Found this today. In my own code. The only end reached here is that of my career as a programmer<|eot|><|sol|>https://i.imgur.com/Ic03i3m.jpg<|eol|><|sor|>Tbh a really simple lint should be able to pick this up, unless it is a dynamic language that allows truthy expressions in conditions.<|eor|><|soopr|>...
41
programminghorror
SilverTroop
hr9psub
<|sols|><|sot|>Found this today. In my own code. The only end reached here is that of my career as a programmer<|eot|><|sol|>https://i.imgur.com/Ic03i3m.jpg<|eol|><|sor|>Tbh a really simple lint should be able to pick this up, unless it is a dynamic language that allows truthy expressions in conditions.<|eor|><|soopr|>...
39
programminghorror
the_goodest_doggo
hr7f6br
<|sols|><|sot|>Found this today. In my own code. The only end reached here is that of my career as a programmer<|eot|><|sol|>https://i.imgur.com/Ic03i3m.jpg<|eol|><|sor|>That feels like the sort of thing that happens while working on removing a feature that gets missed when doing some cleanup.<|eor|><|soopr|>Sadly I di...
33
programminghorror
6b86b3ac03c167320d93
hr8p571
<|sols|><|sot|>Found this today. In my own code. The only end reached here is that of my career as a programmer<|eot|><|sol|>https://i.imgur.com/Ic03i3m.jpg<|eol|><|sor|> endReached = endReached == true ? true : false;<|eor|><|sor|> if endReached = endReached == true ? true : false { endReached = true; }<...
27
programminghorror
the_goodest_doggo
hr8u0ik
<|sols|><|sot|>Found this today. In my own code. The only end reached here is that of my career as a programmer<|eot|><|sol|>https://i.imgur.com/Ic03i3m.jpg<|eol|><|sor|>Tbh a really simple lint should be able to pick this up, unless it is a dynamic language that allows truthy expressions in conditions.<|eor|><|soopr|>...
27
programminghorror
Movpasd
hr7kqts
<|sols|><|sot|>Found this today. In my own code. The only end reached here is that of my career as a programmer<|eot|><|sol|>https://i.imgur.com/Ic03i3m.jpg<|eol|><|sor|> endReached = endReached == true ? true : false;<|eor|><|sor|>ternaries <|eor|><|eols|><|endoftext|>
26
programminghorror
iamghostling
hr7r1ns
<|sols|><|sot|>Found this today. In my own code. The only end reached here is that of my career as a programmer<|eot|><|sol|>https://i.imgur.com/Ic03i3m.jpg<|eol|><|sor|> endReached = endReached == true ? true : false;<|eor|><|sor|>all those people here pretending like they know anything about coding smh. The best s...
26
programminghorror
the_goodest_doggo
hrahnkm
<|sols|><|sot|>Found this today. In my own code. The only end reached here is that of my career as a programmer<|eot|><|sol|>https://i.imgur.com/Ic03i3m.jpg<|eol|><|sor|>Tbh a really simple lint should be able to pick this up, unless it is a dynamic language that allows truthy expressions in conditions.<|eor|><|soopr|>...
26
programminghorror
timleg002
hr8q3di
<|sols|><|sot|>Found this today. In my own code. The only end reached here is that of my career as a programmer<|eot|><|sol|>https://i.imgur.com/Ic03i3m.jpg<|eol|><|sor|> endReached = endReached == true ? true : false;<|eor|><|sor|> if endReached = endReached == true ? true : false { endReached = true; }<...
25
programminghorror
jidma81
j4zbzv
<|sols|><|sot|>opportunity comes only once.. lets put it in a for loop<|eot|><|sol|>https://i.redd.it/7zltqbli33r51.jpg<|eol|><|eols|><|endoftext|>
3,655
programminghorror
StarPowerX
g7os57r
<|sols|><|sot|>opportunity comes only once.. lets put it in a for loop<|eot|><|sol|>https://i.redd.it/7zltqbli33r51.jpg<|eol|><|sor|>That won't compile.<|eor|><|sor|>Compile? Dude I'd be fucked if your computer doesn't hang itself out of shame.<|eor|><|eols|><|endoftext|>
820
programminghorror
BetoLopez1986
g7orxov
<|sols|><|sot|>opportunity comes only once.. lets put it in a for loop<|eot|><|sol|>https://i.redd.it/7zltqbli33r51.jpg<|eol|><|sor|>That won't compile.<|eor|><|eols|><|endoftext|>
775
programminghorror
Cameltotem
g7opt62
<|sols|><|sot|>opportunity comes only once.. lets put it in a for loop<|eot|><|sol|>https://i.redd.it/7zltqbli33r51.jpg<|eol|><|sor|>This is literally the worst<|eor|><|eols|><|endoftext|>
380
programminghorror
richarmeleon
g7ovi8x
<|sols|><|sot|>opportunity comes only once.. lets put it in a for loop<|eot|><|sol|>https://i.redd.it/7zltqbli33r51.jpg<|eol|><|sor|>That won't compile.<|eor|><|sor|>That's quitter talk. All you need are some awful C preprocessor defines.<|eor|><|eols|><|endoftext|>
283
programminghorror
jtrynisk
g7ot3l8
<|sols|><|sot|>opportunity comes only once.. lets put it in a for loop<|eot|><|sol|>https://i.redd.it/7zltqbli33r51.jpg<|eol|><|sor|>The back is just red from compiler errors.<|eor|><|eols|><|endoftext|>
188
programminghorror
Naraksama
g7osdhw
<|sols|><|sot|>opportunity comes only once.. lets put it in a for loop<|eot|><|sol|>https://i.redd.it/7zltqbli33r51.jpg<|eol|><|sor|> This hurts a lot. And the text is disgusting too.<|eor|><|eols|><|endoftext|>
92
programminghorror
TheBlacktom
g7sjsew
<|sols|><|sot|>opportunity comes only once.. lets put it in a for loop<|eot|><|sol|>https://i.redd.it/7zltqbli33r51.jpg<|eol|><|sor|>This is literally the worst<|eor|><|sor|> I: really{ don't understand; why{ aren't we talking; }like (this in the comments.); }<|eor|><|eols...
83
programminghorror
rashedmmm
g7owidn
<|sols|><|sot|>opportunity comes only once.. lets put it in a for loop<|eot|><|sol|>https://i.redd.it/7zltqbli33r51.jpg<|eol|><|sor|>r/cringe<|eor|><|eols|><|endoftext|>
76
programminghorror
Isvara
g7oz03n
<|sols|><|sot|>opportunity comes only once.. lets put it in a for loop<|eot|><|sol|>https://i.redd.it/7zltqbli33r51.jpg<|eol|><|sor|>Mom's spaghetti code.<|eor|><|eols|><|endoftext|>
74
programminghorror
reyad_mm
g7p5l3k
<|sols|><|sot|>opportunity comes only once.. lets put it in a for loop<|eot|><|sol|>https://i.redd.it/7zltqbli33r51.jpg<|eol|><|sor|>That won't compile.<|eor|><|sor|>That's quitter talk. All you need are some awful C preprocessor defines.<|eor|><|sor|>They need to be really, *really* awful You see the '(you fail)' in ...
53
programminghorror
TimGreller
g7p3r3h
<|sols|><|sot|>opportunity comes only once.. lets put it in a for loop<|eot|><|sol|>https://i.redd.it/7zltqbli33r51.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>The beginning yes, but it really is getting worse the further you read<|eor|><|eols|><|endoftext|>
43
programminghorror
huntforacause
g7pden1
<|sols|><|sot|>opportunity comes only once.. lets put it in a for loop<|eot|><|sol|>https://i.redd.it/7zltqbli33r51.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>It stops making sense by the catch block. Also it has a religious, likely Christian message snuck in at the end. Whom is randomly capitalized, which is a Christian ...
41
programminghorror
BAG0N
g7rpdj8
<|sols|><|sot|>opportunity comes only once.. lets put it in a for loop<|eot|><|sol|>https://i.redd.it/7zltqbli33r51.jpg<|eol|><|sor|>That won't compile.<|eor|><|sor|>Compile? Dude I'd be fucked if your computer doesn't hang itself out of shame.<|eor|><|sor|>LMFAO I'll save your comment and give you an award when I get...
41
programminghorror
vancity-
g7owkhb
<|sols|><|sot|>opportunity comes only once.. lets put it in a for loop<|eot|><|sol|>https://i.redd.it/7zltqbli33r51.jpg<|eol|><|sor|>That won't compile.<|eor|><|sor|>That's quitter talk. All you need are some awful C preprocessor defines.<|eor|><|sor|>Now redo it in Rust<|eor|><|eols|><|endoftext|>
39
programminghorror
sample-name
g7s1hg3
<|sols|><|sot|>opportunity comes only once.. lets put it in a for loop<|eot|><|sol|>https://i.redd.it/7zltqbli33r51.jpg<|eol|><|sor|>This is literally the worst<|eor|><|sor|>Why are always these t-shirts/pillows/coffee mugs/Facebook adds etc using so shitty uncompilable code? I mean it would take any software developer...
36
programminghorror
yeti_seer
g7qefu5
<|sols|><|sot|>opportunity comes only once.. lets put it in a for loop<|eot|><|sol|>https://i.redd.it/7zltqbli33r51.jpg<|eol|><|sor|>The back is just red from compiler errors.<|eor|><|sor|>Would actually be a great product if this were the case.<|eor|><|eols|><|endoftext|>
32
programminghorror
bearly_breathing
g7out6f
<|sols|><|sot|>opportunity comes only once.. lets put it in a for loop<|eot|><|sol|>https://i.redd.it/7zltqbli33r51.jpg<|eol|><|sor|>cute. also i hate it.<|eor|><|eols|><|endoftext|>
30
programminghorror
-Rapier
g7ov4j7
<|sols|><|sot|>opportunity comes only once.. lets put it in a for loop<|eot|><|sol|>https://i.redd.it/7zltqbli33r51.jpg<|eol|><|sor|>It's a for loop, but since you're guaranteed to fail, it'll catch and end the attempt right there. [Reminded me of this, too.](https://www.youtube.com/watch?v=ESx_hy1n7HA)<|eor|><|eols|>...
28
programminghorror
MichelanJell-O
g7pr1he
<|sols|><|sot|>opportunity comes only once.. lets put it in a for loop<|eot|><|sol|>https://i.redd.it/7zltqbli33r51.jpg<|eol|><|sor|>Mom's spaghetti code.<|eor|><|sor|>If I saw this IRL, there'd be vomit on the pillow already.<|eor|><|eols|><|endoftext|>
27
programminghorror
KapitanKaczor
wrn4x4
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|eols|><|endoftext|>
3,659
programminghorror
NostalgiaNinja
iktnzwv
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|sor|>I thought it was python for a moment then I saw the bracing and semicolons at the end of the line... Oh... Oh lord no.<|eor|><|eols|><|endoftext|>
577
programminghorror
No-Witness2349
ikt9cm3
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|sor|>For a second I was like, thats some weird looking Python<|eor|><|eols|><|endoftext|>
388
programminghorror
leoxwastaken
iktqd3w
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|sor|>Thats how python is made, they just hide the braces/semicolons<|eor|><|eols|><|endoftext|>
226
programminghorror
fukitol-
ikusw2d
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|sor|>I thought it was python for a moment then I saw the bracing and semicolons at the end of the line... Oh... Oh lord no.<|eor|><|sor|>Jython<|eor|><|eols|><|endoftext|>
205
programminghorror
Fleagster_69420
iktmzuy
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|sor|>in my first semester of comp sci, my professor did this and when I would correct the code for my hw they would take points off....<|eor|><|eols|><|endoftext|>
128
programminghorror
shiverypeaks
iktw1xd
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|sor|>Is there a formatter for this<|eor|><|sor|> format c: /fs:NTFS<|eor|><|eols|><|endoftext|>
98
programminghorror
cereal-number
iktsv0n
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|sor|>in my first semester of comp sci, my professor did this and when I would correct the code for my hw they would take points off....<|eor|><|sor|>Hope you learned your lesson<|eor|><|eols|><|endoftext|>
95
programminghorror
Dutch-Spaniard
ikuctww
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|sor|>For a second I was like, thats some weird looking Python<|eor|><|sor|>What the python doin?<|eor|><|eols|><|endoftext|>
88
programminghorror
No-Witness2349
ikty1uy
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|sor|>Thats how python is made, they just hide the braces/semicolons<|eor|><|sor|>You mean JavaScript Edit: it was a joke because JavaScript has the compile step that adds implied semicolons back in. Guess that wasnt clear so Ill ta...
74
programminghorror
whizzzkid
ikw2ajn
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|sor|>I thought it was python for a moment then I saw the bracing and semicolons at the end of the line... Oh... Oh lord no.<|eor|><|sor|>Jython<|eor|><|sor|>Why do languages that start with J always have to be the crazy ones?<|eor|...
57
programminghorror
ToniMarino
iktp0xq
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|sor|>I took a moment to notice, was like Whats the problem?? OH!<|eor|><|eols|><|endoftext|>
47
programminghorror
poemsavvy
iktt5oh
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|sor|>How do you feel about the typical Haskell bracing? functionList = [ item1 , item2 , Item2 ]<|eor|><|eols|><|endoftext|>
44
programminghorror
redpepper74
ikwfiqf
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|sor|>I thought it was python for a moment then I saw the bracing and semicolons at the end of the line... Oh... Oh lord no.<|eor|><|sor|>Jython<|eor|><|sor|>Why do languages that start with J always have to be the crazy ones?<|eor|...
38
programminghorror
firebullmonkey
ikuasui
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|sor|>Ah yes, Py++<|eor|><|eols|><|endoftext|>
33
programminghorror
Ghrafkly
ikwdl3w
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|sor|>in my first semester of comp sci, my professor did this and when I would correct the code for my hw they would take points off....<|eor|><|sor|>Thats the worst. Had a uni subject like that using non-industry standard formatting,...
32
programminghorror
No-Witness2349
iktym5o
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|sor|>How do you feel about the typical Haskell bracing? functionList = [ item1 , item2 , Item2 ]<|eor|><|sor|>If youre gonna do that I like it better with the equal sign at the end of the...
32
programminghorror
TecDeveloper
ikv1atu
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|sor|>I thought it was python for a moment then I saw the bracing and semicolons at the end of the line... Oh... Oh lord no.<|eor|><|sor|>I thought they somehow modified Java to work like Python style, oh my fucking god<|eor|><|eols...
31
programminghorror
thatchedfloor
ikttjol
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|sor|>Is there a formatter for this<|eor|><|eols|><|endoftext|>
30
programminghorror
fii0
ikwpl9b
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|sor|>I thought it was python for a moment then I saw the bracing and semicolons at the end of the line... Oh... Oh lord no.<|eor|><|sor|>Jython<|eor|><|sor|>Why do languages that start with J always have to be the crazy ones?<|eor|...
29
programminghorror
RadioactiveFruitCup
iktm4lh
<|sols|><|sot|>this is unholy<|eot|><|sol|>https://i.redd.it/tngzzss0vhi91.jpg<|eol|><|sor|>Nani the *actual fuck*<|eor|><|eols|><|endoftext|>
25
programminghorror
TheStrangeDarkOne
lxgulh
<|sols|><|sot|>... but why?<|eot|><|sol|>https://i.redd.it/q2h4sjhndzk61.png<|eol|><|eols|><|endoftext|>
3,619
programminghorror
RobarthCZE
gpmz1fa
<|sols|><|sot|>... but why?<|eot|><|sol|>https://i.redd.it/q2h4sjhndzk61.png<|eol|><|sor|>F the caller. No specific exception for them.<|eor|><|eols|><|endoftext|>
303
programminghorror
Egst
gpmzhai
<|sols|><|sot|>... but why?<|eot|><|sol|>https://i.redd.it/q2h4sjhndzk61.png<|eol|><|sor|>Maybe there is supposed to be some cleanup code before the re-throw? I sometimes do this: ``` try { something(); } catch (Exception e) { cleanup(); throw e; } ``` If failed `something()` requires some `cleanup()` but...
206
programminghorror
TheOneTrueTrench
gpn00o8
<|sols|><|sot|>... but why?<|eot|><|sol|>https://i.redd.it/q2h4sjhndzk61.png<|eol|><|sor|>Maybe there is supposed to be some cleanup code before the re-throw? I sometimes do this: ``` try { something(); } catch (Exception e) { cleanup(); throw e; } ``` If failed `something()` requires some `cleanup()` but...
200
programminghorror
avwie
gpmzbuy
<|sols|><|sot|>... but why?<|eot|><|sol|>https://i.redd.it/q2h4sjhndzk61.png<|eol|><|sor|>Probably left from some debugging session where they wanted to have a breakpoint trigger on an Exception or something and put it at the \`throw new Exception\` line.<|eor|><|eols|><|endoftext|>
90
programminghorror
TheFeedingEight
gporu6y
<|sols|><|sot|>... but why?<|eot|><|sol|>https://i.redd.it/q2h4sjhndzk61.png<|eol|><|sor|>F the caller. No specific exception for them.<|eor|><|sor|>I'd prolly only print a stack trace tbh lol<|eor|><|sor|>Yea but this pattern of catching an exception and passing it on to the caller is rather common. The idea is that t...
66