subreddit
stringclasses
7 values
author
stringlengths
3
20
id
stringlengths
5
7
content
stringlengths
67
30.4k
score
int64
0
140k
programminghorror
lucferon
ifv1g2h
<|sols|><|sot|>I came across a unit test that led me to this gem of a function today. I have no words.<|eot|><|sol|>https://www.reddit.com/gallery/vxbedj<|eol|><|sor|>Are you sure this didn't just come from a legacy codebase before typescript rules were enforced? This looks like a pretty classic check for strict equali...
14
programminghorror
zmose
ifvjecc
<|sols|><|sot|>I came across a unit test that led me to this gem of a function today. I have no words.<|eot|><|sol|>https://www.reddit.com/gallery/vxbedj<|eol|><|sor|>Is there some type of mutation testing failure for: !x ?<|eor|><|eols|><|endoftext|>
11
programminghorror
WhatsMyUsername13
ifvmlke
<|sols|><|sot|>I came across a unit test that led me to this gem of a function today. I have no words.<|eot|><|sol|>https://www.reddit.com/gallery/vxbedj<|eol|><|sor|>Are you sure this didn't just come from a legacy codebase before typescript rules were enforced? This looks like a pretty classic check for strict equali...
11
programminghorror
noman_032018
ifwlfot
<|sols|><|sot|>I came across a unit test that led me to this gem of a function today. I have no words.<|eot|><|sol|>https://www.reddit.com/gallery/vxbedj<|eol|><|sor|>In a system written entirely in Typescript this is unnecessary, but [as far as I know Typescript doesn't enforce runtime checks in its output at all](htt...
10
programminghorror
WhatsMyUsername13
ifvn4ey
<|sols|><|sot|>I came across a unit test that led me to this gem of a function today. I have no words.<|eot|><|sol|>https://www.reddit.com/gallery/vxbedj<|eol|><|sor|>Are you sure this didn't just come from a legacy codebase before typescript rules were enforced? This looks like a pretty classic check for strict equali...
9
programminghorror
seluj78
j859c5
<|sols|><|sot|>Found in episode 101 of Upload<|eot|><|sol|>https://i.redd.it/5jxq0ihwb4s51.png<|eol|><|eols|><|endoftext|>
775
programminghorror
BlackCherryot
g89ofrv
<|sols|><|sot|>Found in episode 101 of Upload<|eot|><|sol|>https://i.redd.it/5jxq0ihwb4s51.png<|eol|><|sor|>The longer you stare at it, the worse it gets<|eor|><|eols|><|endoftext|>
109
programminghorror
ZylonBane
g89pbgf
<|sols|><|sot|>Found in episode 101 of Upload<|eot|><|sol|>https://i.redd.it/5jxq0ihwb4s51.png<|eol|><|sor|>Invalid syntax error so much worse than a valid syntax error.<|eor|><|eols|><|endoftext|>
87
programminghorror
weedebee
g8ad5qq
<|sols|><|sot|>Found in episode 101 of Upload<|eot|><|sol|>https://i.redd.it/5jxq0ihwb4s51.png<|eol|><|sor|>It's all good.. it's the syntax error that's invalid, not the code..<|eor|><|eols|><|endoftext|>
52
programminghorror
ghostwilliz
g8a666s
<|sols|><|sot|>Found in episode 101 of Upload<|eot|><|sol|>https://i.redd.it/5jxq0ihwb4s51.png<|eol|><|sor|>This has inspired me to be an HTML python programmer hacker elite.<|eor|><|eols|><|endoftext|>
33
programminghorror
AbsurdistMonk
g8aoiq5
<|sols|><|sot|>Found in episode 101 of Upload<|eot|><|sol|>https://i.redd.it/5jxq0ihwb4s51.png<|eol|><|sor|>HTML Doctype declared almost 700 lines in to a Python file, what a ballsy move. The error line is blank...?<|eor|><|sor|>pretty cool that their IDE is smart enough to detect HTML within a Python file and correctl...
29
programminghorror
Mr_Redstoner
g8aqki3
<|sols|><|sot|>Found in episode 101 of Upload<|eot|><|sol|>https://i.redd.it/5jxq0ihwb4s51.png<|eol|><|sor|>It's all good.. it's the syntax error that's invalid, not the code..<|eor|><|sor|>Doctype html on line 664 of a python file<|eor|><|sor|>For all we know it could be website_template = """ <!doctype html>...
25
programminghorror
sample-name
g8aojo2
<|sols|><|sot|>Found in episode 101 of Upload<|eot|><|sol|>https://i.redd.it/5jxq0ihwb4s51.png<|eol|><|sor|>HTML Doctype declared almost 700 lines in to a Python file, what a ballsy move. The error line is blank...?<|eor|><|sor|>Goddamn broken whitespace. I once spent way too long on an mysterious compiler error that t...
20
programminghorror
Kagia001
g8ap3k7
<|sols|><|sot|>Found in episode 101 of Upload<|eot|><|sol|>https://i.redd.it/5jxq0ihwb4s51.png<|eol|><|sor|>It's all good.. it's the syntax error that's invalid, not the code..<|eor|><|sor|>Doctype html on line 664 of a python file<|eor|><|eols|><|endoftext|>
19
programminghorror
nysten
g8at54e
<|sols|><|sot|>Found in episode 101 of Upload<|eot|><|sol|>https://i.redd.it/5jxq0ihwb4s51.png<|eol|><|sor|>It's all good.. it's the syntax error that's invalid, not the code..<|eor|><|sor|>Doctype html on line 664 of a python file<|eor|><|sor|>For all we know it could be website_template = """ <!doctype html>...
18
programminghorror
anghenfil
g8aospe
<|sols|><|sot|>Found in episode 101 of Upload<|eot|><|sol|>https://i.redd.it/5jxq0ihwb4s51.png<|eol|><|sor|>HTML Doctype declared almost 700 lines in to a Python file, what a ballsy move. The error line is blank...?<|eor|><|sor|>pretty cool that their IDE is smart enough to detect HTML within a Python file and correctl...
17
programminghorror
ACBorgia
g8are2j
<|sols|><|sot|>Found in episode 101 of Upload<|eot|><|sol|>https://i.redd.it/5jxq0ihwb4s51.png<|eol|><|sor|>It's all good.. it's the syntax error that's invalid, not the code..<|eor|><|sor|>Doctype html on line 664 of a python file<|eor|><|sor|>For all we know it could be website_template = """ <!doctype html>...
17
programminghorror
taviken
g8a62jp
<|sols|><|sot|>Found in episode 101 of Upload<|eot|><|sol|>https://i.redd.it/5jxq0ihwb4s51.png<|eol|><|sor|>r/itsaunixsystem<|eor|><|eols|><|endoftext|>
15
programminghorror
esquilax
g8958om
<|sols|><|sot|>Found in episode 101 of Upload<|eot|><|sol|>https://i.redd.it/5jxq0ihwb4s51.png<|eol|><|sor|>That's a great show, though.<|eor|><|eols|><|endoftext|>
15
programminghorror
ToxaKniotee
g8am27s
<|sols|><|sot|>Found in episode 101 of Upload<|eot|><|sol|>https://i.redd.it/5jxq0ihwb4s51.png<|eol|><|sor|>There is no line 687<|eor|><|eols|><|endoftext|>
12
programminghorror
Terrain2
g8auo3t
<|sols|><|sot|>Found in episode 101 of Upload<|eot|><|sol|>https://i.redd.it/5jxq0ihwb4s51.png<|eol|><|sor|>Invalid syntax error so much worse than a valid syntax error.<|eor|><|sor|>What's the difference<|eor|><|sor|>A syntax error is only valid or invalid to humans, This code is correct! The error i am getting is inv...
12
programminghorror
machine3lf
g8ala7g
<|sols|><|sot|>Found in episode 101 of Upload<|eot|><|sol|>https://i.redd.it/5jxq0ihwb4s51.png<|eol|><|sor|>Don't hate, this is next level Python programing with '<new> <project>' markup tags that probably go over your puny mind.<|eor|><|eols|><|endoftext|>
11
programminghorror
AbsurdistMonk
g8aoeen
<|sols|><|sot|>Found in episode 101 of Upload<|eot|><|sol|>https://i.redd.it/5jxq0ihwb4s51.png<|eol|><|sor|>no wonder the uninitiated think programming is incomprehensible gibberish I like how `<head>` never ends.<|eor|><|eols|><|endoftext|>
10
programminghorror
kontrol_kl
919jgc
<|sols|><|sot|>When you leave the junior unsupervised<|eot|><|sol|>https://i.redd.it/jne6v2mhpqb11.png<|eol|><|eols|><|endoftext|>
769
programminghorror
dmitriy_shmilo
e2wgqte
<|sols|><|sot|>When you leave the junior unsupervised<|eot|><|sol|>https://i.redd.it/jne6v2mhpqb11.png<|eol|><|sor|>What's so weird about this? If handler is defined, assign the handler to itself to make sure it stays that way. Haven't you heard about Assertive-Oriented Programming?<|eor|><|eols|><|endoftext|>
160
programminghorror
tevert
e2whk97
<|sols|><|sot|>When you leave the junior unsupervised<|eot|><|sol|>https://i.redd.it/jne6v2mhpqb11.png<|eol|><|sor|>You need to get that junior an IDE smart enough to detect that. "Useless Self-assignment" is a pretty common warning.<|eor|><|eols|><|endoftext|>
141
programminghorror
stopdropandtroll
e2wvcnx
<|sols|><|sot|>When you leave the junior unsupervised<|eot|><|sol|>https://i.redd.it/jne6v2mhpqb11.png<|eol|><|sor|>You need to get that junior an IDE smart enough to detect that. "Useless Self-assignment" is a pretty common warning.<|eor|><|sor|>Some lazy teammate may have put a side effect in a property getter. I hav...
103
programminghorror
tontoto
e2wd5s6
<|sols|><|sot|>When you leave the junior unsupervised<|eot|><|sol|>https://i.redd.it/jne6v2mhpqb11.png<|eol|><|sor|>I don't know what my CR comment would be. Maybe just "No" or "Duuuuuuuude".<|eor|><|sor|>just FYI you sound like a fucking dick when you say stuff like this on a PR review. I am all for a little lolz in ...
58
programminghorror
wengemurphy
e2wwu42
<|sols|><|sot|>When you leave the junior unsupervised<|eot|><|sol|>https://i.redd.it/jne6v2mhpqb11.png<|eol|><|sor|>I worked on a codebase where someone (a very experienced someone, at that) was doing self-assignment to trigger a property's setter, and removing the line broke something.<|eor|><|eols|><|endoftext|>
54
programminghorror
marvin02
e2wn8po
<|sols|><|sot|>When you leave the junior unsupervised<|eot|><|sol|>https://i.redd.it/jne6v2mhpqb11.png<|eol|><|sor|>You need to get that junior an IDE smart enough to detect that. "Useless Self-assignment" is a pretty common warning.<|eor|><|sor|>... I don't think we should be delegating issues as simple as this one to...
51
programminghorror
iwbd
e2wicpo
<|sols|><|sot|>When you leave the junior unsupervised<|eot|><|sol|>https://i.redd.it/jne6v2mhpqb11.png<|eol|><|sor|>What's so weird about this? If handler is defined, assign the handler to itself to make sure it stays that way. Haven't you heard about Assertive-Oriented Programming?<|eor|><|sor|>It's worth noting that ...
50
programminghorror
Dromeo
e2wgf4u
<|sols|><|sot|>When you leave the junior unsupervised<|eot|><|sol|>https://i.redd.it/jne6v2mhpqb11.png<|eol|><|sor|>Maybe they left that in there to stick a breakpoint on it?<|eor|><|eols|><|endoftext|>
46
programminghorror
gabriel-et-al
e2wlues
<|sols|><|sot|>When you leave the junior unsupervised<|eot|><|sol|>https://i.redd.it/jne6v2mhpqb11.png<|eol|><|sor|>Stay cool. Perhaps it's a typo or a copy-paste error and he meant something like if (column.onColumnClick) { column2.onColumnClick = column.onColumnClick } If it's the case, just rememb...
41
programminghorror
draconk
e2xm07n
<|sols|><|sot|>When you leave the junior unsupervised<|eot|><|sol|>https://i.redd.it/jne6v2mhpqb11.png<|eol|><|sor|>I worked on a codebase where someone (a very experienced someone, at that) was doing self-assignment to trigger a property's setter, and removing the line broke something.<|eor|><|sor|>That's the sort of ...
40
programminghorror
Cedric115
e2wda2k
<|sols|><|sot|>When you leave the junior unsupervised<|eot|><|sol|>https://i.redd.it/jne6v2mhpqb11.png<|eol|><|sor|>I don't know what my CR comment would be. Maybe just "No" or "Duuuuuuuude".<|eor|><|sor|>The comment was : "What is the purpose of this?"<|eor|><|eols|><|endoftext|>
37
programminghorror
kontrol_kl
e2wp3oa
<|sols|><|sot|>When you leave the junior unsupervised<|eot|><|sol|>https://i.redd.it/jne6v2mhpqb11.png<|eol|><|sor|>Stay cool. Perhaps it's a typo or a copy-paste error and he meant something like if (column.onColumnClick) { column2.onColumnClick = column.onColumnClick } If it's the case, just rememb...
30
programminghorror
Aethyx_
e2xldbj
<|sols|><|sot|>When you leave the junior unsupervised<|eot|><|sol|>https://i.redd.it/jne6v2mhpqb11.png<|eol|><|sor|>I worked on a codebase where someone (a very experienced someone, at that) was doing self-assignment to trigger a property's setter, and removing the line broke something.<|eor|><|sor|>That's the sort of ...
26
programminghorror
wengemurphy
e2wwi1d
<|sols|><|sot|>When you leave the junior unsupervised<|eot|><|sol|>https://i.redd.it/jne6v2mhpqb11.png<|eol|><|sor|>Do people's juniors actually write bad code?<|eor|><|sor|>Yes. They can solve problems, but as the problem gets more complex, the code gets sloppier, because they don't have enough experience to organize ...
20
programminghorror
irbilldozer
e2wyoeq
<|sols|><|sot|>When you leave the junior unsupervised<|eot|><|sol|>https://i.redd.it/jne6v2mhpqb11.png<|eol|><|sor|>I don't know what my CR comment would be. Maybe just "No" or "Duuuuuuuude".<|eor|><|sor|>The comment was : "What is the purpose of this?"<|eor|><|sor|>[deleted]<|eor|><|sor|>Ah yeah that totally helps. I...
19
programminghorror
wengemurphy
e2wwnsk
<|sols|><|sot|>When you leave the junior unsupervised<|eot|><|sol|>https://i.redd.it/jne6v2mhpqb11.png<|eol|><|sor|>You need to get that junior an IDE smart enough to detect that. "Useless Self-assignment" is a pretty common warning.<|eor|><|sor|>... I don't think we should be delegating issues as simple as this one to...
16
programminghorror
cholantesh
e2woo5k
<|sols|><|sot|>When you leave the junior unsupervised<|eot|><|sol|>https://i.redd.it/jne6v2mhpqb11.png<|eol|><|sor|>What's so weird about this? If handler is defined, assign the handler to itself to make sure it stays that way. Haven't you heard about Assertive-Oriented Programming?<|eor|><|sor|>It's worth noting that ...
15
programminghorror
Drarok
e2wguvj
<|sols|><|sot|>When you leave the junior unsupervised<|eot|><|sol|>https://i.redd.it/jne6v2mhpqb11.png<|eol|><|sor|>I don't know what my CR comment would be. Maybe just "No" or "Duuuuuuuude".<|eor|><|sor|>just FYI you sound like a fucking dick when you say stuff like this on a PR review. I am all for a little lolz in ...
15
programminghorror
thorn42
7j1pla
<|sols|><|sot|>Inheritance<|eot|><|sol|>https://i.redd.it/hk4egme27a301.png<|eol|><|eols|><|endoftext|>
769
programminghorror
KillerCodeMonky
dr2zu6a
<|sols|><|sot|>Inheritance<|eot|><|sol|>https://i.redd.it/hk4egme27a301.png<|eol|><|sor|>Yep! Most people willfully ignore Liskov substitution, then wonder why their program is so hard to reason about... Maybe it has something to do with the complete loss of semantic reasoning, while you now consider every possible per...
97
programminghorror
jpasserby
dr387m6
<|sols|><|sot|>Inheritance<|eot|><|sol|>https://i.redd.it/hk4egme27a301.png<|eol|><|sor|>I worked on a codebase responsible for sending travel email. *CancellationEmail* extended *ConfirmationEmail*. But it's okay, because there was a comment explaining how messed up this was.<|eor|><|eols|><|endoftext|>
96
programminghorror
BonafideKarmabitch
dr39svi
<|sols|><|sot|>Inheritance<|eot|><|sol|>https://i.redd.it/hk4egme27a301.png<|eol|><|sor|>I worked on a codebase responsible for sending travel email. *CancellationEmail* extended *ConfirmationEmail*. But it's okay, because there was a comment explaining how messed up this was.<|eor|><|sor|>// TODO: Temp code will fix<|...
86
programminghorror
cypressious
dr31pq8
<|sols|><|sot|>Inheritance<|eot|><|sol|>https://i.redd.it/hk4egme27a301.png<|eol|><|sor|>Yep! Most people willfully ignore Liskov substitution, then wonder why their program is so hard to reason about... Maybe it has something to do with the complete loss of semantic reasoning, while you now consider every possible per...
82
programminghorror
j13jayther
dr3xbon
<|sols|><|sot|>Inheritance<|eot|><|sol|>https://i.redd.it/hk4egme27a301.png<|eol|><|sor|>I worked on a codebase responsible for sending travel email. *CancellationEmail* extended *ConfirmationEmail*. But it's okay, because there was a comment explaining how messed up this was.<|eor|><|sor|>// TODO: Temp code will fix<|...
71
programminghorror
DeedleFake
dr3243z
<|sols|><|sot|>Inheritance<|eot|><|sol|>https://i.redd.it/hk4egme27a301.png<|eol|><|sor|>Yep! Most people willfully ignore Liskov substitution, then wonder why their program is so hard to reason about... Maybe it has something to do with the complete loss of semantic reasoning, while you now consider every possible per...
57
programminghorror
j13jayther
dr3xhma
<|sols|><|sot|>Inheritance<|eot|><|sol|>https://i.redd.it/hk4egme27a301.png<|eol|><|sor|>Yep! Most people willfully ignore Liskov substitution, then wonder why their program is so hard to reason about... Maybe it has something to do with the complete loss of semantic reasoning, while you now consider every possible per...
17
programminghorror
rawSingularity
dr40gct
<|sols|><|sot|>Inheritance<|eot|><|sol|>https://i.redd.it/hk4egme27a301.png<|eol|><|sor|>@Override EVERYTHING<|eor|><|eols|><|endoftext|>
11
programminghorror
throwawaysomth
dr3c8qt
<|sols|><|sot|>Inheritance<|eot|><|sol|>https://i.redd.it/hk4egme27a301.png<|eol|><|sor|>Yep! Most people willfully ignore Liskov substitution, then wonder why their program is so hard to reason about... Maybe it has something to do with the complete loss of semantic reasoning, while you now consider every possible per...
11
programminghorror
oldrinb
dr3d711
<|sols|><|sot|>Inheritance<|eot|><|sol|>https://i.redd.it/hk4egme27a301.png<|eol|><|sor|>Yep! Most people willfully ignore Liskov substitution, then wonder why their program is so hard to reason about... Maybe it has something to do with the complete loss of semantic reasoning, while you now consider every possible per...
11
programminghorror
cypressious
dr32kt1
<|sols|><|sot|>Inheritance<|eot|><|sol|>https://i.redd.it/hk4egme27a301.png<|eol|><|sor|>Yep! Most people willfully ignore Liskov substitution, then wonder why their program is so hard to reason about... Maybe it has something to do with the complete loss of semantic reasoning, while you now consider every possible per...
10
programminghorror
oldrinb
dr3d203
<|sols|><|sot|>Inheritance<|eot|><|sol|>https://i.redd.it/hk4egme27a301.png<|eol|><|sor|>Yep! Most people willfully ignore Liskov substitution, then wonder why their program is so hard to reason about... Maybe it has something to do with the complete loss of semantic reasoning, while you now consider every possible per...
6
programminghorror
KillerCodeMonky
dr45fwd
<|sols|><|sot|>Inheritance<|eot|><|sol|>https://i.redd.it/hk4egme27a301.png<|eol|><|sor|>Yep! Most people willfully ignore Liskov substitution, then wonder why their program is so hard to reason about... Maybe it has something to do with the complete loss of semantic reasoning, while you now consider every possible per...
6
programminghorror
henkdepotvjis
pqa6bn
<|sols|><|sot|>Does anyone have a good spell that can summon the demon who wrote this?<|eot|><|sol|>https://i.redd.it/0guxycfi25o71.jpg<|eol|><|eols|><|endoftext|>
779
programminghorror
Kattou
hd9yist
<|sols|><|sot|>Does anyone have a good spell that can summon the demon who wrote this?<|eot|><|sol|>https://i.redd.it/0guxycfi25o71.jpg<|eol|><|sor|>Ahh, $Paginas... Non-english variables are the best, aren't they? Oh wait, there's also $Pages... hmm.<|eor|><|sor|>I actually had a discussion about this with some cowork...
150
programminghorror
_ahrs
hda4uu1
<|sols|><|sot|>Does anyone have a good spell that can summon the demon who wrote this?<|eot|><|sol|>https://i.redd.it/0guxycfi25o71.jpg<|eol|><|sor|>Ahh, $Paginas... Non-english variables are the best, aren't they? Oh wait, there's also $Pages... hmm.<|eor|><|sor|>I actually had a discussion about this with some cowork...
71
programminghorror
BrokenAndDeadMoon
hdbdix4
<|sols|><|sot|>Does anyone have a good spell that can summon the demon who wrote this?<|eot|><|sol|>https://i.redd.it/0guxycfi25o71.jpg<|eol|><|sor|>r/screenshotsarehard<|eor|><|eols|><|endoftext|>
43
programminghorror
Jonno_FTW
hdbhfhk
<|sols|><|sot|>Does anyone have a good spell that can summon the demon who wrote this?<|eot|><|sol|>https://i.redd.it/0guxycfi25o71.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>`git exorcise`<|eor|><|eols|><|endoftext|>
41
programminghorror
AttackOfTheThumbs
hda500x
<|sols|><|sot|>Does anyone have a good spell that can summon the demon who wrote this?<|eot|><|sol|>https://i.redd.it/0guxycfi25o71.jpg<|eol|><|sor|>Ahh, $Paginas... Non-english variables are the best, aren't they? Oh wait, there's also $Pages... hmm.<|eor|><|sor|>I actually had a discussion about this with some cowork...
40
programminghorror
homerocda
hd9zpdg
<|sols|><|sot|>Does anyone have a good spell that can summon the demon who wrote this?<|eot|><|sol|>https://i.redd.it/0guxycfi25o71.jpg<|eol|><|sor|>Ah... The old "PHP page index code". Every old-school PHP programmer has written their own version of this at some point.<|eor|><|eols|><|endoftext|>
39
programminghorror
ciuciunatorr
hd9jpav
<|sols|><|sot|>Does anyone have a good spell that can summon the demon who wrote this?<|eot|><|sol|>https://i.redd.it/0guxycfi25o71.jpg<|eol|><|sor|>Php was the first OOP language I learned really really well. I learned it on the side starting in freshman year of hs while doing CS classes learning Java. Honestly not su...
39
programminghorror
gauthamkrishna9991
hdaukcm
<|sols|><|sot|>Does anyone have a good spell that can summon the demon who wrote this?<|eot|><|sol|>https://i.redd.it/0guxycfi25o71.jpg<|eol|><|sor|>Ahh, $Paginas... Non-english variables are the best, aren't they? Oh wait, there's also $Pages... hmm.<|eor|><|sor|>I actually had a discussion about this with some cowork...
36
programminghorror
sgtpepper9907
hd9k1d6
<|sols|><|sot|>Does anyone have a good spell that can summon the demon who wrote this?<|eot|><|sol|>https://i.redd.it/0guxycfi25o71.jpg<|eol|><|sor|>Php was the first OOP language I learned really really well. I learned it on the side starting in freshman year of hs while doing CS classes learning Java. Honestly not su...
33
programminghorror
templarrei
hdbaaas
<|sols|><|sot|>Does anyone have a good spell that can summon the demon who wrote this?<|eot|><|sol|>https://i.redd.it/0guxycfi25o71.jpg<|eol|><|sor|>Dope, I have the same monitor. Have you heard of screenshots tho?<|eor|><|eols|><|endoftext|>
30
programminghorror
uninhm
hdbx8wy
<|sols|><|sot|>Does anyone have a good spell that can summon the demon who wrote this?<|eot|><|sol|>https://i.redd.it/0guxycfi25o71.jpg<|eol|><|sor|>Ahh, $Paginas... Non-english variables are the best, aren't they? Oh wait, there's also $Pages... hmm.<|eor|><|sor|>I actually had a discussion about this with some cowork...
30
programminghorror
GMaestrolo
hd9qa36
<|sols|><|sot|>Does anyone have a good spell that can summon the demon who wrote this?<|eot|><|sol|>https://i.redd.it/0guxycfi25o71.jpg<|eol|><|sor|>Php was the first OOP language I learned really really well. I learned it on the side starting in freshman year of hs while doing CS classes learning Java. Honestly not su...
29
programminghorror
rangeDSP
hd9rkfw
<|sols|><|sot|>Does anyone have a good spell that can summon the demon who wrote this?<|eot|><|sol|>https://i.redd.it/0guxycfi25o71.jpg<|eol|><|sor|>Php was the first OOP language I learned really really well. I learned it on the side starting in freshman year of hs while doing CS classes learning Java. Honestly not su...
21
programminghorror
Mc_UsernameTaken
hd9izf4
<|sols|><|sot|>Does anyone have a good spell that can summon the demon who wrote this?<|eot|><|sol|>https://i.redd.it/0guxycfi25o71.jpg<|eol|><|sor|>Its just called PHP mkay?<|eor|><|sor|>You can write crap in other languages too, just saying.<|eor|><|eols|><|endoftext|>
20
programminghorror
Austerzockt
hdbbjrh
<|sols|><|sot|>Does anyone have a good spell that can summon the demon who wrote this?<|eot|><|sol|>https://i.redd.it/0guxycfi25o71.jpg<|eol|><|sor|>Ahh, $Paginas... Non-english variables are the best, aren't they? Oh wait, there's also $Pages... hmm.<|eor|><|sor|>I actually had a discussion about this with some cowork...
18
programminghorror
blackhawksq
hdaakxd
<|sols|><|sot|>Does anyone have a good spell that can summon the demon who wrote this?<|eot|><|sol|>https://i.redd.it/0guxycfi25o71.jpg<|eol|><|sor|>When developers don't know how to take screen captures...<|eor|><|eols|><|endoftext|>
16
programminghorror
Kattou
hd9zfcb
<|sols|><|sot|>Does anyone have a good spell that can summon the demon who wrote this?<|eot|><|sol|>https://i.redd.it/0guxycfi25o71.jpg<|eol|><|sor|>Php was the first OOP language I learned really really well. I learned it on the side starting in freshman year of hs while doing CS classes learning Java. Honestly not su...
16
programminghorror
Racerdude
hdbozfa
<|sols|><|sot|>Does anyone have a good spell that can summon the demon who wrote this?<|eot|><|sol|>https://i.redd.it/0guxycfi25o71.jpg<|eol|><|sor|>So you're a programmer... And this is the way you share your screenshots? By taking photographs of them? What kind of reaction do you usually get from fellow programmers?<...
15
programminghorror
srt54558
wu3hg7
<|sols|><|sot|>I wish he was joking<|eot|><|sol|>https://i.redd.it/5gpxo5lxk0j91.png<|eol|><|eols|><|endoftext|>
771
programminghorror
neopod9000
il7sdih
<|sols|><|sot|>I wish he was joking<|eot|><|sol|>https://i.redd.it/5gpxo5lxk0j91.png<|eol|><|sor|>While true...<|eor|><|eols|><|endoftext|>
132
programminghorror
Johanno1
il86w0v
<|sols|><|sot|>I wish he was joking<|eot|><|sol|>https://i.redd.it/5gpxo5lxk0j91.png<|eol|><|sor|>Shouldn't it just have been a for loop?<|eor|><|sor|>Nah you have to help the compiler of course /s<|eor|><|eols|><|endoftext|>
55
programminghorror
Interesting-Big1980
il7tnuv
<|sols|><|sot|>I wish he was joking<|eot|><|sol|>https://i.redd.it/5gpxo5lxk0j91.png<|eol|><|sor|>Shouldn't it just have been a for loop?<|eor|><|eols|><|endoftext|>
52
programminghorror
djimbob
ila8xv4
<|sols|><|sot|>I wish he was joking<|eot|><|sol|>https://i.redd.it/5gpxo5lxk0j91.png<|eol|><|sor|>I mean it's roblox (a video game that lets you make levels in Lua where [over half of Roblox users are under 13](https://www.statista.com/statistics/1190869/roblox-games-users-global-distribution-age/)). This is likely wr...
51
programminghorror
1thief
il9egm0
<|sols|><|sot|>I wish he was joking<|eot|><|sol|>https://i.redd.it/5gpxo5lxk0j91.png<|eol|><|sor|>I predict this person is gonna be a great programmer some day. That day is just not today.<|eor|><|eols|><|endoftext|>
49
programminghorror
cAPSLOCK567
il8cm98
<|sols|><|sot|>I wish he was joking<|eot|><|sol|>https://i.redd.it/5gpxo5lxk0j91.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Any idea why transparency gets set back to 1 at the end?<|eor|><|eols|><|endoftext|>
35
programminghorror
wPatriot
il8m269
<|sols|><|sot|>I wish he was joking<|eot|><|sol|>https://i.redd.it/5gpxo5lxk0j91.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Any idea why transparency gets set back to 1 at the end?<|eor|><|sor|>Looks to me like it's supposed to "throb" periodically, not so much fade from one state to the other.<|eor|><|eols|><|endoftext|>
33
programminghorror
mastermindxs
il9maja
<|sols|><|sot|>I wish he was joking<|eot|><|sol|>https://i.redd.it/5gpxo5lxk0j91.png<|eol|><|sor|>While true...<|eor|><|sor|>Big<|eor|><|eols|><|endoftext|>
21
programminghorror
Invidia1999
il9g34e
<|sols|><|sot|>I wish he was joking<|eot|><|sol|>https://i.redd.it/5gpxo5lxk0j91.png<|eol|><|sor|>Shouldn't it just have been a for loop?<|eor|><|sor|>Nah you have to help the compiler of course /s<|eor|><|sor|>\#CompilerLivesMatter<|eor|><|eols|><|endoftext|>
21
programminghorror
jstwtchngrnd
ila8li5
<|sols|><|sot|>I wish he was joking<|eot|><|sol|>https://i.redd.it/5gpxo5lxk0j91.png<|eol|><|sor|>I mean, that's one way to do it<|eor|><|sor|>And i think nearly everyone would have done it like this at the beginning of programming<|eor|><|eols|><|endoftext|>
16
programminghorror
BurningPenguin
ilaqwkr
<|sols|><|sot|>I wish he was joking<|eot|><|sol|>https://i.redd.it/5gpxo5lxk0j91.png<|eol|><|sor|>I mean, that's one way to do it<|eor|><|sor|>And i think nearly everyone would have done it like this at the beginning of programming<|eor|><|sor|>Not me. I'd have searched a few days for some easier way to do it, fail to ...
14
programminghorror
resueman__
il9lkn9
<|sols|><|sot|>I wish he was joking<|eot|><|sol|>https://i.redd.it/5gpxo5lxk0j91.png<|eol|><|sor|>what wrong<|eor|><|eols|><|endoftext|>
13
programminghorror
Julian12214YT
il915c6
<|sols|><|sot|>I wish he was joking<|eot|><|sol|>https://i.redd.it/5gpxo5lxk0j91.png<|eol|><|sor|>Shouldn't it just have been a for loop?<|eor|><|sor|>Nah you have to help the compiler of course /s<|eor|><|sor|>funniest thing is roblox studio doesnt compile scripts<|eor|><|eols|><|endoftext|>
12
programminghorror
NanotechSci
il9moci
<|sols|><|sot|>I wish he was joking<|eot|><|sol|>https://i.redd.it/5gpxo5lxk0j91.png<|eol|><|sor|>what wrong<|eor|><|sor|>You can simplify the code with a for loop. Edit: And there's no indentation in the code<|eor|><|eols|><|endoftext|>
7
programminghorror
oghGuy
il9031m
<|sols|><|sot|>I wish he was joking<|eot|><|sol|>https://i.redd.it/5gpxo5lxk0j91.png<|eol|><|sor|>Clearly evolved over a long time. At any point the ongoing changes brought meaning.<|eor|><|eols|><|endoftext|>
6
programminghorror
HepABC123
ilbjus5
<|sols|><|sot|>I wish he was joking<|eot|><|sol|>https://i.redd.it/5gpxo5lxk0j91.png<|eol|><|sor|>I mean, that's one way to do it<|eor|><|sor|>And i think nearly everyone would have done it like this at the beginning of programming<|eor|><|sor|>Not me. I'd have searched a few days for some easier way to do it, fail to ...
5
programminghorror
alexvoedi
133b0zn
<|sols|><|sot|>Someone who used to work at the same company as I do has produced this code<|eot|><|sol|>https://i.redd.it/gcr7epsd0xwa1.png<|eol|><|eols|><|endoftext|>
771
programminghorror
dismayhurta
ji9baeb
<|sols|><|sot|>Someone who used to work at the same company as I do has produced this code<|eot|><|sol|>https://i.redd.it/gcr7epsd0xwa1.png<|eol|><|sor|>Variables must have murdered their family and this is their revenge<|eor|><|eols|><|endoftext|>
452
programminghorror
volivav
ji9qab1
<|sols|><|sot|>Someone who used to work at the same company as I do has produced this code<|eot|><|sol|>https://i.redd.it/gcr7epsd0xwa1.png<|eol|><|sor|>I understand minified code better than this function<|eor|><|eols|><|endoftext|>
261
programminghorror
forever-transitional
ji9ece8
<|sols|><|sot|>Someone who used to work at the same company as I do has produced this code<|eot|><|sol|>https://i.redd.it/gcr7epsd0xwa1.png<|eol|><|sor|>aaa!<|eor|><|eols|><|endoftext|>
185
programminghorror
Piorn
jia0nn9
<|sols|><|sot|>Someone who used to work at the same company as I do has produced this code<|eot|><|sol|>https://i.redd.it/gcr7epsd0xwa1.png<|eol|><|sor|>Guys, we need to step up the code quality. No more single letter variables! A proper variable should have at least 3 letters. *Ok boss, I'm on it!*<|eor|><|eols|><|en...
164
programminghorror
dtarias
ji9g0ww
<|sols|><|sot|>Someone who used to work at the same company as I do has produced this code<|eot|><|sol|>https://i.redd.it/gcr7epsd0xwa1.png<|eol|><|sor|>"I don't need documentation, my code is self-documenting"<|eor|><|eols|><|endoftext|>
150
programminghorror
NiteShdw
ji9zjjs
<|sols|><|sot|>Someone who used to work at the same company as I do has produced this code<|eot|><|sol|>https://i.redd.it/gcr7epsd0xwa1.png<|eol|><|sor|>I understand minified code better than this function<|eor|><|sor|>Ive been writing JavaScript for like 15 years and I cant figure out what the hell this does.<|eor|><|...
105
programminghorror
fsckitnet
ji9eqp4
<|sols|><|sot|>Someone who used to work at the same company as I do has produced this code<|eot|><|sol|>https://i.redd.it/gcr7epsd0xwa1.png<|eol|><|sor|>aaa!<|eor|><|sor|>Thats the sound you make when youre asked to do this code review.<|eor|><|eols|><|endoftext|>
91