subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programminghorror | Rayleigh96 | fjs3ao5 | <|sols|><|sot|>In my router's website source code...<|eot|><|sol|>https://i.redd.it/nxjns5rsa9l41.png<|eol|><|sor|>They used a for loop so they clearly know about loops<|eor|><|eols|><|endoftext|> | 91 |
programminghorror | akuankka128 | fjtuvwo | <|sols|><|sot|>In my router's website source code...<|eot|><|sol|>https://i.redd.it/nxjns5rsa9l41.png<|eol|><|sor|>[deleted]<|eor|><|sor|>It's funny when you write code and you sit there with a working solution but you know the code is hacky as fuck but can't get any other way to work.
Eventually you give up and just ... | 65 |
programminghorror | hydrorye | fjru1eh | <|sols|><|sot|>In my router's website source code...<|eot|><|sol|>https://i.redd.it/nxjns5rsa9l41.png<|eol|><|sor|>That is disgusting<|eor|><|eols|><|endoftext|> | 63 |
programminghorror | joshery420 | fjs3i5e | <|sols|><|sot|>In my router's website source code...<|eot|><|sol|>https://i.redd.it/nxjns5rsa9l41.png<|eol|><|sor|>Yeesh, what router have you got so I can avoid that brand entirely? -_-<|eor|><|eols|><|endoftext|> | 57 |
programminghorror | heyf00L | fjtayri | <|sols|><|sot|>In my router's website source code...<|eot|><|sol|>https://i.redd.it/nxjns5rsa9l41.png<|eol|><|sor|>If only Javascript had a way to check if a string matches a pattern.<|eor|><|sor|> /^(d|6|e|4|3|E|A|c|C|9|a|8|1|f|7|5|B|2|D|b|0|F)+$/
if only there was an easier way, right?<|eor|><|sor|>I totally unde... | 55 |
programminghorror | akuankka128 | fjt1ffp | <|sols|><|sot|>In my router's website source code...<|eot|><|sol|>https://i.redd.it/nxjns5rsa9l41.png<|eol|><|sor|>Yeesh, what router have you got so I can avoid that brand entirely? -_-<|eor|><|soopr|>Some D-Link one
It is pretty crappy overall so thats even more reason to avoid it<|eoopr|><|eols|><|endoftext|> | 45 |
programminghorror | teckcypher | fjs852g | <|sols|><|sot|>In my router's website source code...<|eot|><|sol|>https://i.redd.it/nxjns5rsa9l41.png<|eol|><|sor|>Ok the first function looks bad but at least at first glance it looks like it should work.
The second function confuses me to no end.
I don't have experience with js but I doubt that function works.<|eor... | 31 |
programminghorror | AyrA_ch | fju69np | <|sols|><|sot|>In my router's website source code...<|eot|><|sol|>https://i.redd.it/nxjns5rsa9l41.png<|eol|><|sor|>If only Javascript had a way to check if a string matches a pattern.<|eor|><|sor|> /^(d|6|e|4|3|E|A|c|C|9|a|8|1|f|7|5|B|2|D|b|0|F)+$/
if only there was an easier way, right?<|eor|><|sor|>I totally unde... | 25 |
programminghorror | SANGUB | fjsi7sp | <|sols|><|sot|>In my router's website source code...<|eot|><|sol|>https://i.redd.it/nxjns5rsa9l41.png<|eol|><|sor|>you guys are not seeing the true genius, the crappiest the code, the harder to understand, the harder to hack<|eor|><|eols|><|endoftext|> | 21 |
programminghorror | pavel_lishin | fjs8kug | <|sols|><|sot|>In my router's website source code...<|eot|><|sol|>https://i.redd.it/nxjns5rsa9l41.png<|eol|><|sor|>Why does the second function return `false` if the second character is a hex digit?
Wait, so the second function will return true if you give it a single-character string, or if the first character of the... | 21 |
programminghorror | AFricknChickn | fjt2cag | <|sols|><|sot|>In my router's website source code...<|eot|><|sol|>https://i.redd.it/nxjns5rsa9l41.png<|eol|><|sor|>If only Javascript had a way to check if a string matches a pattern.<|eor|><|sor|> /^(d|6|e|4|3|E|A|c|C|9|a|8|1|f|7|5|B|2|D|b|0|F)+$/
if only there was an easier way, right?<|eor|><|sor|>I totally unde... | 21 |
programminghorror | turunambartanen | lm34rf | <|sols|><|sot|>I inherited some tasty spaghetti<|eot|><|sol|>https://i.redd.it/yjqvncs5f3i61.png<|eol|><|eols|><|endoftext|> | 912 |
programminghorror | djright | gntxzf9 | <|sols|><|sot|>I inherited some tasty spaghetti<|eot|><|sol|>https://i.redd.it/yjqvncs5f3i61.png<|eol|><|sor|>Thats a whole Flying Spaghetti Monster!<|eor|><|eols|><|endoftext|> | 134 |
programminghorror | gipp | gnty0gn | <|sols|><|sot|>I inherited some tasty spaghetti<|eot|><|sol|>https://i.redd.it/yjqvncs5f3i61.png<|eol|><|sor|>So, is the name implying that this 1800 lines is dynamically generating class definitions?<|eor|><|eols|><|endoftext|> | 73 |
programminghorror | turunambartanen | gnv97yb | <|sols|><|sot|>I inherited some tasty spaghetti<|eot|><|sol|>https://i.redd.it/yjqvncs5f3i61.png<|eol|><|sor|>So, is the name implying that this 1800 lines is dynamically generating class definitions?<|eor|><|soopr|>Thank God no.
This is part of a macro and the method is called by the API. I don't understand why they... | 55 |
programminghorror | Heniadyoin1 | gnvjdg2 | <|sols|><|sot|>I inherited some tasty spaghetti<|eot|><|sol|>https://i.redd.it/yjqvncs5f3i61.png<|eol|><|sor|>But why? </Ryan Reynolds><|eor|><|sor|>It's python so I'd say it's
```
with ryan_renolds.vioce() as voice:
voice.say("But why?)
```<|eor|><|eols|><|endoftext|> | 26 |
programminghorror | MCKoleman | gnvuh8c | <|sols|><|sot|>I inherited some tasty spaghetti<|eot|><|sol|>https://i.redd.it/yjqvncs5f3i61.png<|eol|><|sor|>So, is the name implying that this 1800 lines is dynamically generating class definitions?<|eor|><|soopr|>Thank God no.
This is part of a macro and the method is called by the API. I don't understand why they... | 21 |
programminghorror | blizzardo1 | gnv0wmb | <|sols|><|sot|>I inherited some tasty spaghetti<|eot|><|sol|>https://i.redd.it/yjqvncs5f3i61.png<|eol|><|sor|>But why? </Ryan Reynolds><|eor|><|eols|><|endoftext|> | 16 |
programminghorror | chethelesser | gnvmw8r | <|sols|><|sot|>I inherited some tasty spaghetti<|eot|><|sol|>https://i.redd.it/yjqvncs5f3i61.png<|eol|><|sor|>I remember the only time I had to write a massive function like that. The function had to collect all the information from a database entry and write them down as an xml file with a completely different structu... | 16 |
programminghorror | Giocri | gnvgi4j | <|sols|><|sot|>I inherited some tasty spaghetti<|eot|><|sol|>https://i.redd.it/yjqvncs5f3i61.png<|eol|><|sor|>I remember the only time I had to write a massive function like that. The function had to collect all the information from a database entry and write them down as an xml file with a completely different structu... | 15 |
programminghorror | backtickbot | gnvje19 | <|sols|><|sot|>I inherited some tasty spaghetti<|eot|><|sol|>https://i.redd.it/yjqvncs5f3i61.png<|eol|><|sor|>But why? </Ryan Reynolds><|eor|><|sor|>It's python so I'd say it's
```
with ryan_renolds.vioce() as voice:
voice.say("But why?)
```<|eor|><|sor|>[Fixed formatting.](https://np.reddit.com/r/backtickbo... | 14 |
programminghorror | turunambartanen | gnvoam3 | <|sols|><|sot|>I inherited some tasty spaghetti<|eot|><|sol|>https://i.redd.it/yjqvncs5f3i61.png<|eol|><|sor|>But why? </Ryan Reynolds><|eor|><|sor|>It's python so I'd say it's
```
with ryan_renolds.vioce() as voice:
voice.say("But why?)
```<|eor|><|soopr|>It's actually Ruby.
But yes, I have soo many quest... | 13 |
programminghorror | Bob-The-One | gnv2nwl | <|sols|><|sot|>I inherited some tasty spaghetti<|eot|><|sol|>https://i.redd.it/yjqvncs5f3i61.png<|eol|><|sor|>So, is the name implying that this 1800 lines is dynamically generating class definitions?<|eor|><|sor|>eval(class Hello:)<|eor|><|eols|><|endoftext|> | 9 |
programminghorror | Wiwwil | gnvh6i9 | <|sols|><|sot|>I inherited some tasty spaghetti<|eot|><|sol|>https://i.redd.it/yjqvncs5f3i61.png<|eol|><|sor|>Add bolognaise and you have food for a long time<|eor|><|eols|><|endoftext|> | 8 |
programminghorror | ZeroGravity200 | gnvzgg2 | <|sols|><|sot|>I inherited some tasty spaghetti<|eot|><|sol|>https://i.redd.it/yjqvncs5f3i61.png<|eol|><|sor|>It's hidden. It does not count.<|eor|><|eols|><|endoftext|> | 6 |
programminghorror | birkettt | gnx9lxz | <|sols|><|sot|>I inherited some tasty spaghetti<|eot|><|sol|>https://i.redd.it/yjqvncs5f3i61.png<|eol|><|sor|>So, is the name implying that this 1800 lines is dynamically generating class definitions?<|eor|><|soopr|>Thank God no.
This is part of a macro and the method is called by the API. I don't understand why they... | 6 |
programminghorror | Giocri | gnvqnzo | <|sols|><|sot|>I inherited some tasty spaghetti<|eot|><|sol|>https://i.redd.it/yjqvncs5f3i61.png<|eol|><|sor|>I remember the only time I had to write a massive function like that. The function had to collect all the information from a database entry and write them down as an xml file with a completely different structu... | 5 |
programminghorror | Predvodnik | k02wio | <|sols|><|sot|>I just opened Android source code because I was curious to find how bluetooth implementation work and maybe try to add Samsung Dual Audio feature with bluetooth devices and found this well commented gem<|eot|><|sol|>https://i.redd.it/ss8mmtj156161.jpg<|eol|><|eols|><|endoftext|> | 911 |
programminghorror | vijexa | gdft8r1 | <|sols|><|sot|>I just opened Android source code because I was curious to find how bluetooth implementation work and maybe try to add Samsung Dual Audio feature with bluetooth devices and found this well commented gem<|eot|><|sol|>https://i.redd.it/ss8mmtj156161.jpg<|eol|><|sor|>Wait, it's all posts from 1st year CS st... | 373 |
programminghorror | gangstabunniez | gdfnugf | <|sols|><|sot|>I just opened Android source code because I was curious to find how bluetooth implementation work and maybe try to add Samsung Dual Audio feature with bluetooth devices and found this well commented gem<|eot|><|sol|>https://i.redd.it/ss8mmtj156161.jpg<|eol|><|sor|>Man I really wonder what this enum is fo... | 241 |
programminghorror | theLRG | gdfsbyb | <|sols|><|sot|>I just opened Android source code because I was curious to find how bluetooth implementation work and maybe try to add Samsung Dual Audio feature with bluetooth devices and found this well commented gem<|eot|><|sol|>https://i.redd.it/ss8mmtj156161.jpg<|eol|><|sor|>Besides the kinda useless comments, this... | 216 |
programminghorror | RickTheElder | gdfuien | <|sols|><|sot|>I just opened Android source code because I was curious to find how bluetooth implementation work and maybe try to add Samsung Dual Audio feature with bluetooth devices and found this well commented gem<|eot|><|sol|>https://i.redd.it/ss8mmtj156161.jpg<|eol|><|sor|>Wait, it's all posts from 1st year CS st... | 172 |
programminghorror | bigorangemachine | gdfwpdh | <|sols|><|sot|>I just opened Android source code because I was curious to find how bluetooth implementation work and maybe try to add Samsung Dual Audio feature with bluetooth devices and found this well commented gem<|eot|><|sol|>https://i.redd.it/ss8mmtj156161.jpg<|eol|><|sor|>Probably providing translateable strings... | 98 |
programminghorror | Famous_Profile | gdg22ga | <|sols|><|sot|>I just opened Android source code because I was curious to find how bluetooth implementation work and maybe try to add Samsung Dual Audio feature with bluetooth devices and found this well commented gem<|eot|><|sol|>https://i.redd.it/ss8mmtj156161.jpg<|eol|><|sor|>Wait, it's all posts from 1st year CS st... | 88 |
programminghorror | ivgd | gdgrvgb | <|sols|><|sot|>I just opened Android source code because I was curious to find how bluetooth implementation work and maybe try to add Samsung Dual Audio feature with bluetooth devices and found this well commented gem<|eot|><|sol|>https://i.redd.it/ss8mmtj156161.jpg<|eol|><|sor|>You can dislike the comment style and al... | 85 |
programminghorror | freak_dessert2 | gdfnzig | <|sols|><|sot|>I just opened Android source code because I was curious to find how bluetooth implementation work and maybe try to add Samsung Dual Audio feature with bluetooth devices and found this well commented gem<|eot|><|sol|>https://i.redd.it/ss8mmtj156161.jpg<|eol|><|sor|>Man I really wonder what this enum is fo... | 79 |
programminghorror | Bob-The-One | gdfreor | <|sols|><|sot|>I just opened Android source code because I was curious to find how bluetooth implementation work and maybe try to add Samsung Dual Audio feature with bluetooth devices and found this well commented gem<|eot|><|sol|>https://i.redd.it/ss8mmtj156161.jpg<|eol|><|sor|>Furthermore, why is it called ScanEventT... | 56 |
programminghorror | mohragk | gdfoih2 | <|sols|><|sot|>I just opened Android source code because I was curious to find how bluetooth implementation work and maybe try to add Samsung Dual Audio feature with bluetooth devices and found this well commented gem<|eot|><|sol|>https://i.redd.it/ss8mmtj156161.jpg<|eol|><|sor|>Furthermore, why is it called ScanEventT... | 42 |
programminghorror | mohragk | gdfqh8i | <|sols|><|sot|>I just opened Android source code because I was curious to find how bluetooth implementation work and maybe try to add Samsung Dual Audio feature with bluetooth devices and found this well commented gem<|eot|><|sol|>https://i.redd.it/ss8mmtj156161.jpg<|eol|><|sor|>Furthermore, why is it called ScanEventT... | 36 |
programminghorror | AngriestSCV | gdgtm0i | <|sols|><|sot|>I just opened Android source code because I was curious to find how bluetooth implementation work and maybe try to add Samsung Dual Audio feature with bluetooth devices and found this well commented gem<|eot|><|sol|>https://i.redd.it/ss8mmtj156161.jpg<|eol|><|sor|>Besides the kinda useless comments, this... | 29 |
programminghorror | tazdevil971 | gdfs292 | <|sols|><|sot|>I just opened Android source code because I was curious to find how bluetooth implementation work and maybe try to add Samsung Dual Audio feature with bluetooth devices and found this well commented gem<|eot|><|sol|>https://i.redd.it/ss8mmtj156161.jpg<|eol|><|sor|>Furthermore, why is it called ScanEventT... | 27 |
programminghorror | Alikont | gdfr4yk | <|sols|><|sot|>I just opened Android source code because I was curious to find how bluetooth implementation work and maybe try to add Samsung Dual Audio feature with bluetooth devices and found this well commented gem<|eot|><|sol|>https://i.redd.it/ss8mmtj156161.jpg<|eol|><|sor|>Furthermore, why is it called ScanEventT... | 26 |
programminghorror | AngriestSCV | gdgztmz | <|sols|><|sot|>I just opened Android source code because I was curious to find how bluetooth implementation work and maybe try to add Samsung Dual Audio feature with bluetooth devices and found this well commented gem<|eot|><|sol|>https://i.redd.it/ss8mmtj156161.jpg<|eol|><|sor|>Besides the kinda useless comments, this... | 22 |
programminghorror | cupostv | fdvuyg | <|sols|><|sot|>A friend sent me this AWESOME estimate<|eot|><|sol|>https://i.redd.it/plkv72s94vk41.jpg<|eol|><|eols|><|endoftext|> | 911 |
programminghorror | lukemols | fjkwyhe | <|sols|><|sot|>A friend sent me this AWESOME estimate<|eot|><|sol|>https://i.redd.it/plkv72s94vk41.jpg<|eol|><|sor|>Oh, jira<|eor|><|eols|><|endoftext|> | 30 |
programminghorror | cupostv | fjk1j91 | <|sols|><|sot|>A friend sent me this AWESOME estimate<|eot|><|sol|>https://i.redd.it/plkv72s94vk41.jpg<|eol|><|soopr|>He took the picture from PC of his colleague so he couldn't take the screenshot.<|eoopr|><|eols|><|endoftext|> | 23 |
programminghorror | McSlurminator | fjlfo7d | <|sols|><|sot|>A friend sent me this AWESOME estimate<|eot|><|sol|>https://i.redd.it/plkv72s94vk41.jpg<|eol|><|sor|>Did somebody log .8 minutes?<|eor|><|eols|><|endoftext|> | 10 |
programminghorror | mrGood238 | fjlhagi | <|sols|><|sot|>A friend sent me this AWESOME estimate<|eot|><|sol|>https://i.redd.it/plkv72s94vk41.jpg<|eol|><|sor|>Did somebody log .8 minutes?<|eor|><|sor|>Probably something automated. Our timetracking/project tracker takes TeamViewer session durations when certain group + comment is entered...<|eor|><|eols|><|endof... | 8 |
programminghorror | Spiffpitt | fjlp7yx | <|sols|><|sot|>A friend sent me this AWESOME estimate<|eot|><|sol|>https://i.redd.it/plkv72s94vk41.jpg<|eol|><|sor|>Did somebody log .8 minutes?<|eor|><|sor|>probably rounded from quarter hours<|eor|><|eols|><|endoftext|> | 6 |
programminghorror | RyanStark19 | xvo9zf | <|sols|><|sot|>Compliments of my intern <|eot|><|sol|>https://i.redd.it/c88koztybur91.png<|eol|><|eols|><|endoftext|> | 912 |
programminghorror | RobbieQuarantino | ir264tb | <|sols|><|sot|>Compliments of my intern <|eot|><|sol|>https://i.redd.it/c88koztybur91.png<|eol|><|sor|>$tring<|eor|><|eols|><|endoftext|> | 253 |
programminghorror | C0R0NASMASH | ir226rn | <|sols|><|sot|>Compliments of my intern <|eot|><|sol|>https://i.redd.it/c88koztybur91.png<|eol|><|sor|>But hey, they are using PHP7+ syntax, nullable returns, nullable parameter aaaaand... typed comparison...<|eor|><|eols|><|endoftext|> | 141 |
programminghorror | LeifDTO | ir2rcv0 | <|sols|><|sot|>Compliments of my intern <|eot|><|sol|>https://i.redd.it/c88koztybur91.png<|eol|><|sor|>I kind of want to know what this is "supposed" to accomplish, but I think seeing the wider thought process it belongs to might break my brain even more.<|eor|><|eols|><|endoftext|> | 122 |
programminghorror | fakehalo | ir3lahh | <|sols|><|sot|>Compliments of my intern <|eot|><|sol|>https://i.redd.it/c88koztybur91.png<|eol|><|sor|>But hey, they are using PHP7+ syntax, nullable returns, nullable parameter aaaaand... typed comparison...<|eor|><|sor|>I suspect that was the point, the ol "*hey, I know modern stuff*" play.<|eor|><|eols|><|endoftext|... | 48 |
programminghorror | random_dude_1s | ir2zk0r | <|sols|><|sot|>Compliments of my intern <|eot|><|sol|>https://i.redd.it/c88koztybur91.png<|eol|><|sor|>Dont be too hard on him or her, but I will say that this is pretty bad. No binary string and this function is completely useless. Rather than making fun of them, maybe its a teaching opportunity. Does the binary data ... | 44 |
programminghorror | Nyghtrid3r | ir49pn1 | <|sols|><|sot|>Compliments of my intern <|eot|><|sol|>https://i.redd.it/c88koztybur91.png<|eol|><|sor|>$tring<|eor|><|sor|>$4g<|eor|><|sor|>What is this supposed to be? Sag? 4 grand?<|eor|><|sor|>You know, like: k8s or i18n<|eor|><|sor|>Ah yes these abbreviations make sense
Six, Seven, Ubernete, Nine...
Sixteen, Sev... | 31 |
programminghorror | LeifDTO | ir3fanb | <|sols|><|sot|>Compliments of my intern <|eot|><|sol|>https://i.redd.it/c88koztybur91.png<|eol|><|sor|>I kind of want to know what this is "supposed" to accomplish, but I think seeing the wider thought process it belongs to might break my brain even more.<|eor|><|sor|>Its just a null check. You dont need a function for... | 29 |
programminghorror | windwalk06 | ir40w1t | <|sols|><|sot|>Compliments of my intern <|eot|><|sol|>https://i.redd.it/c88koztybur91.png<|eol|><|sor|>I kind of want to know what this is "supposed" to accomplish, but I think seeing the wider thought process it belongs to might break my brain even more.<|eor|><|sor|>My theory is it had more shit in it that gave it so... | 27 |
programminghorror | Perkelton | ir4ar7t | <|sols|><|sot|>Compliments of my intern <|eot|><|sol|>https://i.redd.it/c88koztybur91.png<|eol|><|sor|>I kind of want to know what this is "supposed" to accomplish, but I think seeing the wider thought process it belongs to might break my brain even more.<|eor|><|sor|>My theory is it had more shit in it that gave it so... | 22 |
programminghorror | beaucephus | ir3w02f | <|sols|><|sot|>Compliments of my intern <|eot|><|sol|>https://i.redd.it/c88koztybur91.png<|eol|><|sor|>$tring<|eor|><|sor|>$4g<|eor|><|sor|>What is this supposed to be? Sag? 4 grand?<|eor|><|sor|>You know, like: k8s or i18n<|eor|><|eols|><|endoftext|> | 21 |
programminghorror | beaucephus | ir3n384 | <|sols|><|sot|>Compliments of my intern <|eot|><|sol|>https://i.redd.it/c88koztybur91.png<|eol|><|sor|>$tring<|eor|><|sor|>$4g<|eor|><|eols|><|endoftext|> | 20 |
programminghorror | PrincessWinterX | ir5ao09 | <|sols|><|sot|>Compliments of my intern <|eot|><|sol|>https://i.redd.it/c88koztybur91.png<|eol|><|sor|>Dont be too hard on him or her, but I will say that this is pretty bad. No binary string and this function is completely useless. Rather than making fun of them, maybe its a teaching opportunity. Does the binary data ... | 20 |
programminghorror | aaronfranke | ir3vn4s | <|sols|><|sot|>Compliments of my intern <|eot|><|sol|>https://i.redd.it/c88koztybur91.png<|eol|><|sor|>$tring<|eor|><|sor|>$4g<|eor|><|sor|>What is this supposed to be? Sag? 4 grand?<|eor|><|eols|><|endoftext|> | 14 |
programminghorror | cholz | ir3reiq | <|sols|><|sot|>Compliments of my intern <|eot|><|sol|>https://i.redd.it/c88koztybur91.png<|eol|><|sor|>ive seen these types of functions before... usually its a schooling thing. Some outdated teacher wrote taught something this way and they are just copying it.<|eor|><|sor|>> this way
This way to do what exactly?<|e... | 11 |
programminghorror | Shnorkylutyun | ir6mg1q | <|sols|><|sot|>Compliments of my intern <|eot|><|sol|>https://i.redd.it/c88koztybur91.png<|eol|><|sor|>I kind of want to know what this is "supposed" to accomplish, but I think seeing the wider thought process it belongs to might break my brain even more.<|eor|><|sor|>My theory is it had more shit in it that gave it so... | 10 |
programminghorror | ConnaughtGold | ir5k5ks | <|sols|><|sot|>Compliments of my intern <|eot|><|sol|>https://i.redd.it/c88koztybur91.png<|eol|><|sor|>$tring<|eor|><|sor|>$4g<|eor|><|sor|>What is this supposed to be? Sag? 4 grand?<|eor|><|sor|>You know, like: k8s or i18n<|eor|><|sor|>intern -> i4n<|eor|><|eols|><|endoftext|> | 10 |
programminghorror | verosoph | ir44m6n | <|sols|><|sot|>Compliments of my intern <|eot|><|sol|>https://i.redd.it/c88koztybur91.png<|eol|><|sor|>Ah yes. The strings here are made of string<|eor|><|eols|><|endoftext|> | 9 |
programminghorror | ngambee | gxsva1 | <|sols|><|sot|>I think someone forgot a closing curly<|eot|><|sol|>https://i.redd.it/38ccycir4b351.png<|eol|><|eols|><|endoftext|> | 909 |
programminghorror | NaturallyAdorkable | ft5qr9v | <|sols|><|sot|>I think someone forgot a closing curly<|eot|><|sol|>https://i.redd.it/38ccycir4b351.png<|eol|><|sor|>I mean, it's not as if knowing when an appointment takes place is the most important thing in a **reminder** app.<|eor|><|eols|><|endoftext|> | 96 |
programminghorror | TinyBreadBigMouth | ft5dviw | <|sols|><|sot|>I think someone forgot a closing curly<|eot|><|sol|>https://i.redd.it/38ccycir4b351.png<|eol|><|sor|>:facepalm:<|eor|><|sor|>:facepalm<|eor|><|eols|><|endoftext|> | 44 |
programminghorror | Drik98 | ft5g6ju | <|sols|><|sot|>I think someone forgot a closing curly<|eot|><|sol|>https://i.redd.it/38ccycir4b351.png<|eol|><|sor|>:facepalm:<|eor|><|sor|>:facepalm<|eor|><|sor|>:{reaction<|eor|><|eols|><|endoftext|> | 31 |
programminghorror | Phalord | ft53r8x | <|sols|><|sot|>I think someone forgot a closing curly<|eot|><|sol|>https://i.redd.it/38ccycir4b351.png<|eol|><|sor|>:facepalm:<|eor|><|eols|><|endoftext|> | 30 |
programminghorror | PizzaRollExpert | ft5xc6m | <|sols|><|sot|>I think someone forgot a closing curly<|eot|><|sol|>https://i.redd.it/38ccycir4b351.png<|eol|><|sor|>Integration tests y'all!<|eor|><|sor|>Linters.<|eor|><|sor|>Have the string replacements at the language level so that it doesn't compile if you forget the closing curly bracket<|eor|><|eols|><|endoftext|... | 23 |
programminghorror | jtb49 | ft5qbv6 | <|sols|><|sot|>I think someone forgot a closing curly<|eot|><|sol|>https://i.redd.it/38ccycir4b351.png<|eol|><|sor|>Integration tests y'all!<|eor|><|sor|>Linters.<|eor|><|eols|><|endoftext|> | 21 |
programminghorror | fried_green_baloney | ft7cykp | <|sols|><|sot|>I think someone forgot a closing curly<|eot|><|sol|>https://i.redd.it/38ccycir4b351.png<|eol|><|sor|>Integration tests y'all!<|eor|><|sor|>Linters.<|eor|><|sor|>Have the string replacements at the language level so that it doesn't compile if you forget the closing curly bracket<|eor|><|sor|>Python 3's f-... | 12 |
programminghorror | 0x15e | ft5wi2h | <|sols|><|sot|>I think someone forgot a closing curly<|eot|><|sol|>https://i.redd.it/38ccycir4b351.png<|eol|><|sor|>Or a field in a db somewhere was too short and the db just silently truncated the value.<|eor|><|eols|><|endoftext|> | 10 |
programminghorror | Nulpart | ft82dg9 | <|sols|><|sot|>I think someone forgot a closing curly<|eot|><|sol|>https://i.redd.it/38ccycir4b351.png<|eol|><|sor|>we need a programmingwhoops sub<|eor|><|eols|><|endoftext|> | 9 |
programminghorror | huntforacause | ft8f2ck | <|sols|><|sot|>I think someone forgot a closing curly<|eot|><|sol|>https://i.redd.it/38ccycir4b351.png<|eol|><|sor|>When did this sub go from being horror to straight up honest mistakes<|eor|><|sor|>This is a different sort of horror. A failure of many levels to allow such an honest mistake to actually make it to produ... | 6 |
programminghorror | Famous_Profile | ft8fado | <|sols|><|sot|>I think someone forgot a closing curly<|eot|><|sol|>https://i.redd.it/38ccycir4b351.png<|eol|><|sor|>Or a field in a db somewhere was too short and the db just silently truncated the value.<|eor|><|sor|>> db just silently truncated the value
Which DB should I remember to never use?<|eor|><|eols|><|endo... | 5 |
programminghorror | slicxx | t7z0si | <|sols|><|sot|>This Ad on Reddit..<|eot|><|sol|>https://i.redd.it/uzmoj7w1prl81.png<|eol|><|eols|><|endoftext|> | 907 |
programminghorror | NoLifeGamer2 | hzkt58n | <|sols|><|sot|>This Ad on Reddit..<|eot|><|sol|>https://i.redd.it/uzmoj7w1prl81.png<|eol|><|sor|>The real horror here is using goto statements<|eor|><|eols|><|endoftext|> | 352 |
programminghorror | obiwac | hzl9bvs | <|sols|><|sot|>This Ad on Reddit..<|eot|><|sol|>https://i.redd.it/uzmoj7w1prl81.png<|eol|><|sor|>The real horror here is using goto statements<|eor|><|sor|>1. It's 2022, let's stop saying goto's are categorically bad when they have very valid uses
2. Who cares, it works fine in the context of the ad.<|eor|><|eols|><|en... | 163 |
programminghorror | Tc14Hd | hzldosx | <|sols|><|sot|>This Ad on Reddit..<|eot|><|sol|>https://i.redd.it/uzmoj7w1prl81.png<|eol|><|sor|>Why goto fridge; not eat();?<|eor|><|sor|> fridge:
goto fridge;
eat();<|eor|><|sor|>Congrats! That's an infinite loop, so you'll starve to death.<|eor|><|eols|><|endoftext|> | 159 |
programminghorror | obiwac | hzl9j7m | <|sols|><|sot|>This Ad on Reddit..<|eot|><|sol|>https://i.redd.it/uzmoj7w1prl81.png<|eol|><|sor|>It's an ad mate. It's not made to be run or compiled. "goto" is a great way of using a language construct to build a sentence. Also, stop saying goto's are categorically bad when they have completely valid uses.<|eor|><|eol... | 117 |
programminghorror | GroundStateGecko | hzlagv8 | <|sols|><|sot|>This Ad on Reddit..<|eot|><|sol|>https://i.redd.it/uzmoj7w1prl81.png<|eol|><|sor|>Why goto fridge; not eat();?<|eor|><|sor|> fridge:
goto fridge;
eat();<|eor|><|eols|><|endoftext|> | 85 |
programminghorror | iliekcats- | hzlm34u | <|sols|><|sot|>This Ad on Reddit..<|eot|><|sol|>https://i.redd.it/uzmoj7w1prl81.png<|eol|><|sor|>Why goto fridge; not eat();?<|eor|><|sor|> fridge:
goto fridge;
eat();<|eor|><|sor|>Congrats! That's an infinite loop, so you'll starve to death.<|eor|><|sor|>and if you swapped the 2 around, you'd die of... | 80 |
programminghorror | osadriofary | hzkwaao | <|sols|><|sot|>This Ad on Reddit..<|eot|><|sol|>https://i.redd.it/uzmoj7w1prl81.png<|eol|><|sor|>The real horror here is using goto statements<|eor|><|sor|>If
Goto<|eor|><|eols|><|endoftext|> | 67 |
programminghorror | iliekcats- | hzllxj2 | <|sols|><|sot|>This Ad on Reddit..<|eot|><|sol|>https://i.redd.it/uzmoj7w1prl81.png<|eol|><|sor|>"damn i'm not hungry i am now going to run for my life"
\-someone, probably<|eor|><|eols|><|endoftext|> | 63 |
programminghorror | obiwac | hzl9str | <|sols|><|sot|>This Ad on Reddit..<|eot|><|sol|>https://i.redd.it/uzmoj7w1prl81.png<|eol|><|sor|>The real horror here is using goto statements<|eor|><|sor|>1. It's 2022, let's stop saying goto's are categorically bad when they have very valid uses
2. Who cares, it works fine in the context of the ad.<|eor|><|sor|>1. Ye... | 62 |
programminghorror | BigFuckingCringe | hzl2gwi | <|sols|><|sot|>This Ad on Reddit..<|eot|><|sol|>https://i.redd.it/uzmoj7w1prl81.png<|eol|><|sor|>The real horror here is using goto statements<|eor|><|sor|>What if I told you all branching statements compile to gotos?<|eor|><|sor|>Technicaly everything compiles to binary, but it is fucking stupid to write directly in b... | 51 |
programminghorror | divideByNulls | hzkzycy | <|sols|><|sot|>This Ad on Reddit..<|eot|><|sol|>https://i.redd.it/uzmoj7w1prl81.png<|eol|><|sor|>The real horror here is using goto statements<|eor|><|sor|>If
Goto<|eor|><|sor|>then goto goto();<|eor|><|eols|><|endoftext|> | 50 |
programminghorror | NoLifeGamer2 | hzl9pe2 | <|sols|><|sot|>This Ad on Reddit..<|eot|><|sol|>https://i.redd.it/uzmoj7w1prl81.png<|eol|><|sor|>The real horror here is using goto statements<|eor|><|sor|>1. It's 2022, let's stop saying goto's are categorically bad when they have very valid uses
2. Who cares, it works fine in the context of the ad.<|eor|><|sor|>1. Ye... | 49 |
programminghorror | NoLifeGamer2 | hzla02a | <|sols|><|sot|>This Ad on Reddit..<|eot|><|sol|>https://i.redd.it/uzmoj7w1prl81.png<|eol|><|sor|>The real horror here is using goto statements<|eor|><|sor|>1. It's 2022, let's stop saying goto's are categorically bad when they have very valid uses
2. Who cares, it works fine in the context of the ad.<|eor|><|sor|>1. Ye... | 48 |
programminghorror | NoLifeGamer2 | hzlanx9 | <|sols|><|sot|>This Ad on Reddit..<|eot|><|sol|>https://i.redd.it/uzmoj7w1prl81.png<|eol|><|sor|>The real horror here is using goto statements<|eor|><|sor|>1. It's 2022, let's stop saying goto's are categorically bad when they have very valid uses
2. Who cares, it works fine in the context of the ad.<|eor|><|sor|>1. Ye... | 45 |
programminghorror | obiwac | hzla8l1 | <|sols|><|sot|>This Ad on Reddit..<|eot|><|sol|>https://i.redd.it/uzmoj7w1prl81.png<|eol|><|sor|>The real horror here is using goto statements<|eor|><|sor|>1. It's 2022, let's stop saying goto's are categorically bad when they have very valid uses
2. Who cares, it works fine in the context of the ad.<|eor|><|sor|>1. Ye... | 44 |
programminghorror | Statharas | hzn9u6s | <|sols|><|sot|>This Ad on Reddit..<|eot|><|sol|>https://i.redd.it/uzmoj7w1prl81.png<|eol|><|sor|>also get a free "NULL problem" at bottom.<|eor|><|sor|>Real reminder than null is a word. Flashbacks to Anullata being turned into Anata by wild assumptions.<|eor|><|eols|><|endoftext|> | 39 |
programminghorror | NepetaLast | hzlflwc | <|sols|><|sot|>This Ad on Reddit..<|eot|><|sol|>https://i.redd.it/uzmoj7w1prl81.png<|eol|><|sor|>It's an ad mate. It's not made to be run or compiled. "goto" is a great way of using a language construct to build a sentence. Also, stop saying goto's are categorically bad when they have completely valid uses.<|eor|><|sor... | 39 |
programminghorror | John_Fx | hzl0365 | <|sols|><|sot|>This Ad on Reddit..<|eot|><|sol|>https://i.redd.it/uzmoj7w1prl81.png<|eol|><|sor|>The real horror here is using goto statements<|eor|><|sor|>What if I told you all branching statements compile to gotos?<|eor|><|eols|><|endoftext|> | 32 |
programminghorror | sir_pedr | lluknq | <|sols|><|sot|>Found this on twitter, by @bernam92 (link to original post in the comments)<|eot|><|sol|>https://i.redd.it/c2m1e0poi1i61.jpg<|eol|><|eols|><|endoftext|> | 906 |
programminghorror | Johnobo | gnrkqcs | <|sols|><|sot|>Found this on twitter, by @bernam92 (link to original post in the comments)<|eot|><|sol|>https://i.redd.it/c2m1e0poi1i61.jpg<|eol|><|sor|>My favorite react library: jquery.<|eor|><|eols|><|endoftext|> | 416 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.