subreddit
stringclasses
7 values
author
stringlengths
3
20
id
stringlengths
5
7
content
stringlengths
67
30.4k
score
int64
0
140k
programminghorror
magicjedi90
jasdyxy
<|sols|><|sot|>Excellent suggestions Pycharm!<|eot|><|sol|>https://i.redd.it/145bx6bojgla1.png<|eol|><|sor|>Sir this belongs in r/ProgrammingHumor cuz that sucka is hilarious<|eor|><|eols|><|endoftext|>
5
programminghorror
spin-user
kucdz2
<|sols|><|sot|>My friend codes like this.<|eot|><|sol|>https://i.redd.it/86v1qopsiha61.png<|eol|><|eols|><|endoftext|>
1,275
programminghorror
MrAlexxIV
gir67zq
<|sols|><|sot|>My friend codes like this.<|eot|><|sol|>https://i.redd.it/86v1qopsiha61.png<|eol|><|sor|>Its all bad, but its so much worse that the { after c2++; isnt in line with the others!!<|eor|><|eols|><|endoftext|>
354
programminghorror
Ranchonyx
gircz0f
<|sols|><|sot|>My friend codes like this.<|eot|><|sol|>https://i.redd.it/86v1qopsiha61.png<|eol|><|sor|>This makes me want to commit sudoku.<|eor|><|eols|><|endoftext|>
127
programminghorror
ViriaX
gir76re
<|sols|><|sot|>My friend codes like this.<|eot|><|sol|>https://i.redd.it/86v1qopsiha61.png<|eol|><|sor|>You should be ashamed of your friends, at least tell them about switch statements or one liners<|eor|><|eols|><|endoftext|>
84
programminghorror
Kebabrulle4869
girqrwm
<|sols|><|sot|>My friend codes like this.<|eot|><|sol|>https://i.redd.it/86v1qopsiha61.png<|eol|><|sor|>This makes me want to commit sudoku.<|eor|><|sor|>Aight, easy, medium, or hard?<|eor|><|sor|>git commit sudoku<|eor|><|eols|><|endoftext|>
75
programminghorror
pokeaim
gir8ait
<|sols|><|sot|>My friend codes like this.<|eot|><|sol|>https://i.redd.it/86v1qopsiha61.png<|eol|><|sor|>so what happen when `a[i]` is `29`?<|eor|><|eols|><|endoftext|>
64
programminghorror
EpicRaginAsian
gir8a9c
<|sols|><|sot|>My friend codes like this.<|eot|><|sol|>https://i.redd.it/86v1qopsiha61.png<|eol|><|sor|>You should be ashamed of your friends, at least tell them about switch statements or one liners<|eor|><|sor|>Don't think you can use a switch here, you have to provide a constant for comparison not a range<|eor|><|eo...
63
programminghorror
e_gadd
gir85zh
<|sols|><|sot|>My friend codes like this.<|eot|><|sol|>https://i.redd.it/86v1qopsiha61.png<|eol|><|sor|>Its all bad, but its so much worse that the { after c2++; isnt in line with the others!!<|eor|><|sor|>That's all I see now<|eor|><|eols|><|endoftext|>
57
programminghorror
EpicRaginAsian
girbbh3
<|sols|><|sot|>My friend codes like this.<|eot|><|sol|>https://i.redd.it/86v1qopsiha61.png<|eol|><|sor|>You should be ashamed of your friends, at least tell them about switch statements or one liners<|eor|><|sor|>Don't think you can use a switch here, you have to provide a constant for comparison not a range<|eor|><|so...
51
programminghorror
spin-user
gir8ftu
<|sols|><|sot|>My friend codes like this.<|eot|><|sol|>https://i.redd.it/86v1qopsiha61.png<|eol|><|sor|>so what happen when `a[i]` is `29`?<|eor|><|soopr|>Yeah its a bug there<|eoopr|><|eols|><|endoftext|>
45
programminghorror
spin-user
gir8tj7
<|sols|><|sot|>My friend codes like this.<|eot|><|sol|>https://i.redd.it/86v1qopsiha61.png<|eol|><|sor|>Its all bad, but its so much worse that the { after c2++; isnt in line with the others!!<|eor|><|soopr|>Yeah thats true, it hurts me so much.<|eoopr|><|eols|><|endoftext|>
32
programminghorror
thedoctor3141
girr25a
<|sols|><|sot|>My friend codes like this.<|eot|><|sol|>https://i.redd.it/86v1qopsiha61.png<|eol|><|sor|>Sorry I'm an idiot. How would you improve this?<|eor|><|sor|>Personally, I would make a const array denoting the ends of each region, which is maintenance friendly. Iterate through like so: for(ci = -1; a[i] < region...
30
programminghorror
Naphthali
gira93e
<|sols|><|sot|>My friend codes like this.<|eot|><|sol|>https://i.redd.it/86v1qopsiha61.png<|eol|><|sor|>so what happen when `a[i]` is `29`?<|eor|><|soopr|>Yeah its a bug there<|eoopr|><|sor|>no, why? maybe its intended to do nothing when a[i] = 29 Iam more confused when he connects 2 statements with && and the first ...
28
programminghorror
pokeaim
girc6iw
<|sols|><|sot|>My friend codes like this.<|eot|><|sol|>https://i.redd.it/86v1qopsiha61.png<|eol|><|sor|>You should be ashamed of your friends, at least tell them about switch statements or one liners<|eor|><|sor|>Don't think you can use a switch here, you have to provide a constant for comparison not a range<|eor|><|so...
25
programminghorror
PutridOpportunity9
girgu06
<|sols|><|sot|>My friend codes like this.<|eot|><|sol|>https://i.redd.it/86v1qopsiha61.png<|eol|><|sor|>You should be ashamed of your friends, at least tell them about switch statements or one liners<|eor|><|sor|>Don't think you can use a switch here, you have to provide a constant for comparison not a range<|eor|><|so...
25
programminghorror
AStrangeStranger
girbrhk
<|sols|><|sot|>My friend codes like this.<|eot|><|sol|>https://i.redd.it/86v1qopsiha61.png<|eol|><|sor|>so what happen when `a[i]` is `29`?<|eor|><|soopr|>Yeah its a bug there<|eoopr|><|sor|>no, why? maybe its intended to do nothing when a[i] = 29 Iam more confused when he connects 2 statements with && and the first ...
24
programminghorror
An_Unraped_Cat
gisr09v
<|sols|><|sot|>My friend codes like this.<|eot|><|sol|>https://i.redd.it/86v1qopsiha61.png<|eol|><|sor|>Sorry I'm an idiot. How would you improve this?<|eor|><|sor|>Personally, I would make a const array denoting the ends of each region, which is maintenance friendly. Iterate through like so: for(ci = -1; a[i] < region...
17
programminghorror
pokeaim
girb8lk
<|sols|><|sot|>My friend codes like this.<|eot|><|sol|>https://i.redd.it/86v1qopsiha61.png<|eol|><|sor|>You should be ashamed of your friends, at least tell them about switch statements or one liners<|eor|><|sor|>Don't think you can use a switch here, you have to provide a constant for comparison not a range<|eor|><|so...
17
programminghorror
_g550_
krnmaa
<|sols|><|sot|>OpenCV with Python textbook. Took me an hour to run line-by-line and find the reason on crushing.<|eot|><|sol|>https://i.redd.it/9u3teb4rnp961.png<|eol|><|eols|><|endoftext|>
1,273
programminghorror
Compizfox
gib8hje
<|sols|><|sot|>OpenCV with Python textbook. Took me an hour to run line-by-line and find the reason on crushing.<|eot|><|sol|>https://i.redd.it/9u3teb4rnp961.png<|eol|><|sor|>Better keep looking, that wasn't it.<|eor|><|eols|><|endoftext|>
518
programminghorror
sanderd17
gib1f2f
<|sols|><|sot|>OpenCV with Python textbook. Took me an hour to run line-by-line and find the reason on crushing.<|eot|><|sol|>https://i.redd.it/9u3teb4rnp961.png<|eol|><|sor|>I don't get it. Python can handle semicolons. They're just used as statement separators (to allow multiple statements on one line), but it's vali...
449
programminghorror
Cafuzzler
gib3you
<|sols|><|sot|>OpenCV with Python textbook. Took me an hour to run line-by-line and find the reason on crushing.<|eot|><|sol|>https://i.redd.it/9u3teb4rnp961.png<|eol|><|sor|> print("This");print("is");print("valid");print("Python");<|eor|><|eols|><|endoftext|>
198
programminghorror
_g550_
gibawcs
<|sols|><|sot|>OpenCV with Python textbook. Took me an hour to run line-by-line and find the reason on crushing.<|eot|><|sol|>https://i.redd.it/9u3teb4rnp961.png<|eol|><|soopr|>I guess I'm still in trouble.. Reading all comments...<|eoopr|><|eols|><|endoftext|>
110
programminghorror
mustang__1
gic6jj4
<|sols|><|sot|>OpenCV with Python textbook. Took me an hour to run line-by-line and find the reason on crushing.<|eot|><|sol|>https://i.redd.it/9u3teb4rnp961.png<|eol|><|sor|>Better keep looking, that wasn't it.<|eor|><|sor|>Psychological warfare at it's finest right here<|eor|><|eols|><|endoftext|>
104
programminghorror
Rhed0x
gib61vr
<|sols|><|sot|>OpenCV with Python textbook. Took me an hour to run line-by-line and find the reason on crushing.<|eot|><|sol|>https://i.redd.it/9u3teb4rnp961.png<|eol|><|sor|>I don't get it. Python can handle semicolons. They're just used as statement separators (to allow multiple statements on one line), but it's vali...
96
programminghorror
josephblade
gibfpla
<|sols|><|sot|>OpenCV with Python textbook. Took me an hour to run line-by-line and find the reason on crushing.<|eot|><|sol|>https://i.redd.it/9u3teb4rnp961.png<|eol|><|sor|>[removed]<|eor|><|sor|>I bring this up a few times but java allows non-visible unicode characters. so you could create variables aaa aaa...
96
programminghorror
SuperSupermario24
giclnr0
<|sols|><|sot|>OpenCV with Python textbook. Took me an hour to run line-by-line and find the reason on crushing.<|eot|><|sol|>https://i.redd.it/9u3teb4rnp961.png<|eol|><|sor|>Better keep looking, that wasn't it.<|eor|><|sor|>Psychological warfare at it's finest right here<|eor|><|sor|>Is it even though? Semicolons are ...
96
programminghorror
road_laya
gib7reb
<|sols|><|sot|>OpenCV with Python textbook. Took me an hour to run line-by-line and find the reason on crushing.<|eot|><|sol|>https://i.redd.it/9u3teb4rnp961.png<|eol|><|sor|>I don't get it. Python can handle semicolons. They're just used as statement separators (to allow multiple statements on one line), but it's vali...
78
programminghorror
erikamaker
gib8vck
<|sols|><|sot|>OpenCV with Python textbook. Took me an hour to run line-by-line and find the reason on crushing.<|eot|><|sol|>https://i.redd.it/9u3teb4rnp961.png<|eol|><|sor|> print("This");print("is");print("valid");print("Python");<|eor|><|sor|>[deleted]<|eor|><|sor|>Thanks, I was struggling to piece that together...
68
programminghorror
laJaybird
gib82j9
<|sols|><|sot|>OpenCV with Python textbook. Took me an hour to run line-by-line and find the reason on crushing.<|eot|><|sol|>https://i.redd.it/9u3teb4rnp961.png<|eol|><|sor|>I don't get it. Python can handle semicolons. They're just used as statement separators (to allow multiple statements on one line), but it's vali...
65
programminghorror
hungryhipposucker
gibk66t
<|sols|><|sot|>OpenCV with Python textbook. Took me an hour to run line-by-line and find the reason on crushing.<|eot|><|sol|>https://i.redd.it/9u3teb4rnp961.png<|eol|><|sor|>[removed]<|eor|><|sor|>I bring this up a few times but java allows non-visible unicode characters. so you could create variables aaa aaa...
60
programminghorror
yhu420
gibdmv6
<|sols|><|sot|>OpenCV with Python textbook. Took me an hour to run line-by-line and find the reason on crushing.<|eot|><|sol|>https://i.redd.it/9u3teb4rnp961.png<|eol|><|soopr|>I guess I'm still in trouble.. Reading all comments...<|eoopr|><|sor|>The real question is: why do people put loads of code on a pdf file?<|eor...
54
programminghorror
a45ed6cs7s
gib45db
<|sols|><|sot|>OpenCV with Python textbook. Took me an hour to run line-by-line and find the reason on crushing.<|eot|><|sol|>https://i.redd.it/9u3teb4rnp961.png<|eol|><|sor|>Python dont mind ;.<|eor|><|eols|><|endoftext|>
53
programminghorror
laJaybird
gib888c
<|sols|><|sot|>OpenCV with Python textbook. Took me an hour to run line-by-line and find the reason on crushing.<|eot|><|sol|>https://i.redd.it/9u3teb4rnp961.png<|eol|><|sor|>How did it crush from a semicolon? I put semicolons in my python scripts because I come from a language that uses it, and it annoys my friend.<|...
51
programminghorror
Batragon
gib89xg
<|sols|><|sot|>OpenCV with Python textbook. Took me an hour to run line-by-line and find the reason on crushing.<|eot|><|sol|>https://i.redd.it/9u3teb4rnp961.png<|eol|><|sor|>There is no problem with semicolons in Python at all.<|eor|><|eols|><|endoftext|>
43
programminghorror
me43488
u95mhe
<|sols|><|sot|>going through an old HDD on an IBM 5150<|eot|><|sol|>https://i.redd.it/bxpx9ku970v81.jpg<|eol|><|eols|><|endoftext|>
1,273
programminghorror
JoeyBroths
i5poc7s
<|sols|><|sot|>going through an old HDD on an IBM 5150<|eot|><|sol|>https://i.redd.it/bxpx9ku970v81.jpg<|eol|><|sor|>So Im going to be the first one to comment on START and FINISH?<|eor|><|eols|><|endoftext|>
170
programminghorror
neremarine
i5pwphh
<|sols|><|sot|>going through an old HDD on an IBM 5150<|eot|><|sol|>https://i.redd.it/bxpx9ku970v81.jpg<|eol|><|sor|>You gonna hack SERN or what?<|eor|><|eols|><|endoftext|>
125
programminghorror
StrangeMonk
i5poj4w
<|sols|><|sot|>going through an old HDD on an IBM 5150<|eot|><|sol|>https://i.redd.it/bxpx9ku970v81.jpg<|eol|><|sor|>I see no horror here.<|eor|><|eols|><|endoftext|>
85
programminghorror
-__-_--__--_
i5q9i8n
<|sols|><|sot|>going through an old HDD on an IBM 5150<|eot|><|sol|>https://i.redd.it/bxpx9ku970v81.jpg<|eol|><|sor|>Why are you taking a picture of the screen? Just use the snipping tool next time...<|eor|><|eols|><|endoftext|>
68
programminghorror
EmperorArthur
i5qu9cl
<|sols|><|sot|>going through an old HDD on an IBM 5150<|eot|><|sol|>https://i.redd.it/bxpx9ku970v81.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>It's sad that my thought was it's not that bad. I've seen production code manually define degrees to radians conversion and the opposite in exactly this way in multiple places. P...
60
programminghorror
neclepsio
i5q2gub
<|sols|><|sot|>going through an old HDD on an IBM 5150<|eot|><|sol|>https://i.redd.it/bxpx9ku970v81.jpg<|eol|><|sor|>Maybe it had a keyboard without curly brackets? Trigraphs are in C for both this reason and codepages with no curly brackets at all, if I remember well.<|eor|><|eols|><|endoftext|>
55
programminghorror
Double_A_92
i5q0kat
<|sols|><|sot|>going through an old HDD on an IBM 5150<|eot|><|sol|>https://i.redd.it/bxpx9ku970v81.jpg<|eol|><|sor|>So Im going to be the first one to comment on START and FINISH?<|eor|><|sor|>That's proably the template given by the teacher, so they know where they should add their code.<|eor|><|eols|><|endoftext|>
54
programminghorror
AceKiron
i5poxe2
<|sols|><|sot|>going through an old HDD on an IBM 5150<|eot|><|sol|>https://i.redd.it/bxpx9ku970v81.jpg<|eol|><|sor|>So Im going to be the first one to comment on START and FINISH?<|eor|><|sor|>Yeah, although unorganized I think they're not too horrorish because it won't affect in runtime<|eor|><|eols|><|endoftext|>
54
programminghorror
danegraphics
i5qlb29
<|sols|><|sot|>going through an old HDD on an IBM 5150<|eot|><|sol|>https://i.redd.it/bxpx9ku970v81.jpg<|eol|><|sor|>Horror? Only thing unusual I see is redefining the brackets, which there could actually be a good reason for considering the age of the computer. Cute code.<|eor|><|eols|><|endoftext|>
44
programminghorror
KronosGames
i5q2824
<|sols|><|sot|>going through an old HDD on an IBM 5150<|eot|><|sol|>https://i.redd.it/bxpx9ku970v81.jpg<|eol|><|sor|>You gonna hack SERN or what?<|eor|><|sor|>For real. Stash that shit in an attic somewhere for the future<|eor|><|eols|><|endoftext|>
42
programminghorror
Hyperspacehost
i5q969x
<|sols|><|sot|>going through an old HDD on an IBM 5150<|eot|><|sol|>https://i.redd.it/bxpx9ku970v81.jpg<|eol|><|soopr|>This machine was at a high school. And they didn't erase any of the programs. So it's nice to just look at there messes lol<|eoopr|><|sor|>It's a computer for highschool students learning programming. ...
42
programminghorror
me43488
i5po5xh
<|sols|><|sot|>going through an old HDD on an IBM 5150<|eot|><|sol|>https://i.redd.it/bxpx9ku970v81.jpg<|eol|><|soopr|>This machine was at a high school. And they didn't erase any of the programs. So it's nice to just look at there messes lol<|eoopr|><|eols|><|endoftext|>
38
programminghorror
gay_for_glaceons
i5q3547
<|sols|><|sot|>going through an old HDD on an IBM 5150<|eot|><|sol|>https://i.redd.it/bxpx9ku970v81.jpg<|eol|><|sor|>Maybe it had a keyboard without curly brackets? Trigraphs are in C for both this reason and codepages with no curly brackets at all, if I remember well.<|eor|><|sor|>Oh, good point. Googling it, the IBM...
37
programminghorror
Dead_Moss
i5pu35u
<|sols|><|sot|>going through an old HDD on an IBM 5150<|eot|><|sol|>https://i.redd.it/bxpx9ku970v81.jpg<|eol|><|soopr|>This machine was at a high school. And they didn't erase any of the programs. So it's nice to just look at there messes lol<|eoopr|><|sor|>What mess?<|eor|><|eols|><|endoftext|>
33
programminghorror
aaronfranke
i5pl5tm
<|sols|><|sot|>going through an old HDD on an IBM 5150<|eot|><|sol|>https://i.redd.it/bxpx9ku970v81.jpg<|eol|><|sor|>`2.0 * 3.1416` 1. This should be a constant. 2. This should have more digits. 3. This should be Tau.<|eor|><|eols|><|endoftext|>
28
programminghorror
neclepsio
i5qegr0
<|sols|><|sot|>going through an old HDD on an IBM 5150<|eot|><|sol|>https://i.redd.it/bxpx9ku970v81.jpg<|eol|><|sor|>Maybe it had a keyboard without curly brackets? Trigraphs are in C for both this reason and codepages with no curly brackets at all, if I remember well.<|eor|><|sor|>How would you define the curly bracke...
24
programminghorror
Fusseldieb
i5qd0e3
<|sols|><|sot|>going through an old HDD on an IBM 5150<|eot|><|sol|>https://i.redd.it/bxpx9ku970v81.jpg<|eol|><|sor|>I see no horror here.<|eor|><|sor|> if (true == !0) { return true; } else { return false; } return undefined //wtf<|eor|><|eols|><|endoftext|>
21
programminghorror
dagbrown
i5qg9ce
<|sols|><|sot|>going through an old HDD on an IBM 5150<|eot|><|sol|>https://i.redd.it/bxpx9ku970v81.jpg<|eol|><|sor|>I see no horror here.<|eor|><|sor|> if (true == !0) { return true; } else { return false; } return undefined //wtf<|eor|><|sor|>``` doesn't work on reddit Have you tried ...
21
programminghorror
DotHpMn
w369yq
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|eols|><|endoftext|>
1,265
programminghorror
anwender95
iguzlr1
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|sor|>Silly! You should use switch case without break!<|eor|><|eols|><|endoftext|>
304
programminghorror
Forevs_21
igulvv6
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|sor|>My guy doesn't even know about integers, yikes!<|eor|><|eols|><|endoftext|>
168
programminghorror
backfire10z
igv3m8k
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|sor|>My guy doesn't even know about integers, yikes!<|eor|><|sor|>Switching from string to int is costly, checking directly as a string is easy <|eor|><|eols|><|endoftext|>
113
programminghorror
Versaiteis
igvo21b
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|sor|> if val == 1: print("nothing wrong with me") if val == 2: print("nothing wrong with me") if val == 3: print("nothing wrong with me") if val == ...
84
programminghorror
DotHpMn
igw99uy
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|sor|>Silly! You should use switch case without break!<|eor|><|soopr|>well, i didn't knew they existed 2 years ago, until today<|eoopr|><|eols|><|endoftext|>
56
programminghorror
computerarchitect
igvhm4p
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|sor|>My guy doesn't even know about integers, yikes!<|eor|><|sor|>Switching from string to int is costly, checking directly as a string is easy <|eor|><|sor|>hmmmm yes.<|eor|><|sor|...
53
programminghorror
Boeschmann
igvh9tm
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|sor|>Plot twist: age is a float.<|eor|><|eols|><|endoftext|>
41
programminghorror
romptroll
igw714h
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|sor|> if val == 1: print("nothing wrong with me") if val == 2: print("nothing wrong with me") if val == 3: print("nothing wrong with me") if val == ...
39
programminghorror
OKoLenM1
igxb8jk
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|sor|>Silly! You should use switch case without break!<|eor|><|soopr|>well, i didn't knew they existed 2 years ago, until today<|eoopr|><|sor|>What about this? else if()<|eor|><...
35
programminghorror
iliekcats-
igvmq8p
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|sor|>My guy doesn't even know about integers, yikes!<|eor|><|sor|>Switching from string to int is costly, checking directly as a string is easy <|eor|><|sor|>hmmmm yes.<|eor|><|sor|...
32
programminghorror
Forevs_21
igv9os8
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|sor|>My guy doesn't even know about integers, yikes!<|eor|><|sor|>Switching from string to int is costly, checking directly as a string is easy <|eor|><|sor|>hmmmm yes.<|eor|><|eols...
31
programminghorror
ZengineerHarp
igvr2vb
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|sor|>if age in 123456789 10 11 12 13 14 15 16 17: print(youre under 18) (I did it in two lines; that means its better, right???)<|eor|><|eols|><|endoftext|>
29
programminghorror
Sairina
igvdgh8
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|sor|>No else or elif in sight, so the output is going to print multiple times lmao I guess the programmer reeeeeeally wants to drive it in to you that you are younger than 18 edit...
26
programminghorror
UberDynamite
igwauux
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|sor|>Sometimes as a hobbyist, I feel bad for not really understanding OOP principles, mixing and matching as i go along. Then I see this and I feel better<|eor|><|eols|><|endoftext...
24
programminghorror
Forevs_21
igwuitj
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|sor|>My guy doesn't even know about integers, yikes!<|eor|><|soopr|>as a beginner is saw everything as a string (i thought numbers, floats, bools were all strings)<|eoopr|><|sor|>le...
24
programminghorror
DotHpMn
igxbe6q
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|sor|>Silly! You should use switch case without break!<|eor|><|soopr|>well, i didn't knew they existed 2 years ago, until today<|eoopr|><|sor|>What about this? else if()<|eor|><...
22
programminghorror
fparedesg
igvu8b1
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|sor|>if age in 123456789 10 11 12 13 14 15 16 17: print(youre under 18) (I did it in two lines; that means its better, right???)<|eor|><|sor|>Im 23 tho<|eor|><|eols|><|endoftext|>
19
programminghorror
Strange_Meadowlark
igxbmb9
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|sor|>Silly! You should use switch case without break!<|eor|><|soopr|>well, i didn't knew they existed 2 years ago, until today<|eoopr|><|sor|>What about this? else if()<|eor|><...
19
programminghorror
DotHpMn
igxbovo
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|sor|>Silly! You should use switch case without break!<|eor|><|soopr|>well, i didn't knew they existed 2 years ago, until today<|eoopr|><|sor|>What about this? else if()<|eor|><...
18
programminghorror
shrihankp12
igy36du
<|sols|><|sot|>if a programmer didnt know < and > existed (yes, the code goes on)<|eot|><|sol|>https://i.redd.it/lbg9jecrvlc91.png<|eol|><|sor|>Silly! You should use switch case without break!<|eor|><|sor|>But python doesn't support switch :(<|eor|><|sor|>[Or does it?](https://docs.python.org/3/whatsnew/3.10.html#pep-6...
17
programminghorror
Risse
iw9xei
<|sols|><|sot|>This is from an API documentation in 2020, believe or not.<|eot|><|sol|>https://i.redd.it/ylvrld6jh9o51.png<|eol|><|eols|><|endoftext|>
1,263
programminghorror
anon38723918569
g5ypbd0
<|sols|><|sot|>This is from an API documentation in 2020, believe or not.<|eot|><|sol|>https://i.redd.it/ylvrld6jh9o51.png<|eol|><|sor|>Let me pass my unp in a query string. In an HTTP GET. YOLO my peeps!<|eor|><|sor|>For people unaware of everything wrong with this: 1. Its HTTP, not HTTPS (thus, trivially readable b...
528
programminghorror
AlphaDeveloperZA
g5ybj5w
<|sols|><|sot|>This is from an API documentation in 2020, believe or not.<|eot|><|sol|>https://i.redd.it/ylvrld6jh9o51.png<|eol|><|sor|>Let me pass my unp in a query string. In an HTTP GET. YOLO my peeps!<|eor|><|eols|><|endoftext|>
414
programminghorror
itsthooor
g5yf98v
<|sols|><|sot|>This is from an API documentation in 2020, believe or not.<|eot|><|sol|>https://i.redd.it/ylvrld6jh9o51.png<|eol|><|sor|>Gladly i am safe at my local starbucks internet<|eor|><|eols|><|endoftext|>
144
programminghorror
Teknikal_Domain
g5z3noa
<|sols|><|sot|>This is from an API documentation in 2020, believe or not.<|eot|><|sol|>https://i.redd.it/ylvrld6jh9o51.png<|eol|><|sor|>Let me pass my unp in a query string. In an HTTP GET. YOLO my peeps!<|eor|><|sor|>For people unaware of everything wrong with this: 1. Its HTTP, not HTTPS (thus, trivially readable b...
89
programminghorror
CBlackstoneDresden
g5yhhxd
<|sols|><|sot|>This is from an API documentation in 2020, believe or not.<|eot|><|sol|>https://i.redd.it/ylvrld6jh9o51.png<|eol|><|sor|>Granted, this is bad, but to play devils advocate: if it is an API, and the request is not cached, shouldn't this all be fine over https in terms of security? I think it's for sure ind...
75
programminghorror
anon38723918569
g5z949z
<|sols|><|sot|>This is from an API documentation in 2020, believe or not.<|eot|><|sol|>https://i.redd.it/ylvrld6jh9o51.png<|eol|><|sor|>Let me pass my unp in a query string. In an HTTP GET. YOLO my peeps!<|eor|><|sor|>For people unaware of everything wrong with this: 1. Its HTTP, not HTTPS (thus, trivially readable b...
58
programminghorror
itsthooor
g5ygio8
<|sols|><|sot|>This is from an API documentation in 2020, believe or not.<|eot|><|sol|>https://i.redd.it/ylvrld6jh9o51.png<|eol|><|sor|>Gladly i am safe at my local starbucks internet<|eor|><|sor|>VPN? Pfff... Who needs that?<|eor|><|sor|>If i want vpn, i'll use only free ones. They are safe enough. Especially those wi...
51
programminghorror
tablewhale
g5yg42v
<|sols|><|sot|>This is from an API documentation in 2020, believe or not.<|eot|><|sol|>https://i.redd.it/ylvrld6jh9o51.png<|eol|><|sor|>Granted, this is bad, but to play devils advocate: if it is an API, and the request is not cached, shouldn't this all be fine over https in terms of security? I think it's for sure ind...
43
programminghorror
archpawn
g5yiqpa
<|sols|><|sot|>This is from an API documentation in 2020, believe or not.<|eot|><|sol|>https://i.redd.it/ylvrld6jh9o51.png<|eol|><|sor|>Granted, this is bad, but to play devils advocate: if it is an API, and the request is not cached, shouldn't this all be fine over https in terms of security? I think it's for sure ind...
33
programminghorror
Sv443_
g5yhrrp
<|sols|><|sot|>This is from an API documentation in 2020, believe or not.<|eot|><|sol|>https://i.redd.it/ylvrld6jh9o51.png<|eol|><|sor|>Granted, this is bad, but to play devils advocate: if it is an API, and the request is not cached, shouldn't this all be fine over https in terms of security? I think it's for sure ind...
31
programminghorror
maushaxx
g5yfqbx
<|sols|><|sot|>This is from an API documentation in 2020, believe or not.<|eot|><|sol|>https://i.redd.it/ylvrld6jh9o51.png<|eol|><|sor|>Gladly i am safe at my local starbucks internet<|eor|><|sor|>VPN? Pfff... Who needs that?<|eor|><|eols|><|endoftext|>
30
programminghorror
phalula
g5yuta9
<|sols|><|sot|>This is from an API documentation in 2020, believe or not.<|eot|><|sol|>https://i.redd.it/ylvrld6jh9o51.png<|eol|><|sor|>Let me pass my unp in a query string. In an HTTP GET. YOLO my peeps!<|eor|><|sor|>For people unaware of everything wrong with this: 1. Its HTTP, not HTTPS (thus, trivially readable b...
29
programminghorror
USROASTOFFICE
g5ysj6w
<|sols|><|sot|>This is from an API documentation in 2020, believe or not.<|eot|><|sol|>https://i.redd.it/ylvrld6jh9o51.png<|eol|><|sor|>Gladly i am safe at my local starbucks internet<|eor|><|sor|>VPN? Pfff... Who needs that?<|eor|><|sor|>If i want vpn, i'll use only free ones. They are safe enough. Especially those wi...
27
programminghorror
anon38723918569
g5zanyu
<|sols|><|sot|>This is from an API documentation in 2020, believe or not.<|eot|><|sol|>https://i.redd.it/ylvrld6jh9o51.png<|eol|><|sor|>Let me pass my unp in a query string. In an HTTP GET. YOLO my peeps!<|eor|><|sor|>For people unaware of everything wrong with this: 1. Its HTTP, not HTTPS (thus, trivially readable b...
21
programminghorror
elperroborrachotoo
g5yelpp
<|sols|><|sot|>This is from an API documentation in 2020, believe or not.<|eot|><|sol|>https://i.redd.it/ylvrld6jh9o51.png<|eol|><|sor|>If it's enough to keep your best customers honest...<|eor|><|eols|><|endoftext|>
20
programminghorror
ajm3232
g5yfo4b
<|sols|><|sot|>This is from an API documentation in 2020, believe or not.<|eot|><|sol|>https://i.redd.it/ylvrld6jh9o51.png<|eol|><|sor|>I forgot who, but some somewhat big slideshow site was pulling this crap in their API docs a few years back. I sent them a email a second I saw you had to pass user/pass to their serve...
20
programminghorror
SituationSoap
g5zcwhn
<|sols|><|sot|>This is from an API documentation in 2020, believe or not.<|eot|><|sol|>https://i.redd.it/ylvrld6jh9o51.png<|eol|><|sor|>Let me pass my unp in a query string. In an HTTP GET. YOLO my peeps!<|eor|><|sor|>For people unaware of everything wrong with this: 1. Its HTTP, not HTTPS (thus, trivially readable b...
17
programminghorror
solwyvern
g5yma50
<|sols|><|sot|>This is from an API documentation in 2020, believe or not.<|eot|><|sol|>https://i.redd.it/ylvrld6jh9o51.png<|eol|><|sor|>If it's enough to keep your best customers honest...<|eor|><|sor|>"Enter *our* login and password<|eor|><|eols|><|endoftext|>
16
programminghorror
tablewhale
g5yjsxg
<|sols|><|sot|>This is from an API documentation in 2020, believe or not.<|eot|><|sol|>https://i.redd.it/ylvrld6jh9o51.png<|eol|><|sor|>Granted, this is bad, but to play devils advocate: if it is an API, and the request is not cached, shouldn't this all be fine over https in terms of security? I think it's for sure ind...
16
programminghorror
KCGD_r
ilyhf7
<|sols|><|sot|>my school makes us use this app that's barely holding on by a thread<|eot|><|sol|>https://i.redd.it/75u6kbdw0zk51.png<|eol|><|eols|><|endoftext|>
1,268
programminghorror
escargotBleu
g3vs4rj
<|sols|><|sot|>my school makes us use this app that's barely holding on by a thread<|eot|><|sol|>https://i.redd.it/75u6kbdw0zk51.png<|eol|><|sor|>Half of the internet is like that.<|eor|><|eols|><|endoftext|>
652
programminghorror
The6thExtinction
g3vzssh
<|sols|><|sot|>my school makes us use this app that's barely holding on by a thread<|eot|><|sol|>https://i.redd.it/75u6kbdw0zk51.png<|eol|><|sor|>>barely holding on by a thread So it's holding on then.<|eor|><|eols|><|endoftext|>
181
programminghorror
migueeel
g3w5v46
<|sols|><|sot|>my school makes us use this app that's barely holding on by a thread<|eot|><|sol|>https://i.redd.it/75u6kbdw0zk51.png<|eol|><|sor|>Half of the internet is like that.<|eor|><|sor|>Quite a bit of native software too. You should see the stdout of some of the commercial game projects I've been involved with....
163