subreddit
stringclasses
7 values
author
stringlengths
3
20
id
stringlengths
5
7
content
stringlengths
67
30.4k
score
int64
0
140k
programminghorror
SatisfactionDizzy580
j96ewu3
<|sols|><|sot|>Me and a friend had a bit of fun<|eot|><|sol|>https://i.redd.it/2agywdz686ja1.png<|eol|><|sor|>Why not just word[0:1]<|eor|><|sor|>Why not just word\[:2\] Edit: Made myself look less dumb<|eor|><|sor|>Shouldnt it be word[:2]?<|eor|><|eols|><|endoftext|>
54
programminghorror
pro_questions
j98fzj8
<|sols|><|sot|>Me and a friend had a bit of fun<|eot|><|sol|>https://i.redd.it/2agywdz686ja1.png<|eol|><|sor|>Is it just me or is this code just OK. I mean it's not using slicing. And if you gona get extra fancy you can pop in a stutter loop and add an extra parameter for the stutter amount but I think it's not bad cod...
41
programminghorror
beeteedee
j96lxjo
<|sols|><|sot|>Me and a friend had a bit of fun<|eot|><|sol|>https://i.redd.it/2agywdz686ja1.png<|eol|><|sor|>Or ((word[:2]+"... ")*2)+word<|eor|><|sor|>Multiplying variables of different types is not a good idea Edit: you win. I thought f-strings would give you a more type safe way to repeat strings. I didn't find an...
40
programminghorror
TinyBreadBigMouth
j97pswy
<|sols|><|sot|>Me and a friend had a bit of fun<|eot|><|sol|>https://i.redd.it/2agywdz686ja1.png<|eol|><|sor|>Or ((word[:2]+"... ")*2)+word<|eor|><|sor|>Shorter, but massively less readable. I can understand the original code at glance. To understand this I have to squint and count parentheses. I would call this much w...
34
programminghorror
Grubzer
j97jmbl
<|sols|><|sot|>Me and a friend had a bit of fun<|eot|><|sol|>https://i.redd.it/2agywdz686ja1.png<|eol|><|sor|>He... He... Hello World!<|eor|><|sor|>r/hehe<|eor|><|eols|><|endoftext|>
30
programminghorror
Tweeks
j96x8hy
<|sols|><|sot|>Me and a friend had a bit of fun<|eot|><|sol|>https://i.redd.it/2agywdz686ja1.png<|eol|><|sor|>Ok, this is just cute.<|eor|><|eols|><|endoftext|>
24
programminghorror
PM_ME_YOUR_POLYGONS
j98o7nk
<|sols|><|sot|>Me and a friend had a bit of fun<|eot|><|sol|>https://i.redd.it/2agywdz686ja1.png<|eol|><|sor|>Is it just me or is this code just OK. I mean it's not using slicing. And if you gona get extra fancy you can pop in a stutter loop and add an extra parameter for the stutter amount but I think it's not bad cod...
23
programminghorror
LightspeedChonker
j97kkr3
<|sols|><|sot|>Me and a friend had a bit of fun<|eot|><|sol|>https://i.redd.it/2agywdz686ja1.png<|eol|><|sor|>Comment is incorrect. The 'k' should be capitalized.<|eor|><|eols|><|endoftext|>
22
programminghorror
Eiim
j97mx3p
<|sols|><|sot|>Me and a friend had a bit of fun<|eot|><|sol|>https://i.redd.it/2agywdz686ja1.png<|eol|><|sor|>Is it just me or is this code just OK. I mean it's not using slicing. And if you gona get extra fancy you can pop in a stutter loop and add an extra parameter for the stutter amount but I think it's not bad cod...
20
programminghorror
funfact15
j96ky0t
<|sols|><|sot|>Me and a friend had a bit of fun<|eot|><|sol|>https://i.redd.it/2agywdz686ja1.png<|eol|><|sor|>Or ((word[:2]+"... ")*2)+word<|eor|><|sor|>Multiplying variables of different types is not a good idea Edit: you win. I thought f-strings would give you a more type safe way to repeat strings. I didn't find an...
19
programminghorror
BluudLust
j96t3wh
<|sols|><|sot|>Me and a friend had a bit of fun<|eot|><|sol|>https://i.redd.it/2agywdz686ja1.png<|eol|><|sor|>Or ((word[:2]+"... ")*2)+word<|eor|><|sor|>Multiplying variables of different types is not a good idea Edit: you win. I thought f-strings would give you a more type safe way to repeat strings. I didn't find an...
18
programminghorror
grammatiker
j97cbtr
<|sols|><|sot|>Me and a friend had a bit of fun<|eot|><|sol|>https://i.redd.it/2agywdz686ja1.png<|eol|><|sor|>You managed to use full names for variables ? I'd only use a=w[:2] to define stutter1<|eor|><|sor|>That's really poor coding practice<|eor|><|eols|><|endoftext|>
15
programminghorror
Creepy-Ad-4832
j97a603
<|sols|><|sot|>Me and a friend had a bit of fun<|eot|><|sol|>https://i.redd.it/2agywdz686ja1.png<|eol|><|sor|>Empty string be like: Let me introduce myself!<|eor|><|eols|><|endoftext|>
14
programminghorror
Buoyancy_aid
12i99os
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|eols|><|endoftext|>
872
programminghorror
private_birb
jfsohbh
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|sor|>Lovely lovely. Extra points for the fact passwords are apparently stored as plaintext as well.<|eor|><|eols|><|endoftext|>
506
programminghorror
helanti
jft077o
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|sor|>Lovely lovely. Extra points for the fact passwords are apparently stored as plaintext as well.<|eor|><|sor|>My favorite pick in this code is that the whole user base is read to frontend. It enables intelligent features such ...
288
programminghorror
Creeperofhope
jfst8a6
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|sor|>Wait, this is user facing? What's stopping you from just dumping the database?<|eor|><|sor|>The kindness of your heart<|eor|><|eols|><|endoftext|>
198
programminghorror
yessiest
jfsqvkh
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|sor|>``` apiService.sql("DROP TABLE users") ``` am i doing this "sql injection" thing right? honestly though i hope what got into the wallpaper stays in the wallpaper<|eor|><|eols|><|endoftext|>
196
programminghorror
xmpp
jfspd8l
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|sor|>The longer I look, the worse it gets.<|eor|><|eols|><|endoftext|>
155
programminghorror
FM-96
jfth50z
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|sor|>Lovely lovely. Extra points for the fact passwords are apparently stored as plaintext as well.<|eor|><|sor|>My favorite pick in this code is that the whole user base is read to frontend. It enables intelligent features such ...
134
programminghorror
opalelement
jftj9w0
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|sor|>Lovely lovely. Extra points for the fact passwords are apparently stored as plaintext as well.<|eor|><|sor|>My favorite pick in this code is that the whole user base is read to frontend. It enables intelligent features such ...
105
programminghorror
h4xrk1m
jfsqisx
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|sor|>Wait, this is user facing? What's stopping you from just dumping the database?<|eor|><|eols|><|endoftext|>
98
programminghorror
Buoyancy_aid
jfsrror
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|sor|>New programmer here, wtf is the point of the if "true" === "true" return false bit?<|eor|><|soopr|>to make the code base larger<|eoopr|><|eols|><|endoftext|>
77
programminghorror
IrishChappieOToole
jfsrcg0
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|sor|>I shudder whenever I see SQL in client JS. I don't even want to know how it gets from there to the DB. Nope, no vulnerabilities here<|eor|><|eols|><|endoftext|>
74
programminghorror
Key_Conversation5277
jfsty4v
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|sor|>`if("true" === "true") return false; ` What???<|eor|><|eols|><|endoftext|>
73
programminghorror
pxOMR
jfsr8ts
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|sor|>``` apiService.sql("DROP TABLE users") ``` am i doing this "sql injection" thing right? honestly though i hope what got into the wallpaper stays in the wallpaper<|eor|><|sor|>oh this is definitely on a production server so...
68
programminghorror
PyroCatt
jfssjiv
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|sor|>On the positive side, this code cannot be SQL injected<|eor|><|eols|><|endoftext|>
61
programminghorror
AJ2016man
jfswgxx
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|sor|>`if("true" === "true") return false; ` What???<|eor|><|sor|>For when you want to make sure that the equals sign is still working<|eor|><|eols|><|endoftext|>
56
programminghorror
I-am-fun-at-parties
jft554p
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|sor|>Wait, this is user facing? What's stopping you from just dumping the database?<|eor|><|sor|>The same stopping you from just setting the "loggedin" cookie to 1<|eor|><|eols|><|endoftext|>
51
programminghorror
DemonicBarbequee
jfsrosw
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|sor|>New programmer here, wtf is the point of the if "true" === "true" return false bit?<|eor|><|eols|><|endoftext|>
48
programminghorror
PyroCatt
jfswml4
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|sor|>Wait, this is user facing? What's stopping you from just dumping the database?<|eor|><|sor|>The kindness of your heart<|eor|><|sor|>And my axe!<|eor|><|eols|><|endoftext|>
47
programminghorror
NotAlwaysSunny
jfsxy2d
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|sor|>On the positive side, this code cannot be SQL injected<|eor|><|sor|>You would not need to inject to fuck with the server in this case. You would intercept the request that apiService.sql is sending and just resubmit it with ...
44
programminghorror
twisted1919
jfsu5lp
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|sor|>This is just made up, this cant just exist for real, no chance. It looks made up from all angles you look at it. I hope.<|eor|><|eols|><|endoftext|>
43
programminghorror
Romejanic
jfsok0t
<|sols|><|sot|>code for wallpaper<|eot|><|sol|>https://i.redd.it/kjlk2dt6c8ta1.jpg<|eol|><|sor|>That is absolutely horrific. How could they possibly be stupid enough to be using jquery<|eor|><|eols|><|endoftext|>
37
programminghorror
jmona789
blsy2h
<|sols|><|sot|>Early programming horror<|eot|><|sol|>https://i.imgur.com/6MJWnhQ.jpg<|eol|><|eols|><|endoftext|>
876
programminghorror
DanyDies4Lightbrnger
emr8ddt
<|sols|><|sot|>Early programming horror<|eot|><|sol|>https://i.imgur.com/6MJWnhQ.jpg<|eol|><|sor|>The real horror is dropping a stack of them that you forgot to number<|eor|><|eols|><|endoftext|>
110
programminghorror
Moosetappropriate
emrcpqy
<|sols|><|sot|>Early programming horror<|eot|><|sol|>https://i.imgur.com/6MJWnhQ.jpg<|eol|><|sor|>The real horror is dropping a stack of them that you forgot to number<|eor|><|sor|>Oh yes. Been there, done that. Once. You don't do it twice.<|eor|><|eols|><|endoftext|>
61
programminghorror
zapatoada
emra8yr
<|sols|><|sot|>Early programming horror<|eot|><|sol|>https://i.imgur.com/6MJWnhQ.jpg<|eol|><|sor|>My parents had some great stories about my sister (2 at the time) dumping my mom's punch cards or slapping the power button on the computer right as mom was finishing a project (before she punched it to cards).<|eor|><|eol...
32
programminghorror
FastFullScan
ems72xi
<|sols|><|sot|>Early programming horror<|eot|><|sol|>https://i.imgur.com/6MJWnhQ.jpg<|eol|><|sor|>The real horror is dropping a stack of them that you forgot to number<|eor|><|sor|>Ah, a floor sort....<|eor|><|eols|><|endoftext|>
26
programminghorror
campbellm
emr57i9
<|sols|><|sot|>Early programming horror<|eot|><|sol|>https://i.imgur.com/6MJWnhQ.jpg<|eol|><|sor|>Folded, spindled, and mutilated. Shame.<|eor|><|eols|><|endoftext|>
19
programminghorror
GrumpyPenguin
ems91zh
<|sols|><|sot|>Early programming horror<|eot|><|sol|>https://i.imgur.com/6MJWnhQ.jpg<|eol|><|sor|>My parents had some great stories about my sister (2 at the time) dumping my mom's punch cards or slapping the power button on the computer right as mom was finishing a project (before she punched it to cards).<|eor|><|sor...
19
programminghorror
Speedswiper
emscr5t
<|sols|><|sot|>Early programming horror<|eot|><|sol|>https://i.imgur.com/6MJWnhQ.jpg<|eol|><|sor|>I'm curious how these work. Why don't they teach there in schools? And how the first, ever, "software" was created. Still boggles my mind how machines understands machine code.<|eor|><|sor|>There's no need to teach these i...
19
programminghorror
Moosetappropriate
emrdxqf
<|sols|><|sot|>Early programming horror<|eot|><|sol|>https://i.imgur.com/6MJWnhQ.jpg<|eol|><|sor|>The real horror is dropping a stack of them that you forgot to number<|eor|><|sor|>Oh yes. Been there, done that. Once. You don't do it twice.<|eor|><|sor|>I feel like it would be easier to cut your losses and just reprogr...
19
programminghorror
coyote_den
emrebmd
<|sols|><|sot|>Early programming horror<|eot|><|sol|>https://i.imgur.com/6MJWnhQ.jpg<|eol|><|sor|>Rumor has it a fun thing to do was punching out every position on a card and slipping it into the middle of someones stack.<|eor|><|eols|><|endoftext|>
18
programminghorror
FUZxxl
ems3r1q
<|sols|><|sot|>Early programming horror<|eot|><|sol|>https://i.imgur.com/6MJWnhQ.jpg<|eol|><|sor|>The real horror is dropping a stack of them that you forgot to number<|eor|><|sor|>That's why apart from numbering the cards, experienced operators would also draw a diagonal line over the deck. This allows the operator t...
18
programminghorror
death1252
emrdi6m
<|sols|><|sot|>Early programming horror<|eot|><|sol|>https://i.imgur.com/6MJWnhQ.jpg<|eol|><|sor|>The real horror is dropping a stack of them that you forgot to number<|eor|><|sor|>Oh yes. Been there, done that. Once. You don't do it twice.<|eor|><|sor|>I feel like it would be easier to cut your losses and just reprogr...
18
programminghorror
thisisnotme1212
emrzra7
<|sols|><|sot|>Early programming horror<|eot|><|sol|>https://i.imgur.com/6MJWnhQ.jpg<|eol|><|sor|>I'm curious how these work. Why don't they teach there in schools? And how the first, ever, "software" was created. Still boggles my mind how machines understands machine code.<|eor|><|eols|><|endoftext|>
13
programminghorror
shagieIsMe
emshv4o
<|sols|><|sot|>Early programming horror<|eot|><|sol|>https://i.imgur.com/6MJWnhQ.jpg<|eol|><|sor|>The real horror is dropping a stack of them that you forgot to number<|eor|><|sor|>In fortran, columns 73-80 where reserved / comment. Many people would use this for putting a line number (kind of like in numbered basic d...
12
programminghorror
BlazingThunder30
emr6lx1
<|sols|><|sot|>Early programming horror<|eot|><|sol|>https://i.imgur.com/6MJWnhQ.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>Edited by PowerDeleteSuite for protection of my own privacy<|eor|><|eols|><|endoftext|>
12
programminghorror
WikiTextBot
ems5zp1
<|sols|><|sot|>Early programming horror<|eot|><|sol|>https://i.imgur.com/6MJWnhQ.jpg<|eol|><|sor|>Rumor has it a fun thing to do was punching out every position on a card and slipping it into the middle of someones stack.<|eor|><|sor|>https://en.wikipedia.org/wiki/Lace_card<|eor|><|sor|>**Lace card** A lace card is a ...
12
programminghorror
FiggleDee
ems5z8f
<|sols|><|sot|>Early programming horror<|eot|><|sol|>https://i.imgur.com/6MJWnhQ.jpg<|eol|><|sor|>Rumor has it a fun thing to do was punching out every position on a card and slipping it into the middle of someones stack.<|eor|><|sor|>https://en.wikipedia.org/wiki/Lace_card<|eor|><|eols|><|endoftext|>
10
programminghorror
zapatoada
emsa8rb
<|sols|><|sot|>Early programming horror<|eot|><|sol|>https://i.imgur.com/6MJWnhQ.jpg<|eol|><|sor|>My parents had some great stories about my sister (2 at the time) dumping my mom's punch cards or slapping the power button on the computer right as mom was finishing a project (before she punched it to cards).<|eor|><|sor...
10
programminghorror
shagieIsMe
emsjz46
<|sols|><|sot|>Early programming horror<|eot|><|sol|>https://i.imgur.com/6MJWnhQ.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>Fortran 77 was punchcard. In the early 90s, my numerical method class hadn't updated to fortran 90 yet. While the windows in the basement of CS to hand decks to the operators to had long since been...
8
programminghorror
shagieIsMe
emsi2mp
<|sols|><|sot|>Early programming horror<|eot|><|sol|>https://i.imgur.com/6MJWnhQ.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>Fortran 77 was punchcard. In the early 90s, my numerical method class hadn't updated to fortran 90 yet. While the windows in the basement of CS to hand decks to the operators to had long since been...
5
programminghorror
neelotpalp
wfgb20
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|eols|><|endoftext|>
871
programminghorror
lucferon
iitqnfg
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|sor|>I actually worked on a vb5 codebase that couldn't be debugged because "Procedure too large".... Nightmares<|eor|><|eols|><|endoftext|>
294
programminghorror
NotAskary
iiu2u00
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|sor|>i dont get it?<|eor|><|sor|>God class anti pattern Aka wth do you have 16k lines of code. I now feel happy to only ever experienced 5k.<|eor|><|eols|><|endoftext|>
154
programminghorror
TheFreebooter
iiu5d02
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|sor|>i dont get it?<|eor|><|sor|>God class anti pattern Aka wth do you have 16k lines of code. I now feel happy to only ever experienced 5k.<|eor|><|sor|>Meanwhile cookie clicker is 24,000 lines of pure old-school javascript It's ...
121
programminghorror
Far_Manufacturer_684
iiw04p4
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|sor|>I actually worked on a vb5 codebase that couldn't be debugged because "Procedure too large".... Nightmares<|eor|><|sor|>There's a couple methods in our C# code base that simply cannot be debugged. One is 40,000+ lines. I said a ...
113
programminghorror
jstwtchngrnd
iitv3xx
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|sor|>Ah is this some legacy code some devs wanted to refactor but there was no time?<|eor|><|eols|><|endoftext|>
90
programminghorror
supersharp
iitshmq
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|sor|>How can you tell? I feel like for all I know, the file could just end there<|eor|><|eols|><|endoftext|>
83
programminghorror
Nyghtrid3r
iivtu84
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|sor|>i dont get it?<|eor|><|sor|>God class anti pattern Aka wth do you have 16k lines of code. I now feel happy to only ever experienced 5k.<|eor|><|sor|>Meanwhile cookie clicker is 24,000 lines of pure old-school javascript It's ...
76
programminghorror
CSS_Engineer
iiw0qgs
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|sor|>I actually worked on a vb5 codebase that couldn't be debugged because "Procedure too large".... Nightmares<|eor|><|sor|>There's a couple methods in our C# code base that simply cannot be debugged. One is 40,000+ lines. I said a ...
75
programminghorror
BurlHopsBridge
iiuma9n
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|sor|>Ah is this some legacy code some devs wanted to refactor but there was no time?<|eor|><|sor|>You gotta make the time. I inflate my estimates on new features just to address technical debt. Otherwise they don't pay for it.<|eor|>...
71
programminghorror
Familiar_Ad_8919
iityb14
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|sor|>i dont get it?<|eor|><|eols|><|endoftext|>
68
programminghorror
imcostaaa
iivl955
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|sor|>Man im working in a 300,000+ embedded C codebase with multiple files over 10000 lines I always feel like once I understand a component of the files a new monster is born from further questions. Pray for me.<|eor|><|eols|><|endo...
53
programminghorror
iamghostling
iiu0abu
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|sor|>I dont know why people find big files "horror". At least everything is in one place<|eor|><|sor|>All hail the sacred monolith!<|eor|><|eols|><|endoftext|>
53
programminghorror
NombreEsErro
iiw54wt
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|sor|>I actually worked on a vb5 codebase that couldn't be debugged because "Procedure too large".... Nightmares<|eor|><|sor|>There's a couple methods in our C# code base that simply cannot be debugged. One is 40,000+ lines. I said a ...
53
programminghorror
lucferon
iivjdgn
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|sor|>I actually worked on a vb5 codebase that couldn't be debugged because "Procedure too large".... Nightmares<|eor|><|sor|>How big was it?!<|eor|><|sor|>There where some subs (void methods) over 5k lines, not a single comment...<|e...
44
programminghorror
audioman1999
iiu41x0
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|sor|>I dont know why people find big files "horror". At least everything is in one place<|eor|><|sor|>I'm not sure if this is sarcasm, if it's not: for the same reason a thesis has chapters and a table of content instead of just a to...
40
programminghorror
TheFreebooter
iiu6la9
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|sor|>i dont get it?<|eor|><|sor|>God class anti pattern Aka wth do you have 16k lines of code. I now feel happy to only ever experienced 5k.<|eor|><|sor|>Meanwhile cookie clicker is 24,000 lines of pure old-school javascript It's ...
40
programminghorror
Papellll
iiu37zg
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|sor|>I dont know why people find big files "horror". At least everything is in one place<|eor|><|sor|>I'm not sure if this is sarcasm, if it's not: for the same reason a thesis has chapters and a table of content instead of just a to...
37
programminghorror
pcgamerwannabe
iiw6d5m
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|sor|>I actually worked on a vb5 codebase that couldn't be debugged because "Procedure too large".... Nightmares<|eor|><|sor|>There's a couple methods in our C# code base that simply cannot be debugged. One is 40,000+ lines. I said a ...
31
programminghorror
Familiar_Ad_8919
iiu6b9g
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|sor|>i dont get it?<|eor|><|sor|>God class anti pattern Aka wth do you have 16k lines of code. I now feel happy to only ever experienced 5k.<|eor|><|sor|>Meanwhile cookie clicker is 24,000 lines of pure old-school javascript It's ...
31
programminghorror
NotAskary
iiu639o
<|sols|><|sot|>Lines overflow<|eot|><|sol|>https://i.redd.it/xluxsub30kf91.jpg<|eol|><|sor|>i dont get it?<|eor|><|sor|>God class anti pattern Aka wth do you have 16k lines of code. I now feel happy to only ever experienced 5k.<|eor|><|sor|>Meanwhile cookie clicker is 24,000 lines of pure old-school javascript It's ...
31
programminghorror
Flaudiepie
uduhm6
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|eols|><|endoftext|>
879
programminghorror
xcski_paul
i6j3o70
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|sor|>I had a job where we were producing test data for the US Census - basically making data that different systems used so they could test their code before the Census data was collected, so it had to be ...
244
programminghorror
wunderbraten
i6j1owu
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|sor|>Couldn't be a Boolean. 'Jain' is also possible.<|eor|><|eols|><|endoftext|>
88
programminghorror
xcski_paul
i6jcyyz
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|sor|>I had a job where we were producing test data for the US Census - basically making data that different systems used so they could test their code before the Census data was collected, so it had to be ...
85
programminghorror
EdThePro101
i6jc5mc
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|sor|>I had a job where we were producing test data for the US Census - basically making data that different systems used so they could test their code before the Census data was collected, so it had to be ...
80
programminghorror
_DontYouLaugh
i6j808e
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|sor|>Comment in english, name in german... Meh.<|eor|><|eols|><|endoftext|>
61
programminghorror
abejfehr
i6jd5jx
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|sor|>I had a job where we were producing test data for the US Census - basically making data that different systems used so they could test their code before the Census data was collected, so it had to be ...
52
programminghorror
wilczek24
i6je1ex
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|sor|>I had a job where we were producing test data for the US Census - basically making data that different systems used so they could test their code before the Census data was collected, so it had to be ...
37
programminghorror
Flaudiepie
i6j3fjt
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|sor|>Couldn't be a Boolean. 'Jain' is also possible.<|eor|><|soopr|>>Jain So, the result is absolutely random. xD<|eoopr|><|eols|><|endoftext|>
35
programminghorror
person3412
i6jvtnn
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|sor|>I'm contracted with a multinational conglomerate who does this almost exclusively. They use patterns like `xIndicator`, where the field is a string containing either a `"1"` or a `"0"`. \*They won't e...
28
programminghorror
person3412
i6kh4uq
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|sor|>I'm contracted with a multinational conglomerate who does this almost exclusively. They use patterns like `xIndicator`, where the field is a string containing either a `"1"` or a `"0"`. \*They won't e...
27
programminghorror
wilczek24
i6jf58i
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|sor|>I had a job where we were producing test data for the US Census - basically making data that different systems used so they could test their code before the Census data was collected, so it had to be ...
24
programminghorror
abejfehr
i6je8kq
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|sor|>I had a job where we were producing test data for the US Census - basically making data that different systems used so they could test their code before the Census data was collected, so it had to be ...
20
programminghorror
TARN4T1ON
i6jfu7r
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|sor|>I had a job where we were producing test data for the US Census - basically making data that different systems used so they could test their code before the Census data was collected, so it had to be ...
18
programminghorror
xcski_paul
i6j3r5m
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|sor|>Couldn't be a Boolean. 'Jain' is also possible.<|eor|><|sor|>True, False or File_Not_Found?<|eor|><|eols|><|endoftext|>
14
programminghorror
30p87
i6jxivi
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|sor|>Couldn't be a Boolean. 'Jain' is also possible.<|eor|><|sor|>Willst du ~~mit mir gehen~~ die Preise zensieren? Ja o Nein o Vielleicht o<|eor|><|eols|><|endoftext|>
14
programminghorror
person3412
i6l98q5
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|sor|>I'm contracted with a multinational conglomerate who does this almost exclusively. They use patterns like `xIndicator`, where the field is a string containing either a `"1"` or a `"0"`. \*They won't e...
12
programminghorror
EwgB
i6mtxng
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|sor|>In my current company we use "NULL" values in our database. Not NULL mind you, it's a VARCHAR that says "NULL".<|eor|><|eols|><|endoftext|>
11
programminghorror
thekidxp
i6kfutl
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|sor|>I'm contracted with a multinational conglomerate who does this almost exclusively. They use patterns like `xIndicator`, where the field is a string containing either a `"1"` or a `"0"`. \*They won't e...
11
programminghorror
Vlyn
i6k2zhy
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|sor|>I had a job where we were producing test data for the US Census - basically making data that different systems used so they could test their code before the Census data was collected, so it had to be ...
11
programminghorror
Timia2109
i6kxswb
<|sols|><|sot|>This property is basically a boolean value<|eot|><|sol|>https://i.redd.it/32yit3jwp9w81.png<|eol|><|sor|>ABAP (SAP lang) as the best bool construct. true = 'X' (available as abap_true) false = ' ' (available as abap_false) But sometimes you have something like this intuitive value (on bool?) ...
10
programminghorror
illbefinewithoutem
rjxrcr
<|sols|><|sot|>No, it's not. Yes, you are.<|eot|><|sol|>https://i.redd.it/twqw8hmy9f681.png<|eol|><|eols|><|endoftext|>
871
programminghorror
HACKER_3000
hp6m2qw
<|sols|><|sot|>No, it's not. Yes, you are.<|eot|><|sol|>https://i.redd.it/twqw8hmy9f681.png<|eol|><|sor|>looks good i think tho the comments at the end must be very annoying to make<|eor|><|eols|><|endoftext|>
311
programminghorror
Deadly_chef
hp6klk0
<|sols|><|sot|>No, it's not. Yes, you are.<|eot|><|sol|>https://i.redd.it/twqw8hmy9f681.png<|eol|><|sor|>The unnecessary comment lines at the end make it crazy, otherwise not too bad<|eor|><|eols|><|endoftext|>
184
programminghorror
ings0c
hp6pf0d
<|sols|><|sot|>No, it's not. Yes, you are.<|eot|><|sol|>https://i.redd.it/twqw8hmy9f681.png<|eol|><|sor|>looks good i think tho the comments at the end must be very annoying to make<|eor|><|sor|>Imagine joining a new company and doing this everywhere was in their documented coding standards \*shudder\* Cant the author...
140