subreddit
stringclasses
7 values
author
stringlengths
3
20
id
stringlengths
5
7
content
stringlengths
67
30.4k
score
int64
0
140k
programminghorror
RoxSpirit
hpa41pm
<|sols|><|sot|>That's the way it was done<|eot|><|sol|>https://imgur.com/8I7HFfI<|eol|><|sor|>I don't think it's "programminghorror", but more "programming genious". It's just not the same era plus coding on hardware is always something else. It remind me of the "HTML/pseudojavascript" debugger I've written when Int...
5
programminghorror
CrimsonCreatorTTV
sm9e6e
<|sols|><|sot|>oh no<|eot|><|sol|>https://i.redd.it/a8o51ugufag81.png<|eol|><|eols|><|endoftext|>
802
programminghorror
Gordon-Freeman-PhD
hvvc4kd
<|sols|><|sot|>oh no<|eot|><|sol|>https://i.redd.it/a8o51ugufag81.png<|eol|><|sor|>You do realize this is a deliberate custom error page, designed to look authentic, yet full of sarcastic techno mumble nonsense, right?<|eor|><|eols|><|endoftext|>
247
programminghorror
Who_GNU
hvvdevr
<|sols|><|sot|>oh no<|eot|><|sol|>https://i.redd.it/a8o51ugufag81.png<|eol|><|sor|>This is why you should keep [a local copy](https://www.reddit.com/r/DataHoarder/comments/pm8xoy/updated_stack_overflow_zim_file_20210906/).<|eor|><|eols|><|endoftext|>
188
programminghorror
Who_GNU
hvvd77k
<|sols|><|sot|>oh no<|eot|><|sol|>https://i.redd.it/a8o51ugufag81.png<|eol|><|sor|>You do realize this is a deliberate custom error page, designed to look authentic, yet full of sarcastic techno mumble nonsense, right?<|eor|><|sor|>The important thing here is that Stack Overflow is down.<|eor|><|eols|><|endoftext|>
114
programminghorror
ZuriPL
hvvf45j
<|sols|><|sot|>oh no<|eot|><|sol|>https://i.redd.it/a8o51ugufag81.png<|eol|><|sor|>You do realize this is a deliberate custom error page, designed to look authentic, yet full of sarcastic techno mumble nonsense, right?<|eor|><|sor|>The whole post is just about stackoverflow being down<|eor|><|eols|><|endoftext|>
69
programminghorror
TerrorBite
hvwamkm
<|sols|><|sot|>oh no<|eot|><|sol|>https://i.redd.it/a8o51ugufag81.png<|eol|><|sor|>The images are just "we opened MSVCR100.DLL in vim, searched for stack overflow, and then took a screenshot using every vim colour theme we could find"<|eor|><|eols|><|endoftext|>
47
programminghorror
Xirenec_
hvvh7va
<|sols|><|sot|>oh no<|eot|><|sol|>https://i.redd.it/a8o51ugufag81.png<|eol|><|sor|>Tbh this maintenance page is very confusing. All the crap on it distracts from useful info that stackoverflow is actually on maintenance<|eor|><|eols|><|endoftext|>
45
programminghorror
monkeywench
hvw3eol
<|sols|><|sot|>oh no<|eot|><|sol|>https://i.redd.it/a8o51ugufag81.png<|eol|><|sor|>This is why you should keep [a local copy](https://www.reddit.com/r/DataHoarder/comments/pm8xoy/updated_stack_overflow_zim_file_20210906/).<|eor|><|sor|><|eor|><|eols|><|endoftext|>
32
programminghorror
visualdescript
hvw3kmt
<|sols|><|sot|>oh no<|eot|><|sol|>https://i.redd.it/a8o51ugufag81.png<|eol|><|sor|>Tbh this maintenance page is very confusing. All the crap on it distracts from useful info that stackoverflow is actually on maintenance<|eor|><|sor|>I think that's the point<|eor|><|eols|><|endoftext|>
28
programminghorror
CdRReddit
hvvd2bc
<|sols|><|sot|>oh no<|eot|><|sol|>https://i.redd.it/a8o51ugufag81.png<|eol|><|sor|>You do realize this is a deliberate custom error page, designed to look authentic, yet full of sarcastic techno mumble nonsense, right?<|eor|><|sor|>still, the site's offline for a bit, which is also Bad<|eor|><|eols|><|endoftext|>
24
programminghorror
The56thBenjie
hvvrud3
<|sols|><|sot|>oh no<|eot|><|sol|>https://i.redd.it/a8o51ugufag81.png<|eol|><|sor|>Why do people use StackOverflow so much? To me it doesn't seem so helpful<|eor|><|sor|>I use documentation when I know what I'm looking for. When I don't, stackoverflow does.<|eor|><|eols|><|endoftext|>
23
programminghorror
Machinal-i
hvvlzjj
<|sols|><|sot|>oh no<|eot|><|sol|>https://i.redd.it/a8o51ugufag81.png<|eol|><|sor|>Why do people use StackOverflow so much? To me it doesn't seem so helpful<|eor|><|sor|>It's one of the first results that show up whenever you search smth about programming<|eor|><|eols|><|endoftext|>
13
programminghorror
carcigenicate
hvvrm07
<|sols|><|sot|>oh no<|eot|><|sol|>https://i.redd.it/a8o51ugufag81.png<|eol|><|sor|>This is a long one too. Usually they get them resolved pretty quickly.<|eor|><|eols|><|endoftext|>
8
programminghorror
StenSoft
hvvk1z1
<|sols|><|sot|>oh no<|eot|><|sol|>https://i.redd.it/a8o51ugufag81.png<|eol|><|sor|>It's Microsoft C Run-Time Library viewed on Unix<|eor|><|eols|><|endoftext|>
7
programminghorror
xxmalik
hvyfq8n
<|sols|><|sot|>oh no<|eot|><|sol|>https://i.redd.it/a8o51ugufag81.png<|eol|><|sor|>This is why you should keep [a local copy](https://www.reddit.com/r/DataHoarder/comments/pm8xoy/updated_stack_overflow_zim_file_20210906/).<|eor|><|sor|>Waiting for the browser extension that incorporates this when you click an SO link i...
6
programminghorror
vee2xx
hvvlyk8
<|sols|><|sot|>oh no<|eot|><|sol|>https://i.redd.it/a8o51ugufag81.png<|eol|><|sor|>Oh no! I feel like someone has removed half my brain! I have some Sunday afternoon ~~copy and pasting~~ coding to do!<|eor|><|eols|><|endoftext|>
5
programminghorror
ekolis
ezzby5
<|sols|><|sot|>Include ALL the jQueries!<|eot|><|sol|>https://i.redd.it/wqxuz2epedf41.png<|eol|><|eols|><|endoftext|>
803
programminghorror
thewristlocker
fgrgx5e
<|sols|><|sot|>Include ALL the jQueries!<|eot|><|sol|>https://i.redd.it/wqxuz2epedf41.png<|eol|><|sor|>I like how they added the non-minified 1.4.4 in case the other version got lonely<|eor|><|eols|><|endoftext|>
154
programminghorror
darthbob88
fgquwst
<|sols|><|sot|>Include ALL the jQueries!<|eot|><|sol|>https://i.redd.it/wqxuz2epedf41.png<|eol|><|sor|>I actually needed to do this for one website, where our service relied on something from jQuery >1.4, but they relied on a method in <1.4, so we had to use both versions simultaneously. I am real glad I got out of tha...
75
programminghorror
powerhcm8
fgs8g78
<|sols|><|sot|>Include ALL the jQueries!<|eot|><|sol|>https://i.redd.it/wqxuz2epedf41.png<|eol|><|sor|>I like how they added the non-minified 1.4.4 in case the other version got lonely<|eor|><|sor|>1.4.4.mim: you complete me 1.4.4: <3<|eor|><|eols|><|endoftext|>
48
programminghorror
MrMeepson
fgr3y8f
<|sols|><|sot|>Include ALL the jQueries!<|eot|><|sol|>https://i.redd.it/wqxuz2epedf41.png<|eol|><|sor|>They just need to be reeeeaaaal sure that jQuery is there<|eor|><|eols|><|endoftext|>
21
programminghorror
Kawaiieg
fgrz5p6
<|sols|><|sot|>Include ALL the jQueries!<|eot|><|sol|>https://i.redd.it/wqxuz2epedf41.png<|eol|><|sor|>while (!$) ...<|eor|><|eols|><|endoftext|>
20
programminghorror
illegal_semicolon
fgrizad
<|sols|><|sot|>Include ALL the jQueries!<|eot|><|sol|>https://i.redd.it/wqxuz2epedf41.png<|eol|><|sor|>I actually needed to do this for one website, where our service relied on something from jQuery >1.4, but they relied on a method in <1.4, so we had to use both versions simultaneously. I am real glad I got out of tha...
19
programminghorror
tech6hutch
fgsectn
<|sols|><|sot|>Include ALL the jQueries!<|eot|><|sol|>https://i.redd.it/wqxuz2epedf41.png<|eol|><|sor|>I like how they added the non-minified 1.4.4 in case the other version got lonely<|eor|><|sor|>1.4.4.mim: you complete me 1.4.4: <3<|eor|><|sor|>Indeed, 1.4.4 < 3<|eor|><|eols|><|endoftext|>
17
programminghorror
lengau
fgsr56p
<|sols|><|sot|>Include ALL the jQueries!<|eot|><|sol|>https://i.redd.it/wqxuz2epedf41.png<|eol|><|sor|>I like how they added the non-minified 1.4.4 in case the other version got lonely<|eor|><|sor|>1.4.4.mim: you complete me 1.4.4: <3<|eor|><|sor|>Indeed, 1.4.4 < 3<|eor|><|sor|>Hmm... I'm sceptical... *Opens python ...
14
programminghorror
orondf343
fgs8gqy
<|sols|><|sot|>Include ALL the jQueries!<|eot|><|sol|>https://i.redd.it/wqxuz2epedf41.png<|eol|><|sor|>At work I have to deal with this occasionally in an old intranet site that I develop for. There are a few versions of jQuery and also a few mystery scripts (including "jquery.js" which includes some random version of ...
13
programminghorror
digera
fgsftlr
<|sols|><|sot|>Include ALL the jQueries!<|eot|><|sol|>https://i.redd.it/wqxuz2epedf41.png<|eol|><|sor|>Don't make fun... I forgot which one works with my code<|eor|><|eols|><|endoftext|>
10
programminghorror
webby_mc_webberson
fgqpzoy
<|sols|><|sot|>Include ALL the jQueries!<|eot|><|sol|>https://i.redd.it/wqxuz2epedf41.png<|eol|><|sor|>each file should contain only the deltas from the previous files and their dependencies.<|eor|><|eols|><|endoftext|>
8
programminghorror
dewakaputo
fgtc29x
<|sols|><|sot|>Include ALL the jQueries!<|eot|><|sol|>https://i.redd.it/wqxuz2epedf41.png<|eol|><|sor|>They just need to be reeeeaaaal sure that jQuery is there<|eor|><|sor|>Will the real jQuery please stand up?<|eor|><|eols|><|endoftext|>
8
programminghorror
ssjskipp
fgsic76
<|sols|><|sot|>Include ALL the jQueries!<|eot|><|sol|>https://i.redd.it/wqxuz2epedf41.png<|eol|><|sor|>each file should contain only the deltas from the previous files and their dependencies.<|eor|><|sor|>That is definitely not going to be true especially for the minified ones<|eor|><|eols|><|endoftext|>
7
programminghorror
plistig
fgt51wb
<|sols|><|sot|>Include ALL the jQueries!<|eot|><|sol|>https://i.redd.it/wqxuz2epedf41.png<|eol|><|sor|>I actually needed to do this for one website, where our service relied on something from jQuery >1.4, but they relied on a method in <1.4, so we had to use both versions simultaneously. I am real glad I got out of tha...
7
programminghorror
qaisjp
fgsxde4
<|sols|><|sot|>Include ALL the jQueries!<|eot|><|sol|>https://i.redd.it/wqxuz2epedf41.png<|eol|><|sor|>I actually needed to do this for one website, where our service relied on something from jQuery >1.4, but they relied on a method in <1.4, so we had to use both versions simultaneously. I am real glad I got out of tha...
6
programminghorror
tech6hutch
fgsefq6
<|sols|><|sot|>Include ALL the jQueries!<|eot|><|sol|>https://i.redd.it/wqxuz2epedf41.png<|eol|><|sor|>while (!$) ...<|eor|><|sor|>Inb4 they're all in no-$ mode (I forget the name) and that's an infinite loop<|eor|><|eols|><|endoftext|>
5
programminghorror
ekolis
fgsfon7
<|sols|><|sot|>Include ALL the jQueries!<|eot|><|sol|>https://i.redd.it/wqxuz2epedf41.png<|eol|><|sor|>[deleted]<|eor|><|soopr|>Gotta catch em all!<|eoopr|><|eols|><|endoftext|>
5
programminghorror
GoBackToLeddit
v2cior
<|sols|><|sot|>I love looking through my old code from the early 2000's when I was first learning to program<|eot|><|sol|>https://i.redd.it/9725wu055z291.png<|eol|><|eols|><|endoftext|>
801
programminghorror
jarrydn
iarlxs9
<|sols|><|sot|>I love looking through my old code from the early 2000's when I was first learning to program<|eot|><|sol|>https://i.redd.it/9725wu055z291.png<|eol|><|sor|>looks good, I'd ship this<|eor|><|eols|><|endoftext|>
245
programminghorror
mohragk
iarnk7p
<|sols|><|sot|>I love looking through my old code from the early 2000's when I was first learning to program<|eot|><|sol|>https://i.redd.it/9725wu055z291.png<|eol|><|sor|>I dunno, looks pretty reasonable to me. Most software engineers overcomplicate things by creating abstractions and try to make the Best Technical S...
237
programminghorror
simspostings
iarowue
<|sols|><|sot|>I love looking through my old code from the early 2000's when I was first learning to program<|eot|><|sol|>https://i.redd.it/9725wu055z291.png<|eol|><|sor|>whew!<|eor|><|eols|><|endoftext|>
76
programminghorror
spacezombiejesus
iartkk2
<|sols|><|sot|>I love looking through my old code from the early 2000's when I was first learning to program<|eot|><|sol|>https://i.redd.it/9725wu055z291.png<|eol|><|sor|>I dunno, looks pretty reasonable to me. Most software engineers overcomplicate things by creating abstractions and try to make the Best Technical S...
72
programminghorror
bearly_breathing
iarubrm
<|sols|><|sot|>I love looking through my old code from the early 2000's when I was first learning to program<|eot|><|sol|>https://i.redd.it/9725wu055z291.png<|eol|><|sor|>I prefer readable and maintainable over fewer lines of code. I spend all day reading uncommented code thats my age. Im bald.<|eor|><|eols|><|endoftex...
59
programminghorror
BluudLust
iarzutf
<|sols|><|sot|>I love looking through my old code from the early 2000's when I was first learning to program<|eot|><|sol|>https://i.redd.it/9725wu055z291.png<|eol|><|sor|>What's wrong with it aside from not passing the hands and feet in as parameters? And that really isn't a problem since it's tutorial code. It's bette...
38
programminghorror
mohragk
ias1kvg
<|sols|><|sot|>I love looking through my old code from the early 2000's when I was first learning to program<|eot|><|sol|>https://i.redd.it/9725wu055z291.png<|eol|><|sor|>I dunno, looks pretty reasonable to me. Most software engineers overcomplicate things by creating abstractions and try to make the Best Technical S...
37
programminghorror
mothzilla
iat5sb3
<|sols|><|sot|>I love looking through my old code from the early 2000's when I was first learning to program<|eot|><|sol|>https://i.redd.it/9725wu055z291.png<|eol|><|sor|>looks good, I'd ship this<|eor|><|sor|>Needs dockerization, otherwise LGTM.<|eor|><|eols|><|endoftext|>
36
programminghorror
jruschme
ias389n
<|sols|><|sot|>I love looking through my old code from the early 2000's when I was first learning to program<|eot|><|sol|>https://i.redd.it/9725wu055z291.png<|eol|><|sor|>What's wrong with it aside from not passing the hands and feet in as parameters? And that really isn't a problem since it's tutorial code. It's bette...
19
programminghorror
BigFuckingCringe
iarpmwl
<|sols|><|sot|>I love looking through my old code from the early 2000's when I was first learning to program<|eot|><|sol|>https://i.redd.it/9725wu055z291.png<|eol|><|sor|>I remember when i started to program - VB was the shit for me. Pretty simple and it had actual docs in my language<|eor|><|eols|><|endoftext|>
17
programminghorror
G4merXsquaD
iatczgt
<|sols|><|sot|>I love looking through my old code from the early 2000's when I was first learning to program<|eot|><|sol|>https://i.redd.it/9725wu055z291.png<|eol|><|sor|>looks good, I'd ship this<|eor|><|sor|>Needs dockerization, otherwise LGTM.<|eor|><|sor|>Ah yes, an entire fookin virtual machine instead of just usi...
14
programminghorror
Maros_99
ias1uwc
<|sols|><|sot|>I love looking through my old code from the early 2000's when I was first learning to program<|eot|><|sol|>https://i.redd.it/9725wu055z291.png<|eol|><|sor|>I dunno, looks pretty reasonable to me. Most software engineers overcomplicate things by creating abstractions and try to make the Best Technical S...
13
programminghorror
thegreatpotatogod
iatkxx5
<|sols|><|sot|>I love looking through my old code from the early 2000's when I was first learning to program<|eot|><|sol|>https://i.redd.it/9725wu055z291.png<|eol|><|sor|>501 hands, 501 feet. Whew!<|eor|><|eols|><|endoftext|>
9
programminghorror
tyco_brahe
iase9jb
<|sols|><|sot|>I love looking through my old code from the early 2000's when I was first learning to program<|eot|><|sol|>https://i.redd.it/9725wu055z291.png<|eol|><|sor|>I dunno, looks pretty reasonable to me. Most software engineers overcomplicate things by creating abstractions and try to make the Best Technical S...
9
programminghorror
jordanbtucker
iasydwz
<|sols|><|sot|>I love looking through my old code from the early 2000's when I was first learning to program<|eot|><|sol|>https://i.redd.it/9725wu055z291.png<|eol|><|sor|>What's wrong with it aside from not passing the hands and feet in as parameters? And that really isn't a problem since it's tutorial code. It's bette...
9
programminghorror
GoBackToLeddit
iatnc9t
<|sols|><|sot|>I love looking through my old code from the early 2000's when I was first learning to program<|eot|><|sol|>https://i.redd.it/9725wu055z291.png<|eol|><|sor|>What's wrong with it aside from not passing the hands and feet in as parameters? And that really isn't a problem since it's tutorial code. It's bette...
8
programminghorror
alekspiridonov
iasgeij
<|sols|><|sot|>I love looking through my old code from the early 2000's when I was first learning to program<|eot|><|sol|>https://i.redd.it/9725wu055z291.png<|eol|><|sor|>What's wrong with it aside from not passing the hands and feet in as parameters? And that really isn't a problem since it's tutorial code. It's bette...
7
programminghorror
KillerCodeMonky
ias7ll4
<|sols|><|sot|>I love looking through my old code from the early 2000's when I was first learning to program<|eot|><|sol|>https://i.redd.it/9725wu055z291.png<|eol|><|sor|>I dunno, looks pretty reasonable to me. Most software engineers overcomplicate things by creating abstractions and try to make the Best Technical S...
6
programminghorror
merodac
iatbi7n
<|sols|><|sot|>I love looking through my old code from the early 2000's when I was first learning to program<|eot|><|sol|>https://i.redd.it/9725wu055z291.png<|eol|><|sor|>I dunno, looks pretty reasonable to me. Most software engineers overcomplicate things by creating abstractions and try to make the Best Technical S...
5
programminghorror
Nicnl
q2gg5l
<|sols|><|sot|>If without if, and for without for<|eot|><|sol|>https://i.redd.it/v2ccoh5rmsr71.png<|eol|><|eols|><|endoftext|>
802
programminghorror
TheBrainStone
hflbfph
<|sols|><|sot|>If without if, and for without for<|eot|><|sol|>https://i.redd.it/v2ccoh5rmsr71.png<|eol|><|sor|>I'd prefer `(!cond)-1` Makes it shorter by one byte and adds to the WTF<|eor|><|eols|><|endoftext|>
175
programminghorror
TheOnlyMisterFlow
hflwv5k
<|sols|><|sot|>If without if, and for without for<|eot|><|sol|>https://i.redd.it/v2ccoh5rmsr71.png<|eol|><|sor|>The guy just invented functional programming<|eor|><|eols|><|endoftext|>
99
programminghorror
ZylonBane
hflomul
<|sols|><|sot|>If without if, and for without for<|eot|><|sol|>https://i.redd.it/v2ccoh5rmsr71.png<|eol|><|sor|>Nice, but why?<|eor|><|sor|>Its JavaScript. Do you need a reason?<|eor|><|sor|>It may shock you to learn that people have been pointlessly abusing languages long before JavaScript existed.<|eor|><|eols|><|end...
88
programminghorror
Nicnl
hflcn2n
<|sols|><|sot|>If without if, and for without for<|eot|><|sol|>https://i.redd.it/v2ccoh5rmsr71.png<|eol|><|sor|>I'd prefer `(!cond)-1` Makes it shorter by one byte and adds to the WTF<|eor|><|soopr|>I like that. A lot. EDIT: I managed to get rid of two additional bytes: `!cond*1`<|eoopr|><|eols|><|endoftext|>
74
programminghorror
Motylde
hfl2t52
<|sols|><|sot|>If without if, and for without for<|eot|><|sol|>https://i.redd.it/v2ccoh5rmsr71.png<|eol|><|sor|>Nice, but why?<|eor|><|eols|><|endoftext|>
66
programminghorror
the_monkey_of_lies
hfl9ede
<|sols|><|sot|>If without if, and for without for<|eot|><|sol|>https://i.redd.it/v2ccoh5rmsr71.png<|eol|><|sor|>Nice, but why?<|eor|><|sor|>Get the unsuspecting teammates to use it for years for the whole code base and then add a 1/1000 change it will do the opposite or leave out an element when iterating.<|eor|><|eols...
64
programminghorror
AnonymeR77
hflff63
<|sols|><|sot|>If without if, and for without for<|eot|><|sol|>https://i.redd.it/v2ccoh5rmsr71.png<|eol|><|sor|>This is actually really cool, even if it's completely useless !<|eor|><|eols|><|endoftext|>
28
programminghorror
dlauritzen
hfl3h5w
<|sols|><|sot|>If without if, and for without for<|eot|><|sol|>https://i.redd.it/v2ccoh5rmsr71.png<|eol|><|sor|>Nice, but why?<|eor|><|sor|>Its JavaScript. Do you need a reason?<|eor|><|eols|><|endoftext|>
28
programminghorror
great_site_not
hfm5hb4
<|sols|><|sot|>If without if, and for without for<|eot|><|sol|>https://i.redd.it/v2ccoh5rmsr71.png<|eol|><|sor|>I'd prefer `(!cond)-1` Makes it shorter by one byte and adds to the WTF<|eor|><|soopr|>I like that. A lot. EDIT: I managed to get rid of two additional bytes: `!cond*1`<|eoopr|><|sor|>Nice, but you left ...
27
programminghorror
LeEliteChicken
hfldhup
<|sols|><|sot|>If without if, and for without for<|eot|><|sol|>https://i.redd.it/v2ccoh5rmsr71.png<|eol|><|sor|>Spoiler alert: for loops are always recursive. Sort of.<|eor|><|sor|>Bienvenido a functional programming<|eor|><|eols|><|endoftext|>
17
programminghorror
jvlomax
hfm3bhm
<|sols|><|sot|>If without if, and for without for<|eot|><|sol|>https://i.redd.it/v2ccoh5rmsr71.png<|eol|><|sor|>This is actually a good learning exercise, especially on using generics. I might actually steal this one as a junior exercise to implement in whatever language we are working in<|eor|><|eols|><|endoftext|>
15
programminghorror
linuxlib
hfmtvgb
<|sols|><|sot|>If without if, and for without for<|eot|><|sol|>https://i.redd.it/v2ccoh5rmsr71.png<|eol|><|sor|>Nice, but why?<|eor|><|sor|>Its JavaScript. Do you need a reason?<|eor|><|sor|>They should just use forEach. function For(tableau, callback) { tableau.forEach(function(elem, i) { call...
15
programminghorror
korras
hfm0mnc
<|sols|><|sot|>If without if, and for without for<|eot|><|sol|>https://i.redd.it/v2ccoh5rmsr71.png<|eol|><|sor|>I'd prefer `(!cond)-1` Makes it shorter by one byte and adds to the WTF<|eor|><|soopr|>I like that. A lot. EDIT: I managed to get rid of two additional bytes: `!cond*1`<|eoopr|><|sor|>took me a while to ...
14
programminghorror
Michaelz35699
hflt95n
<|sols|><|sot|>If without if, and for without for<|eot|><|sol|>https://i.redd.it/v2ccoh5rmsr71.png<|eol|><|sor|>The if definition reminds me of lambda calculus. Somehow.<|eor|><|eols|><|endoftext|>
10
programminghorror
KoboldCleric
hflr03q
<|sols|><|sot|>If without if, and for without for<|eot|><|sol|>https://i.redd.it/v2ccoh5rmsr71.png<|eol|><|sor|>What's the theme?<|eor|><|sor|>Maurice Ravels Bolero. Edit: yakety sax<|eor|><|eols|><|endoftext|>
10
programminghorror
geeshta
hflpb5b
<|sols|><|sot|>If without if, and for without for<|eot|><|sol|>https://i.redd.it/v2ccoh5rmsr71.png<|eol|><|sor|>What's the theme?<|eor|><|eols|><|endoftext|>
9
programminghorror
mohragk
hflc5yb
<|sols|><|sot|>If without if, and for without for<|eot|><|sol|>https://i.redd.it/v2ccoh5rmsr71.png<|eol|><|sor|>Spoiler alert: for loops are always recursive. Sort of.<|eor|><|eols|><|endoftext|>
8
programminghorror
Deadly_chef
hfm2xo3
<|sols|><|sot|>If without if, and for without for<|eot|><|sol|>https://i.redd.it/v2ccoh5rmsr71.png<|eol|><|sor|>This is actually an improvement. Makes the language more consistent.<|eor|><|sor|>More consistently shit<|eor|><|eols|><|endoftext|>
8
programminghorror
JimmyyyyW
hfm8x4w
<|sols|><|sot|>If without if, and for without for<|eot|><|sol|>https://i.redd.it/v2ccoh5rmsr71.png<|eol|><|sor|>This is actually a good learning exercise, especially on using generics. I might actually steal this one as a junior exercise to implement in whatever language we are working in<|eor|><|sor|>Please elaborate ...
7
programminghorror
kacjugr
11av0i6
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|eols|><|endoftext|>
802
programminghorror
Cool-Letterhead4629
j9u7q32
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|sor|>11k lines <|eor|><|eols|><|endoftext|>
512
programminghorror
kpingvin
j9u8wap
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|sor|>I love the `// end method` comment. It's so long you need a road sign :D<|eor|><|eols|><|endoftext|>
430
programminghorror
TheRealQuarak
j9ue7yk
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|sor|>More lines == more productive.<|eor|><|eols|><|endoftext|>
201
programminghorror
b1ack1323
j9wll6c
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|sor|>11k lines <|eor|><|sor|>I have a nightmare of a file 163k lines. With a 8k line for loop that uses i as the index.<|eor|><|eols|><|endoftext|>
157
programminghorror
kacjugr
j9uyfhz
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|sor|>Well, first of all, technically nullptr is not the same as NULL (usually defined as 0). Right? So, returning nullptr is not necessarily returning 0. I stand corrected, it is sincee...
103
programminghorror
hydronucleus
j9uqx9m
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|sor|>Well, first of all, technically nullptr is not the same as NULL (usually defined as 0). Right? So, returning nullptr is not necessarily returning 0. I stand corrected, it is sincee...
96
programminghorror
flying_spaguetti
j9uibw0
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|sor|>More lines == more productive.<|eor|><|sor|>Found the Elon Musk<|eor|><|eols|><|endoftext|>
83
programminghorror
TheRealQuarak
j9uecd9
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|sor|>11k lines <|eor|><|sor|>Best version of hello world ever.<|eor|><|eols|><|endoftext|>
78
programminghorror
justaguy101
j9udb3m
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|sor|>I love the `// end method` comment. It's so long you need a road sign :D<|eor|><|sor|>Looks just like our sql server stored procedures<|eor|><|eols|><|endoftext|>
69
programminghorror
va_str
j9vihgv
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|sor|>As far as nonsense code goes, this just works. Could be way worse, and quitting leaves you with a good chance to end up some place where it is.<|eor|><|eols|><|endoftext|>
47
programminghorror
kacjugr
j9uimkh
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|soopr|>I see everyone's noticing the line count. But what about the fact that this is 100% equivalent to having no null-check? 'return mostAvailableInfo;'<|eoopr|><|eols|><|endoftex...
37
programminghorror
nezumisys
j9vs9ya
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|sor|>honestly if that's the worst you've seen in your codebase you got a great gig<|eor|><|eols|><|endoftext|>
36
programminghorror
timinc
j9xqckm
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|sor|>11k lines <|eor|><|sor|>I have a nightmare of a file 163k lines. With a 8k line for loop that uses i as the index.<|eor|><|sor|>Aight so when're we doing a week-long sleepless refac...
33
programminghorror
LucyIsaTumor
j9v9d3e
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|soopr|>I see everyone's noticing the line count. But what about the fact that this is 100% equivalent to having no null-check? 'return mostAvailableInfo;'<|eoopr|><|sor|>The differe...
32
programminghorror
kacjugr
j9uhnur
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|sor|>what is the differentlce between nullptr and NULL?<|eor|><|soopr|>In practical terms, nothing. For the case of this code, it's logically equivalent to 'no object'. In technical te...
31
programminghorror
hydronucleus
j9v7wkl
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|sor|>Well, first of all, technically nullptr is not the same as NULL (usually defined as 0). Right? So, returning nullptr is not necessarily returning 0. I stand corrected, it is sincee...
31
programminghorror
ososalsosal
j9w5lyx
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|sor|>Well, first of all, technically nullptr is not the same as NULL (usually defined as 0). Right? So, returning nullptr is not necessarily returning 0. I stand corrected, it is sincee...
31
programminghorror
Tasgall
j9xa8dj
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|sor|>More lines == more productive.<|eor|><|sor|>Found the Elon Musk<|eor|><|sor|>>Found the Elon Musk I remember Elon actually saying the opposite.<|eor|><|sor|>Who cares what he said ...
29
programminghorror
kacjugr
j9v90j1
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|sor|>Well, first of all, technically nullptr is not the same as NULL (usually defined as 0). Right? So, returning nullptr is not necessarily returning 0. I stand corrected, it is sincee...
27
programminghorror
YBKy
j9ujdj2
<|sols|><|sot|>I found this in our codebase today and contemplated quitting.<|eot|><|sol|>https://i.redd.it/xm1kzm2tu5ka1.jpg<|eol|><|soopr|>I see everyone's noticing the line count. But what about the fact that this is 100% equivalent to having no null-check? 'return mostAvailableInfo;'<|eoopr|><|sor|>when OP nee...
23
programminghorror
tsl143
xerk8o
<|sols|><|sot|>A lowercase letter to define new function, what could go wrong.<|eot|><|sol|>https://i.redd.it/6g4h9lhzjzn91.jpg<|eol|><|eols|><|endoftext|>
798
programminghorror
ketralnis
iojjime
<|sols|><|sot|>A lowercase letter to define new function, what could go wrong.<|eot|><|sol|>https://i.redd.it/6g4h9lhzjzn91.jpg<|eol|><|sor|>No line of code will last longer than the one marked "legacy, remove me later"<|eor|><|eols|><|endoftext|>
248
programminghorror
Sandarr95
iok41br
<|sols|><|sot|>A lowercase letter to define new function, what could go wrong.<|eot|><|sol|>https://i.redd.it/6g4h9lhzjzn91.jpg<|eol|><|sor|>Always snake_case functions and then use uppercase letters to store the binary encoded version number of the function. ``` example_function; //v0 example_functioN; //v1 example_f...
97
programminghorror
Calamero
ioj336t
<|sols|><|sot|>A lowercase letter to define new function, what could go wrong.<|eot|><|sol|>https://i.redd.it/6g4h9lhzjzn91.jpg<|eol|><|sor|>What should have been better naming?<|eor|><|sor|>One that is more verbose about the intend of the new implementation, assuming they are different. A single lowercase letter doesn...
51