subreddit
stringclasses
7 values
author
stringlengths
3
20
id
stringlengths
5
7
content
stringlengths
67
30.4k
score
int64
0
140k
programminghorror
SensitiveTrap
hfo4yj0
<|sols|><|sot|>Had to implement strcat for class, I'm not sure if this is genius or stupid<|eot|><|sol|>https://i.redd.it/0ur80g6q5xr71.png<|eol|><|sor|>I'm very confused. What is this empty while loop supposed to do?<|eor|><|eols|><|endoftext|>
33
programminghorror
tim_reheht
e6w0ak
<|sols|><|sot|>yikes.<|eot|><|sol|>https://i.redd.it/gex6rqx94z241.png<|eol|><|eols|><|endoftext|>
996
programminghorror
zigs
f9tgjrj
<|sols|><|sot|>yikes.<|eot|><|sol|>https://i.redd.it/gex6rqx94z241.png<|eol|><|sor|>All toasters toast toast<|eor|><|eols|><|endoftext|>
216
programminghorror
tim_reheht
f9ti8qy
<|sols|><|sot|>yikes.<|eot|><|sol|>https://i.redd.it/gex6rqx94z241.png<|eol|><|sor|>All toasters toast toast<|eor|><|soopr|>And routers route ... routes<|eoopr|><|eols|><|endoftext|>
111
programminghorror
ag0965
f9thz36
<|sols|><|sot|>yikes.<|eot|><|sol|>https://i.redd.it/gex6rqx94z241.png<|eol|><|sor|>Some should write an update comment on top of that comment<|eor|><|eols|><|endoftext|>
83
programminghorror
stable_maple
f9tqxc5
<|sols|><|sot|>yikes.<|eot|><|sol|>https://i.redd.it/gex6rqx94z241.png<|eol|><|sor|>OP, you wrote this, didn't you?<|eor|><|eols|><|endoftext|>
70
programminghorror
wiarumas
f9ud99m
<|sols|><|sot|>yikes.<|eot|><|sol|>https://i.redd.it/gex6rqx94z241.png<|eol|><|sor|>Some should write an update comment on top of that comment<|eor|><|sor|>//2019-12-06 Uploaded to reddit per request.<|eor|><|eols|><|endoftext|>
62
programminghorror
yellowllama
f9tnl3i
<|sols|><|sot|>yikes.<|eot|><|sol|>https://i.redd.it/gex6rqx94z241.png<|eol|><|sor|>I didnt realize code could stutter<|eor|><|eols|><|endoftext|>
61
programminghorror
CrimsonMutt
f9tnj6m
<|sols|><|sot|>yikes.<|eot|><|sol|>https://i.redd.it/gex6rqx94z241.png<|eol|><|sor|> var tempRoute = router.routes[r]; routes[tempRoute.route] = tempRoute; kinda cleaner, i guess. still, the data structure is the real horror, but i'm gonna take a wild stab and say it's some weird artifact of a badly designed AP...
39
programminghorror
posherspantspants
f9u55xy
<|sols|><|sot|>yikes.<|eot|><|sol|>https://i.redd.it/gex6rqx94z241.png<|eol|><|sor|>All toasters toast toast<|eor|><|sor|>[Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo](https://en.m.wikipedia.org/wiki/Buffalo_buffalo_Buffalo_buffalo_buffalo_buffalo_Buffalo_buffalo)<|eor|><|eols|><|endoftext|>
35
programminghorror
stable_maple
f9tqu8j
<|sols|><|sot|>yikes.<|eot|><|sol|>https://i.redd.it/gex6rqx94z241.png<|eol|><|sor|>I didnt realize code could stutter<|eor|><|sor|>I literally get warnings about stuttering code from the golang extension to VS Code.<|eor|><|eols|><|endoftext|>
25
programminghorror
MyGg29
f9u2day
<|sols|><|sot|>yikes.<|eot|><|sol|>https://i.redd.it/gex6rqx94z241.png<|eol|><|sor|>Some should write an update comment on top of that comment<|eor|><|sor|>I often do this on our codebase. And we have funny discutions over comments. (not very professional I guess...)<|eor|><|eols|><|endoftext|>
23
programminghorror
1thief
f9tlqtz
<|sols|><|sot|>yikes.<|eot|><|sol|>https://i.redd.it/gex6rqx94z241.png<|eol|><|sor|>Look Ma I'm on Reddit<|eor|><|eols|><|endoftext|>
18
programminghorror
jackmaney
f9u8qvs
<|sols|><|sot|>yikes.<|eot|><|sol|>https://i.redd.it/gex6rqx94z241.png<|eol|><|sor|>How many routes could a router route if a router could route routes?<|eor|><|eols|><|endoftext|>
18
programminghorror
ivgd
f9tymng
<|sols|><|sot|>yikes.<|eot|><|sol|>https://i.redd.it/gex6rqx94z241.png<|eol|><|sor|>[deleted]<|eor|><|sor|>... so I put a route in your route<|eor|><|eols|><|endoftext|>
14
programminghorror
28f272fe556a1363cc31
f9ujl4s
<|sols|><|sot|>yikes.<|eot|><|sol|>https://i.redd.it/gex6rqx94z241.png<|eol|><|sor|>All toasters toast toast<|eor|><|sor|>[Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo](https://en.m.wikipedia.org/wiki/Buffalo_buffalo_Buffalo_buffalo_buffalo_buffalo_Buffalo_buffalo)<|eor|><|sor|>[Is this a ship-shippi...
14
programminghorror
posherspantspants
f9u5clg
<|sols|><|sot|>yikes.<|eot|><|sol|>https://i.redd.it/gex6rqx94z241.png<|eol|><|sor|>[deleted]<|eor|><|sor|>A route, obviously<|eor|><|eols|><|endoftext|>
10
programminghorror
warpedspoon
f9utv55
<|sols|><|sot|>yikes.<|eot|><|sol|>https://i.redd.it/gex6rqx94z241.png<|eol|><|sor|>All toasters toast toast<|eor|><|sor|>toasters toast bread<|eor|><|eols|><|endoftext|>
8
programminghorror
VodkaHaze
f9u3ujy
<|sols|><|sot|>yikes.<|eot|><|sol|>https://i.redd.it/gex6rqx94z241.png<|eol|><|sor|>What's the bigger picture in this case?<|eor|><|sor|>A router routing routes of course<|eor|><|eols|><|endoftext|>
8
programminghorror
cyrusol
f9tm918
<|sols|><|sot|>yikes.<|eot|><|sol|>https://i.redd.it/gex6rqx94z241.png<|eol|><|sor|>What's the bigger picture in this case?<|eor|><|eols|><|endoftext|>
6
programminghorror
BrianAndersonJr
f9ulyvx
<|sols|><|sot|>yikes.<|eot|><|sol|>https://i.redd.it/gex6rqx94z241.png<|eol|><|sor|>This isn't python. What is it?<|eor|><|sor|>it's a script full of javas<|eor|><|eols|><|endoftext|>
6
programminghorror
Rei_chan_98
meowlo
<|sols|><|sot|>CSI Cyber code with letters at the end of every line for a secret message...but they're not comments<|eot|><|sol|>https://www.reddit.com/gallery/meowlo<|eol|><|eols|><|endoftext|>
992
programminghorror
americk0
gsj246j
<|sols|><|sot|>CSI Cyber code with letters at the end of every line for a secret message...but they're not comments<|eot|><|sol|>https://www.reddit.com/gallery/meowlo<|eol|><|sor|>You can tell the criminal is a psychopath because they don't indent their code<|eor|><|eols|><|endoftext|>
552
programminghorror
apetc
gsk44vn
<|sols|><|sot|>CSI Cyber code with letters at the end of every line for a secret message...but they're not comments<|eot|><|sol|>https://www.reddit.com/gallery/meowlo<|eol|><|sor|>You can tell the criminal is a psychopath because they don't indent their code<|eor|><|sor|>I had a university classmate that would write co...
175
programminghorror
Naitsab_33
gsj2ewd
<|sols|><|sot|>CSI Cyber code with letters at the end of every line for a secret message...but they're not comments<|eot|><|sol|>https://www.reddit.com/gallery/meowlo<|eol|><|sor|>I watched that show sometime ago and after looking back: Yeah that series is the incarnation of ```E N H A N C E & Friends```<|eor|><|eols...
152
programminghorror
inthemindofadogg
gsiuhx3
<|sols|><|sot|>CSI Cyber code with letters at the end of every line for a secret message...but they're not comments<|eot|><|sol|>https://www.reddit.com/gallery/meowlo<|eol|><|sor|>Error: Unexpected token N on line one<|eor|><|eols|><|endoftext|>
122
programminghorror
pandolf86
gsj5wb2
<|sols|><|sot|>CSI Cyber code with letters at the end of every line for a secret message...but they're not comments<|eot|><|sol|>https://www.reddit.com/gallery/meowlo<|eol|><|sor|>Plot Twist: The letters are macros<|eor|><|eols|><|endoftext|>
97
programminghorror
dlawodnjs
gsk48wz
<|sols|><|sot|>CSI Cyber code with letters at the end of every line for a secret message...but they're not comments<|eot|><|sol|>https://www.reddit.com/gallery/meowlo<|eol|><|sor|>You can tell the criminal is a psychopath because they don't indent their code<|eor|><|sor|>I had a university classmate that would write co...
93
programminghorror
xWolfz__
gsk224a
<|sols|><|sot|>CSI Cyber code with letters at the end of every line for a secret message...but they're not comments<|eot|><|sol|>https://www.reddit.com/gallery/meowlo<|eol|><|sor|>I watched that show sometime ago and after looking back: Yeah that series is the incarnation of ```E N H A N C E & Friends```<|eor|><|sor|...
68
programminghorror
PQCraft
gsjr4e6
<|sols|><|sot|>CSI Cyber code with letters at the end of every line for a secret message...but they're not comments<|eot|><|sol|>https://www.reddit.com/gallery/meowlo<|eol|><|sor|> hack_t big_hack; //H int hacker_code() { //A megaHaxx(big_hack); //X fancyHackerStuff(big_hack); //X cleanUp...
41
programminghorror
thegreatpotatogod
gsjr982
<|sols|><|sot|>CSI Cyber code with letters at the end of every line for a secret message...but they're not comments<|eot|><|sol|>https://www.reddit.com/gallery/meowlo<|eol|><|sor|>Now the games begin<|eor|><|sor|>What. Where do you see spaces? >NOWTHEGAMESBEGIN<|eor|><|sor|>There are spaces! It should be read as `N...
32
programminghorror
durika
gsiyn8y
<|sols|><|sot|>CSI Cyber code with letters at the end of every line for a secret message...but they're not comments<|eot|><|sol|>https://www.reddit.com/gallery/meowlo<|eol|><|sor|>Now the games begin<|eor|><|eols|><|endoftext|>
29
programminghorror
curtmack
gsjyoku
<|sols|><|sot|>CSI Cyber code with letters at the end of every line for a secret message...but they're not comments<|eot|><|sol|>https://www.reddit.com/gallery/meowlo<|eol|><|sor|>Plot Twist: The letters are macros<|eor|><|sor|>That still wouldn't compile. The letters are reused in other parts of the code like [NN]. E...
26
programminghorror
BakuhatsuK
gsk0zbk
<|sols|><|sot|>CSI Cyber code with letters at the end of every line for a secret message...but they're not comments<|eot|><|sol|>https://www.reddit.com/gallery/meowlo<|eol|><|sor|>Plot Twist: The letters are macros<|eor|><|sor|>I was going to say this. But the line numbers suggest that there are no defines nor includes...
22
programminghorror
iwbd
gsjao0i
<|sols|><|sot|>CSI Cyber code with letters at the end of every line for a secret message...but they're not comments<|eot|><|sol|>https://www.reddit.com/gallery/meowlo<|eol|><|sor|>The message is from the Linter and it's very good at the game.<|eor|><|eols|><|endoftext|>
19
programminghorror
undeadalex
gsjocv3
<|sols|><|sot|>CSI Cyber code with letters at the end of every line for a secret message...but they're not comments<|eot|><|sol|>https://www.reddit.com/gallery/meowlo<|eol|><|sor|>Now the games begin<|eor|><|sor|>What. Where do you see spaces? >NOWTHEGAMESBEGIN<|eor|><|eols|><|endoftext|>
19
programminghorror
scotchligo
gsjbcka
<|sols|><|sot|>CSI Cyber code with letters at the end of every line for a secret message...but they're not comments<|eot|><|sol|>https://www.reddit.com/gallery/meowlo<|eol|><|sor|>I feel like this is cheating<|eor|><|eols|><|endoftext|>
16
programminghorror
anyburger
gsjttf2
<|sols|><|sot|>CSI Cyber code with letters at the end of every line for a secret message...but they're not comments<|eot|><|sol|>https://www.reddit.com/gallery/meowlo<|eol|><|sor|>/r/itsaunixsystem<|eor|><|eols|><|endoftext|>
16
programminghorror
aggrotechx
gsjof2p
<|sols|><|sot|>CSI Cyber code with letters at the end of every line for a secret message...but they're not comments<|eot|><|sol|>https://www.reddit.com/gallery/meowlo<|eol|><|sor|>Plot Twist: The letters are macros<|eor|><|sor|>That still wouldn't compile. The letters are reused in other parts of the code like [NN]. E...
15
programminghorror
LetsMelon
q12lus
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|eols|><|endoftext|>
986
programminghorror
teckcypher
hfc47x2
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|sor|>RIP a<|eor|><|eols|><|endoftext|>
465
programminghorror
tks_kindastrange
hfc90cu
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|sor|>Who needs for loops anyway?<|eor|><|eols|><|endoftext|>
323
programminghorror
zacharypamela
hfckxge
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|sor|>> without using built-in functions So no `len` or `list.append`, right?<|eor|><|eols|><|endoftext|>
231
programminghorror
TheRolf
hfcofqq
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|sor|>RIP a<|eor|><|sor|>Of you think you're useless, think about this variable a<|eor|><|eols|><|endoftext|>
184
programminghorror
max_mou
hfcbyk0
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|sor|>Who needs for loops anyway?<|eor|><|sor|>At least in C, depending on how you write a for loop or a while loop, the compiler compiles ...
172
programminghorror
elzaidir
hfcxjb0
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|sor|>Who needs for loops anyway?<|eor|><|sor|>At least in C, depending on how you write a for loop or a while loop, the compiler compiles ...
156
programminghorror
max_mou
hfccpo1
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|sor|>Who needs for loops anyway?<|eor|><|sor|>At least in C, depending on how you write a for loop or a while loop, the compiler compiles ...
126
programminghorror
Qdoit12Super
hfcmnh3
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|sor|>> without using built-in functions So no `len` or `list.append`, right?<|eor|><|sor|>No accessing strings or lists either, thats tec...
115
programminghorror
SanianCreations
hfcdbtx
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|sor|>Who needs for loops anyway?<|eor|><|sor|>At least in C, depending on how you write a for loop or a while loop, the compiler compiles ...
91
programminghorror
nekokattt
hfd370e
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|sor|>> without using built-in functions So no `len` or `list.append`, right?<|eor|><|soopr|>No, they were allowed<|eoopr|><|sor|>So which...
87
programminghorror
CallKennyLoggins
hfcn597
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|sor|>`String2list = [x for x in seq]`<|eor|><|eols|><|endoftext|>
83
programminghorror
max_mou
hfdjau4
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|sor|>Who needs for loops anyway?<|eor|><|sor|>At least in C, depending on how you write a for loop or a while loop, the compiler compiles ...
76
programminghorror
cedeno87
hfdhtaf
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|sor|>Idk how I feel about shitting in someone who is in a programming class trying to learn. Youre just being a dick and are still a stud...
66
programminghorror
halimakkipoika
hfcas0a
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|sor|>Well it works right?<|eor|><|eols|><|endoftext|>
63
programminghorror
mohragk
hfcaa7i
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|sor|>Not that bad, he could've just done `while true`. For-loops are a bit better, but are pretty much as terrible if you pick a dumb guar...
57
programminghorror
zacharypamela
hfcr53a
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|sor|>> without using built-in functions So no `len` or `list.append`, right?<|eor|><|soopr|>No, they were allowed<|eoopr|><|sor|>So which...
56
programminghorror
tks_kindastrange
hfcdufc
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|sor|>Who needs for loops anyway?<|eor|><|sor|>At least in C, depending on how you write a for loop or a while loop, the compiler compiles ...
54
programminghorror
siliconvalleyist
hfd5qzd
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|sor|>Well it works right?<|eor|><|sor|>Infinite loop. A is never incremented.<|eor|><|sor|>B is incremented and that break statement will ...
53
programminghorror
Kamugg
hfcsi4k
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|sor|>> without using built-in functions So no `len` or `list.append`, right?<|eor|><|soopr|>No, they were allowed<|eoopr|><|sor|>So which...
51
programminghorror
LetsMelon
hfcqlfw
<|sols|><|sot|>The task was to convert a string to a list without using built-in functions. That's the code from a classmate<|eot|><|sol|>https://i.redd.it/fp6a7gywser71.jpg<|eol|><|sor|>> without using built-in functions So no `len` or `list.append`, right?<|eor|><|soopr|>No, they were allowed<|eoopr|><|eols|><|endof...
46
programminghorror
Bloodyline
hzur4c
<|sols|><|sot|>Clearly an advanced A.I behind the scene<|eot|><|sol|>https://i.redd.it/mbukc2dtcqd51.jpg<|eol|><|eols|><|endoftext|>
991
programminghorror
i_am_adult_now
fzllw16
<|sols|><|sot|>Clearly an advanced A.I behind the scene<|eot|><|sol|>https://i.redd.it/mbukc2dtcqd51.jpg<|eol|><|sor|>I mean, it's not wrong.. statistics is glorified conditional branching anyway.<|eor|><|eols|><|endoftext|>
240
programminghorror
danielsamuels
fzls3kb
<|sols|><|sot|>Clearly an advanced A.I behind the scene<|eot|><|sol|>https://i.redd.it/mbukc2dtcqd51.jpg<|eol|><|sor|>i mean you gotta start somewhere, right? :) also: python doesn't have switch statements.<|eor|><|sor|>>also: python doesn't have switch statements. Coming soon to a Python 3.10 near you - [https://ww...
138
programminghorror
K1ngjulien_
fzlnrjj
<|sols|><|sot|>Clearly an advanced A.I behind the scene<|eot|><|sol|>https://i.redd.it/mbukc2dtcqd51.jpg<|eol|><|sor|>i mean you gotta start somewhere, right? :) also: python doesn't have switch statements.<|eor|><|eols|><|endoftext|>
123
programminghorror
Cytokine_storm
fzluzxw
<|sols|><|sot|>Clearly an advanced A.I behind the scene<|eot|><|sol|>https://i.redd.it/mbukc2dtcqd51.jpg<|eol|><|sor|>I mean, it's not wrong.. statistics is glorified conditional branching anyway.<|eor|><|sor|>No, not really. How would you describe a simple gaussian curve with conditionals?<|eor|><|sor|>I am not sure a...
84
programminghorror
Little-Helper
fzlr0d2
<|sols|><|sot|>Clearly an advanced A.I behind the scene<|eot|><|sol|>https://i.redd.it/mbukc2dtcqd51.jpg<|eol|><|sor|>*Good Evening Param*<|eor|><|eols|><|endoftext|>
49
programminghorror
stealth9799
fzlqobx
<|sols|><|sot|>Clearly an advanced A.I behind the scene<|eot|><|sol|>https://i.redd.it/mbukc2dtcqd51.jpg<|eol|><|sor|>i mean you gotta start somewhere, right? :) also: python doesn't have switch statements.<|eor|><|sor|>They sorta do. In their decision not to include switches, they recommended to use a dict. Thats rig...
42
programminghorror
OneTrueKingOfOOO
fzmeh80
<|sols|><|sot|>Clearly an advanced A.I behind the scene<|eot|><|sol|>https://i.redd.it/mbukc2dtcqd51.jpg<|eol|><|sor|>I mean, it's not wrong.. statistics is glorified conditional branching anyway.<|eor|><|sor|>No, not really. How would you describe a simple gaussian curve with conditionals?<|eor|><|sor|>I don't really ...
33
programminghorror
doubleone44
fzlyt9u
<|sols|><|sot|>Clearly an advanced A.I behind the scene<|eot|><|sol|>https://i.redd.it/mbukc2dtcqd51.jpg<|eol|><|sor|>I mean, it's not wrong.. statistics is glorified conditional branching anyway.<|eor|><|sor|>No, not really. How would you describe a simple gaussian curve with conditionals?<|eor|><|sor|>I don't really ...
30
programminghorror
Dritter31
fzlp78x
<|sols|><|sot|>Clearly an advanced A.I behind the scene<|eot|><|sol|>https://i.redd.it/mbukc2dtcqd51.jpg<|eol|><|sor|>r/croppingIsHard?<|eor|><|eols|><|endoftext|>
26
programminghorror
K1ngjulien_
fzluseq
<|sols|><|sot|>Clearly an advanced A.I behind the scene<|eot|><|sol|>https://i.redd.it/mbukc2dtcqd51.jpg<|eol|><|sor|>i mean you gotta start somewhere, right? :) also: python doesn't have switch statements.<|eor|><|sor|>>also: python doesn't have switch statements. Coming soon to a Python 3.10 near you - [https://ww...
16
programminghorror
Minolwa
fzm8nzi
<|sols|><|sot|>Clearly an advanced A.I behind the scene<|eot|><|sol|>https://i.redd.it/mbukc2dtcqd51.jpg<|eol|><|sor|>i mean you gotta start somewhere, right? :) also: python doesn't have switch statements.<|eor|><|sor|>>also: python doesn't have switch statements. Coming soon to a Python 3.10 near you - [https://ww...
15
programminghorror
Motylde
fzlsk53
<|sols|><|sot|>Clearly an advanced A.I behind the scene<|eot|><|sol|>https://i.redd.it/mbukc2dtcqd51.jpg<|eol|><|sor|>*Good Evening Param*<|eor|><|sor|>Nice to meet you Param<|eor|><|eols|><|endoftext|>
14
programminghorror
murtaza64
fzm5s5b
<|sols|><|sot|>Clearly an advanced A.I behind the scene<|eot|><|sol|>https://i.redd.it/mbukc2dtcqd51.jpg<|eol|><|sor|>i mean you gotta start somewhere, right? :) also: python doesn't have switch statements.<|eor|><|sor|>>also: python doesn't have switch statements. Coming soon to a Python 3.10 near you - [https://ww...
14
programminghorror
doubleone44
fzmfncv
<|sols|><|sot|>Clearly an advanced A.I behind the scene<|eot|><|sol|>https://i.redd.it/mbukc2dtcqd51.jpg<|eol|><|sor|>I mean, it's not wrong.. statistics is glorified conditional branching anyway.<|eor|><|sor|>No, not really. How would you describe a simple gaussian curve with conditionals?<|eor|><|sor|>I don't really ...
14
programminghorror
K1ngjulien_
fzlul4h
<|sols|><|sot|>Clearly an advanced A.I behind the scene<|eot|><|sol|>https://i.redd.it/mbukc2dtcqd51.jpg<|eol|><|sor|>i mean you gotta start somewhere, right? :) also: python doesn't have switch statements.<|eor|><|sor|>They sorta do. In their decision not to include switches, they recommended to use a dict. Thats rig...
12
programminghorror
SwedzCubed
fzlxp4l
<|sols|><|sot|>Clearly an advanced A.I behind the scene<|eot|><|sol|>https://i.redd.it/mbukc2dtcqd51.jpg<|eol|><|sor|>*Good Evening Param*<|eor|><|sor|>am a bot Param what can i help u?<|eor|><|eols|><|endoftext|>
9
programminghorror
Mad_Jack18
fzlswdb
<|sols|><|sot|>Clearly an advanced A.I behind the scene<|eot|><|sol|>https://i.redd.it/mbukc2dtcqd51.jpg<|eol|><|sor|>*Good Evening Param*<|eor|><|sor|>Nice to meet you Param<|eor|><|sor|>where's my eters param?<|eor|><|eols|><|endoftext|>
8
programminghorror
drcas5
ealv0x
<|sols|><|sot|>Something I wrote some years back. It selects a random image...<|eot|><|sol|>https://i.redd.it/hgy4qb7tmm441.png<|eol|><|eols|><|endoftext|>
991
programminghorror
Murksiuke
faurff5
<|sols|><|sot|>Something I wrote some years back. It selects a random image...<|eot|><|sol|>https://i.redd.it/hgy4qb7tmm441.png<|eol|><|sor|>I can forgive you for not knowing arrays, but the -1+1 stumps me<|eor|><|eols|><|endoftext|>
571
programminghorror
drcas5
fauwd56
<|sols|><|sot|>Something I wrote some years back. It selects a random image...<|eot|><|sol|>https://i.redd.it/hgy4qb7tmm441.png<|eol|><|sor|>I can forgive you for not knowing arrays, but the -1+1 stumps me<|eor|><|soopr|>But it works<|eoopr|><|eols|><|endoftext|>
376
programminghorror
KodoHunter
fauznv7
<|sols|><|sot|>Something I wrote some years back. It selects a random image...<|eot|><|sol|>https://i.redd.it/hgy4qb7tmm441.png<|eol|><|sor|>I can forgive you for not knowing arrays, but the -1+1 stumps me<|eor|><|soopr|>But it works<|eoopr|><|sor|>Can't argue with that<|eor|><|eols|><|endoftext|>
165
programminghorror
Last_Snowbender
fatx26o
<|sols|><|sot|>Something I wrote some years back. It selects a random image...<|eot|><|sol|>https://i.redd.it/hgy4qb7tmm441.png<|eol|><|sor|>I'll take "arrays" for 20, alex.<|eor|><|eols|><|endoftext|>
103
programminghorror
timetq
fav4rl9
<|sols|><|sot|>Something I wrote some years back. It selects a random image...<|eot|><|sol|>https://i.redd.it/hgy4qb7tmm441.png<|eol|><|sor|>I can forgive you for not knowing arrays, but the -1+1 stumps me<|eor|><|sor|>Yeah, just multiply by 1 and youre done. Simple<|eor|><|eols|><|endoftext|>
84
programminghorror
omegastauf
fauu833
<|sols|><|sot|>Something I wrote some years back. It selects a random image...<|eot|><|sol|>https://i.redd.it/hgy4qb7tmm441.png<|eol|><|sor|>Moth roleplay, more than just programming horror<|eor|><|eols|><|endoftext|>
79
programminghorror
leftmostcat
fau5pxi
<|sols|><|sot|>Something I wrote some years back. It selects a random image...<|eot|><|sol|>https://i.redd.it/hgy4qb7tmm441.png<|eol|><|sor|>I'll take "arrays" for 20, alex.<|eor|><|sor|>I'll see your arrays and raise you string interpolation.<|eor|><|eols|><|endoftext|>
76
programminghorror
BrianBoyko
favnzbo
<|sols|><|sot|>Something I wrote some years back. It selects a random image...<|eot|><|sol|>https://i.redd.it/hgy4qb7tmm441.png<|eol|><|sor|>I can forgive you for not knowing arrays, but the -1+1 stumps me<|eor|><|sor|>I mean, sometimes I keep numbers in places they are completely unnecessary to make it clear why the v...
49
programminghorror
BrianBoyko
fawndqe
<|sols|><|sot|>Something I wrote some years back. It selects a random image...<|eot|><|sol|>https://i.redd.it/hgy4qb7tmm441.png<|eol|><|sor|>I can forgive you for not knowing arrays, but the -1+1 stumps me<|eor|><|sor|>I mean, sometimes I keep numbers in places they are completely unnecessary to make it clear why the v...
43
programminghorror
Mr_Redstoner
favm12f
<|sols|><|sot|>Something I wrote some years back. It selects a random image...<|eot|><|sol|>https://i.redd.it/hgy4qb7tmm441.png<|eol|><|sor|>Why write one line when you can write dozens? (Upvote - 1 + 1) + 1, if you agree.<|eor|><|sor|>Ok so I downvoted, upvoted, upvoted. Looks like this leaves you with net 0. Reddit ...
42
programminghorror
perennialExhaustion
faul6g4
<|sols|><|sot|>Something I wrote some years back. It selects a random image...<|eot|><|sol|>https://i.redd.it/hgy4qb7tmm441.png<|eol|><|sor|>I'll take "arrays" for 20, alex.<|eor|><|sor|>I'll see your arrays and raise you string interpolation.<|eor|><|sor|>I'll see your string interpolation, and raise you: >Compilatio...
32
programminghorror
BeakerAU
fax3g86
<|sols|><|sot|>Something I wrote some years back. It selects a random image...<|eot|><|sol|>https://i.redd.it/hgy4qb7tmm441.png<|eol|><|sor|>If you can look back at your old code, and be astonished and slightly ashamed, that shows you're growing as a developer. If you saw that now and thought "yep, nothing wrong here"...
30
programminghorror
lunareffect
faw0bn7
<|sols|><|sot|>Something I wrote some years back. It selects a random image...<|eot|><|sol|>https://i.redd.it/hgy4qb7tmm441.png<|eol|><|sor|>I can forgive you for not knowing arrays, but the -1+1 stumps me<|eor|><|sor|>I mean, sometimes I keep numbers in places they are completely unnecessary to make it clear why the v...
30
programminghorror
drcas5
fauwtoq
<|sols|><|sot|>Something I wrote some years back. It selects a random image...<|eot|><|sol|>https://i.redd.it/hgy4qb7tmm441.png<|eol|><|sor|>Moth roleplay, more than just programming horror<|eor|><|soopr|>This wasn't my idea, luckily.<|eoopr|><|eols|><|endoftext|>
27
programminghorror
UnchainedMundane
fauksrx
<|sols|><|sot|>Something I wrote some years back. It selects a random image...<|eot|><|sol|>https://i.redd.it/hgy4qb7tmm441.png<|eol|><|sor|>I'll take "arrays" for 20, alex.<|eor|><|sor|>I'll see your arrays and raise you string interpolation.<|eor|><|sor|>`moth$i.${i == 4 ? 'png' : 'jpg'}`<|eor|><|eols|><|endoftext|>
27
programminghorror
weeeeelaaaaaah
faxszcw
<|sols|><|sot|>Something I wrote some years back. It selects a random image...<|eot|><|sol|>https://i.redd.it/hgy4qb7tmm441.png<|eol|><|sor|>I can forgive you for not knowing arrays, but the -1+1 stumps me<|eor|><|soopr|>But it works<|eoopr|><|sor|>Can't argue with that<|eor|><|sor|>I can, and if I see it in a merge re...
27
programminghorror
Qesa
fax9syw
<|sols|><|sot|>Something I wrote some years back. It selects a random image...<|eot|><|sol|>https://i.redd.it/hgy4qb7tmm441.png<|eol|><|sor|>I can forgive you for not knowing arrays, but the -1+1 stumps me<|eor|><|sor|>I mean, sometimes I keep numbers in places they are completely unnecessary to make it clear why the v...
23
programminghorror
overkill
fay9w80
<|sols|><|sot|>Something I wrote some years back. It selects a random image...<|eot|><|sol|>https://i.redd.it/hgy4qb7tmm441.png<|eol|><|sor|>I can forgive you for not knowing arrays, but the -1+1 stumps me<|eor|><|sor|>I mean, sometimes I keep numbers in places they are completely unnecessary to make it clear why the v...
19
programminghorror
jaleCro
qaj5nd
<|sols|><|sot|>500 lines of code that could have been 3 for loops totalling ~30. i love inheriting projects!<|eot|><|sol|>https://i.imgur.com/vIIFwYz.png<|eol|><|eols|><|endoftext|>
984
programminghorror
KingOfSpiderDucks
hh3bc1j
<|sols|><|sot|>500 lines of code that could have been 3 for loops totalling ~30. i love inheriting projects!<|eot|><|sol|>https://i.imgur.com/vIIFwYz.png<|eol|><|sor|>I once wrote 1.5k lines because my nested for loops didn't work as expected ... In my defense it was in my first year of learning to code, but still ......
291
programminghorror
elzaidir
hh3cpbx
<|sols|><|sot|>500 lines of code that could have been 3 for loops totalling ~30. i love inheriting projects!<|eot|><|sol|>https://i.imgur.com/vIIFwYz.png<|eol|><|sor|>Let's say it's loop unrolling for optimisation ^(Edit: 128 upvotes? Yay! Round number!)<|eor|><|eols|><|endoftext|>
179