subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programminghorror | neck_crow | g2zqvqb | <|sols|><|sot|>Got this ad for a programming poster and it caused me pain<|eot|><|sol|>https://imgur.com/vlwYUam<|eol|><|sor|>Really not that bad. The excessive spacing is just preference, but isnt bad practice. The structure is eh, but really not awful.<|eor|><|sor|>There is actually a pretty big issue in that the loo... | 18 |
programminghorror | Eugene_V_Chomsky | g30u086 | <|sols|><|sot|>Got this ad for a programming poster and it caused me pain<|eot|><|sol|>https://imgur.com/vlwYUam<|eol|><|sor|>`I'm Mr. Meeseekslook at me!`<|eor|><|eols|><|endoftext|> | 16 |
programminghorror | tinydonuts | g2zqo8v | <|sols|><|sot|>Got this ad for a programming poster and it caused me pain<|eot|><|sol|>https://imgur.com/vlwYUam<|eol|><|sor|>Really not that bad. The excessive spacing is just preference, but isnt bad practice. The structure is eh, but really not awful.<|eor|><|sor|>I think the horror is that it checks if task has bee... | 16 |
programminghorror | Jarzaaa | g30nuaf | <|sols|><|sot|>Got this ad for a programming poster and it caused me pain<|eot|><|sol|>https://imgur.com/vlwYUam<|eol|><|sor|>Hey Im a beginning C++ programmer, I was wondering wouldnt the line:
this.StopExisting()
Return an error because this is a pointer which cant be accessed using the . operator? Instead sh... | 13 |
programminghorror | DrStalker | g2zrwuj | <|sols|><|sot|>Got this ad for a programming poster and it caused me pain<|eot|><|sol|>https://imgur.com/vlwYUam<|eol|><|sor|>"Your task is to fix this bug, and if the fix causes any other bugs just make more meesekses to fix those"
What could possibly go wrong?<|eor|><|eols|><|endoftext|> | 11 |
programminghorror | IZEDx | g30mm4h | <|sols|><|sot|>Got this ad for a programming poster and it caused me pain<|eot|><|sol|>https://imgur.com/vlwYUam<|eol|><|sor|>Teacher: document all your methods!
Java Constructor: //constructor<|eor|><|eols|><|endoftext|> | 10 |
programminghorror | tobysmith568 | g2zzxfr | <|sols|><|sot|>Got this ad for a programming poster and it caused me pain<|eot|><|sol|>https://imgur.com/vlwYUam<|eol|><|sor|>Really not that bad. The excessive spacing is just preference, but isnt bad practice. The structure is eh, but really not awful.<|eor|><|sor|>> Really not that bad.
Constructors should only be ... | 10 |
programminghorror | tinydonuts | g2ztl7k | <|sols|><|sot|>Got this ad for a programming poster and it caused me pain<|eot|><|sol|>https://imgur.com/vlwYUam<|eol|><|sor|>Really not that bad. The excessive spacing is just preference, but isnt bad practice. The structure is eh, but really not awful.<|eor|><|sor|>I think the horror is that it checks if task has bee... | 10 |
programminghorror | anon38723918569 | g32kbhs | <|sols|><|sot|>Got this ad for a programming poster and it caused me pain<|eot|><|sol|>https://imgur.com/vlwYUam<|eol|><|sor|>Exercise: write the 'solve' function<|eor|><|sor|> void solve(Task task) {
task.completed = true;
}
done and done.<|eor|><|sor|>The unit tests are coming in green!<|eor|><|eols|>... | 9 |
programminghorror | zigs | g5hm4y | <|sols|><|sot|>How are enum values encoded, again?<|eot|><|sol|>https://i.redd.it/hqr8fbmpy6u41.png<|eol|><|eols|><|endoftext|> | 1,013 |
programminghorror | serg06 | fo3n19z | <|sols|><|sot|>How are enum values encoded, again?<|eot|><|sol|>https://i.redd.it/hqr8fbmpy6u41.png<|eol|><|sor|>Holy shit. Took me a while to notice what was wrong.<|eor|><|sor|>What's wrong?<|eor|><|sor|>true = 0, false = 1<|eor|><|eols|><|endoftext|> | 198 |
programminghorror | zigs | fo3bdhp | <|sols|><|sot|>How are enum values encoded, again?<|eot|><|sol|>https://i.redd.it/hqr8fbmpy6u41.png<|eol|><|soopr|>From https://www.educative.io/edpresso/what-is-boolean-in-c
For bonus points, edit the two interactive snippets so they say `if(x){`
Edit: This is going on my CV:
> Bullied educational C author into co... | 188 |
programminghorror | 0x000100 | fo3ffbo | <|sols|><|sot|>How are enum values encoded, again?<|eot|><|sol|>https://i.redd.it/hqr8fbmpy6u41.png<|eol|><|soopr|>From https://www.educative.io/edpresso/what-is-boolean-in-c
For bonus points, edit the two interactive snippets so they say `if(x){`
Edit: This is going on my CV:
> Bullied educational C author into co... | 156 |
programminghorror | Koxiaet | fo3hrks | <|sols|><|sot|>How are enum values encoded, again?<|eot|><|sol|>https://i.redd.it/hqr8fbmpy6u41.png<|eol|><|soopr|>From https://www.educative.io/edpresso/what-is-boolean-in-c
For bonus points, edit the two interactive snippets so they say `if(x){`
Edit: This is going on my CV:
> Bullied educational C author into co... | 151 |
programminghorror | sebamestre | fo3l51y | <|sols|><|sot|>How are enum values encoded, again?<|eot|><|sol|>https://i.redd.it/hqr8fbmpy6u41.png<|eol|><|sor|>Holy shit. Took me a while to notice what was wrong.<|eor|><|eols|><|endoftext|> | 129 |
programminghorror | BalGu | fo3tivn | <|sols|><|sot|>How are enum values encoded, again?<|eot|><|sol|>https://i.redd.it/hqr8fbmpy6u41.png<|eol|><|sor|>Holy shit. Took me a while to notice what was wrong.<|eor|><|sor|>What's wrong?<|eor|><|sor|>true = 0, false = 1<|eor|><|sor|>And also:
>A boolean in C can only be 2 integer.
This is so wrong.
False =... | 109 |
programminghorror | YellowBunnyReddit | fo3wj7m | <|sols|><|sot|>How are enum values encoded, again?<|eot|><|sol|>https://i.redd.it/hqr8fbmpy6u41.png<|eol|><|sor|>`#define true (rand()%100>0)`
`#define false (rand()%100==0)`<|eor|><|eols|><|endoftext|> | 73 |
programminghorror | ericonr | fo3vo7c | <|sols|><|sot|>How are enum values encoded, again?<|eot|><|sol|>https://i.redd.it/hqr8fbmpy6u41.png<|eol|><|sor|>Holy shit. Took me a while to notice what was wrong.<|eor|><|sor|>What's wrong?<|eor|><|sor|>true = 0, false = 1<|eor|><|sor|>And also:
>A boolean in C can only be 2 integer.
This is so wrong.
False =... | 61 |
programminghorror | djimbob | fo41vjz | <|sols|><|sot|>How are enum values encoded, again?<|eot|><|sol|>https://i.redd.it/hqr8fbmpy6u41.png<|eol|><|soopr|>From https://www.educative.io/edpresso/what-is-boolean-in-c
For bonus points, edit the two interactive snippets so they say `if(x){`
Edit: This is going on my CV:
> Bullied educational C author into co... | 52 |
programminghorror | ghillisuit95 | fo3okyu | <|sols|><|sot|>How are enum values encoded, again?<|eot|><|sol|>https://i.redd.it/hqr8fbmpy6u41.png<|eol|><|soopr|>From https://www.educative.io/edpresso/what-is-boolean-in-c
For bonus points, edit the two interactive snippets so they say `if(x){`
Edit: This is going on my CV:
> Bullied educational C author into co... | 50 |
programminghorror | NLJeroen | fo3fvbn | <|sols|><|sot|>How are enum values encoded, again?<|eot|><|sol|>https://i.redd.it/hqr8fbmpy6u41.png<|eol|><|soopr|>From https://www.educative.io/edpresso/what-is-boolean-in-c
For bonus points, edit the two interactive snippets so they say `if(x){`
Edit: This is going on my CV:
> Bullied educational C author into co... | 49 |
programminghorror | Scrotus_8 | fo3mkfp | <|sols|><|sot|>How are enum values encoded, again?<|eot|><|sol|>https://i.redd.it/hqr8fbmpy6u41.png<|eol|><|sor|>Holy shit. Took me a while to notice what was wrong.<|eor|><|sor|>What's wrong?<|eor|><|eols|><|endoftext|> | 45 |
programminghorror | thelights0123 | fo4a766 | <|sols|><|sot|>How are enum values encoded, again?<|eot|><|sol|>https://i.redd.it/hqr8fbmpy6u41.png<|eol|><|sor|>Holy shit. Took me a while to notice what was wrong.<|eor|><|sor|>What's wrong?<|eor|><|sor|>true = 0, false = 1<|eor|><|sor|>And also:
>A boolean in C can only be 2 integer.
This is so wrong.
False =... | 43 |
programminghorror | WeirdEidolon | fo3sl0l | <|sols|><|sot|>How are enum values encoded, again?<|eot|><|sol|>https://i.redd.it/hqr8fbmpy6u41.png<|eol|><|sor|>I hope the whole book is like this and the final chapter is on unit testing and writing tests around the garbage code they've been having you copy/paste the entire time.<|eor|><|eols|><|endoftext|> | 42 |
programminghorror | 0x000100 | fo3hp77 | <|sols|><|sot|>How are enum values encoded, again?<|eot|><|sol|>https://i.redd.it/hqr8fbmpy6u41.png<|eol|><|soopr|>From https://www.educative.io/edpresso/what-is-boolean-in-c
For bonus points, edit the two interactive snippets so they say `if(x){`
Edit: This is going on my CV:
> Bullied educational C author into co... | 40 |
programminghorror | pqowie313 | fo3tzb9 | <|sols|><|sot|>How are enum values encoded, again?<|eot|><|sol|>https://i.redd.it/hqr8fbmpy6u41.png<|eol|><|sor|>Shell scripters see nothing wrong with this picture.<|eor|><|eols|><|endoftext|> | 35 |
programminghorror | 1-877-547-7272 | fo3o66k | <|sols|><|sot|>How are enum values encoded, again?<|eot|><|sol|>https://i.redd.it/hqr8fbmpy6u41.png<|eol|><|sor|>Eh it's perfectly valid, right?<|eor|><|sor|>In C, the first value of an enum is equivalent to zero then each value after that is equivalent to the previous value plus one.
In this example, true equals zero... | 34 |
programminghorror | Urio_Badapple | fo3kvbx | <|sols|><|sot|>How are enum values encoded, again?<|eot|><|sol|>https://i.redd.it/hqr8fbmpy6u41.png<|eol|><|soopr|>From https://www.educative.io/edpresso/what-is-boolean-in-c
For bonus points, edit the two interactive snippets so they say `if(x){`
Edit: This is going on my CV:
> Bullied educational C author into co... | 33 |
programminghorror | Gammabyte | fo3puf6 | <|sols|><|sot|>How are enum values encoded, again?<|eot|><|sol|>https://i.redd.it/hqr8fbmpy6u41.png<|eol|><|soopr|>From https://www.educative.io/edpresso/what-is-boolean-in-c
For bonus points, edit the two interactive snippets so they say `if(x){`
Edit: This is going on my CV:
> Bullied educational C author into co... | 33 |
programminghorror | arto64 | cf4vmv | <|sols|><|sot|>I also have some amazing code on my office wall. This is from a Rails model, there are at least 5 things wrong with it.<|eot|><|sol|>https://i.redd.it/xs9phrp2y7b31.jpg<|eol|><|eols|><|endoftext|> | 1,007 |
programminghorror | arto64 | eu7asuq | <|sols|><|sot|>I also have some amazing code on my office wall. This is from a Rails model, there are at least 5 things wrong with it.<|eot|><|sol|>https://i.redd.it/xs9phrp2y7b31.jpg<|eol|><|soopr|>1. The `is_` prefix is counter to Ruby conventions
2. The first `false` is useless
3. `true if` at the end of the method
... | 211 |
programminghorror | TimGreller | eu7m7i9 | <|sols|><|sot|>I also have some amazing code on my office wall. This is from a Rails model, there are at least 5 things wrong with it.<|eot|><|sol|>https://i.redd.it/xs9phrp2y7b31.jpg<|eol|><|sor|>First thing wrong: using Rails<|eor|><|soopr|>What would you suggest as an alternative?<|eoopr|><|sor|>Highways<|eor|><|eol... | 36 |
programminghorror | arto64 | eu7mbca | <|sols|><|sot|>I also have some amazing code on my office wall. This is from a Rails model, there are at least 5 things wrong with it.<|eot|><|sol|>https://i.redd.it/xs9phrp2y7b31.jpg<|eol|><|sor|>First thing wrong: using Rails<|eor|><|soopr|>What would you suggest as an alternative?<|eoopr|><|sor|>Highways<|eor|><|soo... | 30 |
programminghorror | arto64 | eu7k0zw | <|sols|><|sot|>I also have some amazing code on my office wall. This is from a Rails model, there are at least 5 things wrong with it.<|eot|><|sol|>https://i.redd.it/xs9phrp2y7b31.jpg<|eol|><|soopr|>1. The `is_` prefix is counter to Ruby conventions
2. The first `false` is useless
3. `true if` at the end of the method
... | 26 |
programminghorror | arto64 | eu7md72 | <|sols|><|sot|>I also have some amazing code on my office wall. This is from a Rails model, there are at least 5 things wrong with it.<|eot|><|sol|>https://i.redd.it/xs9phrp2y7b31.jpg<|eol|><|sor|>\+1 for Atom Editor :P<|eor|><|soopr|>Sublime, actually :)<|eoopr|><|eols|><|endoftext|> | 19 |
programminghorror | arto64 | eu7lwmc | <|sols|><|sot|>I also have some amazing code on my office wall. This is from a Rails model, there are at least 5 things wrong with it.<|eot|><|sol|>https://i.redd.it/xs9phrp2y7b31.jpg<|eol|><|sor|>First thing wrong: using Rails<|eor|><|soopr|>What would you suggest as an alternative?<|eoopr|><|eols|><|endoftext|> | 17 |
programminghorror | annoyed_freelancer | eu7mrer | <|sols|><|sot|>I also have some amazing code on my office wall. This is from a Rails model, there are at least 5 things wrong with it.<|eot|><|sol|>https://i.redd.it/xs9phrp2y7b31.jpg<|eol|><|sor|>First thing wrong: using Rails<|eor|><|soopr|>What would you suggest as an alternative?<|eoopr|><|sor|>Nah, I will admit my... | 16 |
programminghorror | knuspergreg | eu8rwkk | <|sols|><|sot|>I also have some amazing code on my office wall. This is from a Rails model, there are at least 5 things wrong with it.<|eot|><|sol|>https://i.redd.it/xs9phrp2y7b31.jpg<|eol|><|sor|>I think this could be improved with `true unless !self.is_admin`<|eor|><|sor|>couldn't you just return self.is_admin ? whic... | 14 |
programminghorror | notevenrworthy | eu7vhfs | <|sols|><|sot|>I also have some amazing code on my office wall. This is from a Rails model, there are at least 5 things wrong with it.<|eot|><|sol|>https://i.redd.it/xs9phrp2y7b31.jpg<|eol|><|sor|>At least the theme is nice<|eor|><|eols|><|endoftext|> | 13 |
programminghorror | arto64 | eu7m9bb | <|sols|><|sot|>I also have some amazing code on my office wall. This is from a Rails model, there are at least 5 things wrong with it.<|eot|><|sol|>https://i.redd.it/xs9phrp2y7b31.jpg<|eol|><|soopr|>1. The `is_` prefix is counter to Ruby conventions
2. The first `false` is useless
3. `true if` at the end of the method
... | 13 |
programminghorror | juuular | eu7n90h | <|sols|><|sot|>I also have some amazing code on my office wall. This is from a Rails model, there are at least 5 things wrong with it.<|eot|><|sol|>https://i.redd.it/xs9phrp2y7b31.jpg<|eol|><|sor|>First thing wrong: using Rails<|eor|><|soopr|>What would you suggest as an alternative?<|eoopr|><|sor|>Phoenix/Elixir
Its ... | 13 |
programminghorror | Isvara | eu8moli | <|sols|><|sot|>I also have some amazing code on my office wall. This is from a Rails model, there are at least 5 things wrong with it.<|eot|><|sol|>https://i.redd.it/xs9phrp2y7b31.jpg<|eol|><|sor|>is the question mark suppose to be fine in Python? Does the question mark has its own purpose or can you just use it part o... | 12 |
programminghorror | Isvara | eu8nfz3 | <|sols|><|sot|>I also have some amazing code on my office wall. This is from a Rails model, there are at least 5 things wrong with it.<|eot|><|sol|>https://i.redd.it/xs9phrp2y7b31.jpg<|eol|><|soopr|>1. The `is_` prefix is counter to Ruby conventions
2. The first `false` is useless
3. `true if` at the end of the method
... | 12 |
programminghorror | carlqt | eu7m64n | <|sols|><|sot|>I also have some amazing code on my office wall. This is from a Rails model, there are at least 5 things wrong with it.<|eot|><|sol|>https://i.redd.it/xs9phrp2y7b31.jpg<|eol|><|soopr|>1. The `is_` prefix is counter to Ruby conventions
2. The first `false` is useless
3. `true if` at the end of the method
... | 11 |
programminghorror | arto64 | eu7o44a | <|sols|><|sot|>I also have some amazing code on my office wall. This is from a Rails model, there are at least 5 things wrong with it.<|eot|><|sol|>https://i.redd.it/xs9phrp2y7b31.jpg<|eol|><|sor|>First thing wrong: using Rails<|eor|><|soopr|>What would you suggest as an alternative?<|eoopr|><|sor|>Nah, I will admit my... | 9 |
programminghorror | TheFloppyToast | eu7sm2z | <|sols|><|sot|>I also have some amazing code on my office wall. This is from a Rails model, there are at least 5 things wrong with it.<|eot|><|sol|>https://i.redd.it/xs9phrp2y7b31.jpg<|eol|><|sor|>it has gone off the rails<|eor|><|sor|>Underrated<|eor|><|eols|><|endoftext|> | 8 |
programminghorror | arto64 | eu7ngbv | <|sols|><|sot|>I also have some amazing code on my office wall. This is from a Rails model, there are at least 5 things wrong with it.<|eot|><|sol|>https://i.redd.it/xs9phrp2y7b31.jpg<|eol|><|sor|>First thing wrong: using Rails<|eor|><|soopr|>What would you suggest as an alternative?<|eoopr|><|sor|>Phoenix/Elixir
Its ... | 7 |
programminghorror | arto64 | eu7ne19 | <|sols|><|sot|>I also have some amazing code on my office wall. This is from a Rails model, there are at least 5 things wrong with it.<|eot|><|sol|>https://i.redd.it/xs9phrp2y7b31.jpg<|eol|><|sor|>First thing wrong: using Rails<|eor|><|soopr|>What would you suggest as an alternative?<|eoopr|><|sor|>Phoenix/Elixir
Its ... | 6 |
programminghorror | Armeclemes | 10dez2s | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|eols|><|endoftext|> | 1,016 |
programminghorror | Appropriate-Scene-95 | j4l8gzu | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|sor|>This reminds me how I was to lazy to make a game loop for some programming beginner game. So I made the main function recursive<|eor|><|eols|><|endoftext|> | 164 |
programminghorror | a-person-called-Eric | j4ll5ac | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|sor|> except KeyError:
what?
I get it if you at least caught a timeout or something.<|eor|><|eols|><|endoftext|> | 150 |
programminghorror | Bright-Historian-216 | j4li56q | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|sor|>This reminds me how I was to lazy to make a game loop for some programming beginner game. So I made the main function recursive<|eor|><|sor|>So you only had 999 opportunities to win?<|eor|><|eols|><|endoftext|> | 70 |
programminghorror | Armeclemes | j4llw5s | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|sor|> except KeyError:
what?
I get it if you at least caught a timeout or something.<|eor|><|soopr|>Yes, I've an error "Too many request" sometime so that's the only way it's working lol<|eoopr|><|eols|><|endoftex... | 63 |
programminghorror | beeteedee | j4ly41m | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|sor|>Non-recursive solution:
```
def re():
while True:
try:
request()
break
except KeyError:
continue
```<|eor|><|eols|><|endoftext|> | 54 |
programminghorror | eloel- | j4lqjxw | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|sor|>This reminds me how I was to lazy to make a game loop for some programming beginner game. So I made the main function recursive<|eor|><|sor|>If you made it properly recursive, compiler might just have fixed it for ... | 54 |
programminghorror | EagleCoder | j4m7qca | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|sor|> except KeyError:
what?
I get it if you at least caught a timeout or something.<|eor|><|soopr|>Yes, I've an error "Too many request" sometime so that's the only way it's working lol<|eoopr|><|sor|>Too many re... | 49 |
programminghorror | redvebdes | j4m6d58 | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|sor|>\-Do the request
\-I can't, there is an error
\-Did i stutter? I said DO THE F##KIN REQUEST<|eor|><|eols|><|endoftext|> | 39 |
programminghorror | n0tKamui | j4lut9q | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|sor|>This reminds me how I was to lazy to make a game loop for some programming beginner game. So I made the main function recursive<|eor|><|sor|>I made a while(true): loop in python for the main loop, it's that how tha... | 38 |
programminghorror | Armeclemes | j4lzwqq | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|sor|> except KeyError:
what?
I get it if you at least caught a timeout or something.<|eor|><|soopr|>Yes, I've an error "Too many request" sometime so that's the only way it's working lol<|eoopr|><|sor|>Too many re... | 37 |
programminghorror | -Konrad- | j4lxafk | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|sor|> except KeyError:
what?
I get it if you at least caught a timeout or something.<|eor|><|soopr|>Yes, I've an error "Too many request" sometime so that's the only way it's working lol<|eoopr|><|sor|>Too many re... | 36 |
programminghorror | SlimesWithBowties | j4mvxfs | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|sor|> except KeyError:
what?
I get it if you at least caught a timeout or something.<|eor|><|soopr|>Yes, I've an error "Too many request" sometime so that's the only way it's working lol<|eoopr|><|sor|>Too many re... | 31 |
programminghorror | Naeio_Galaxy | j4m9i4u | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|sor|>This reminds me how I was to lazy to make a game loop for some programming beginner game. So I made the main function recursive<|eor|><|sor|>If you made it properly recursive, compiler might just have fixed it for ... | 28 |
programminghorror | RDonckIT | j4lnara | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|sor|>Add a nbToRetry in params of the function and decrease it with each recursion. When it's 0 fail properly. Then I'll accept it<|eor|><|eols|><|endoftext|> | 23 |
programminghorror | -Konrad- | j4m0qhf | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|sor|> except KeyError:
what?
I get it if you at least caught a timeout or something.<|eor|><|soopr|>Yes, I've an error "Too many request" sometime so that's the only way it's working lol<|eoopr|><|sor|>Too many re... | 18 |
programminghorror | mszegedy | j4m5qgo | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|sor|> except KeyError:
what?
I get it if you at least caught a timeout or something.<|eor|><|soopr|>Yes, I've an error "Too many request" sometime so that's the only way it's working lol<|eoopr|><|sor|>Too many re... | 17 |
programminghorror | EagleCoder | j4mzr86 | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|sor|> except KeyError:
what?
I get it if you at least caught a timeout or something.<|eor|><|soopr|>Yes, I've an error "Too many request" sometime so that's the only way it's working lol<|eoopr|><|sor|>Too many re... | 16 |
programminghorror | _PM_ME_PANGOLINS_ | j4mp68l | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|sor|> except KeyError:
what?
I get it if you at least caught a timeout or something.<|eor|><|soopr|>Yes, I've an error "Too many request" sometime so that's the only way it's working lol<|eoopr|><|sor|>Too many re... | 16 |
programminghorror | bent_my_wookie | j4n6fon | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|sor|>This reminds me how I was to lazy to make a game loop for some programming beginner game. So I made the main function recursive<|eor|><|sor|>So you only had 999 opportunities to win?<|eor|><|sor|>Frames. Very short... | 15 |
programminghorror | craftworkbench | j4lv2dw | <|sols|><|sot|>I've done this and I'm sorry<|eot|><|sol|>https://i.redd.it/htekk31nteca1.png<|eol|><|sor|>This reminds me how I was to lazy to make a game loop for some programming beginner game. So I made the main function recursive<|eor|><|sor|>I made a while(true): loop in python for the main loop, it's that how tha... | 14 |
programminghorror | xTeddyBoyx | y9xfn0 | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|eols|><|endoftext|> | 1,010 |
programminghorror | HobblingCobbler | it811h4 | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|sor|>The worst of both worlds.<|eor|><|eols|><|endoftext|> | 222 |
programminghorror | Jett_Addict | it84d89 | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|sor|>This is almost as bad as Jython. I dislike this greatly
Edit: I realized that what really grinds my gears is the editor I had to use in university, JES. But I... | 123 |
programminghorror | CreedVI | it9771q | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|sor|>Does it use `bool` or `boolean`?<|eor|><|sor|>Both, but they are not interchangeable and cannot be compared<|eor|><|eols|><|endoftext|> | 101 |
programminghorror | BimphyRedixler | it9an4v | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|sor|>Does it use `bool` or `boolean`?<|eor|><|sor|>Both, but they are not interchangeable and cannot be compared<|eor|><|sor|>Say sike right now<|eor|><|sor|>can't ... | 54 |
programminghorror | cancerBronzeV | it9nepa | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|sor|>This is almost as bad as Jython. I dislike this greatly
Edit: I realized that what really grinds my gears is the editor I had to use in university, JES. But I... | 42 |
programminghorror | xTeddyBoyx | it81u7n | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|sor|>The worst of both worlds.<|eor|><|soopr|>Indeed!<|eoopr|><|eols|><|endoftext|> | 38 |
programminghorror | No-Witness2349 | it98xui | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|sor|>Does it use `bool` or `boolean`?<|eor|><|sor|>Both, but they are not interchangeable and cannot be compared<|eor|><|sor|>Say sike right now<|eor|><|eols|><|end... | 37 |
programminghorror | HamburgerMurderface | it8tpd6 | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|sor|>This isn't fun anymore, make it stop<|eor|><|eols|><|endoftext|> | 35 |
programminghorror | BimphyRedixler | it8yltc | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|sor|>Does it use `bool` or `boolean`?<|eor|><|eols|><|endoftext|> | 32 |
programminghorror | LateinCecker | it9ovd3 | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|sor|>This is almost as bad as Jython. I dislike this greatly
Edit: I realized that what really grinds my gears is the editor I had to use in university, JES. But I... | 28 |
programminghorror | Deadly_chef | it8yqeo | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|sor|>I don't see any pointer though<|eor|><|sor|>Just like java<|eor|><|eols|><|endoftext|> | 25 |
programminghorror | PyroCatt | it8sq9j | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|sor|>Wtf is this shit<|eor|><|eols|><|endoftext|> | 20 |
programminghorror | ChromedCat | it8v3z6 | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|sor|>I don't see any pointer though<|eor|><|eols|><|endoftext|> | 17 |
programminghorror | PenisButtuh | itan67w | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|sor|>Is the code compiled or does it run in a JVM?<|eor|><|sor|>Yes<|eor|><|sor|>These inclusiveor comments need to stop. It was funny for a week but now it's just ... | 17 |
programminghorror | TurncoatTony | itaf4iy | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|sor|>>using namespace std;
yuck.<|eor|><|eols|><|endoftext|> | 13 |
programminghorror | _insomagent | itaj4sv | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|sor|>Actual programming horror thats not just some beginner doing some nave thing. Nice.<|eor|><|eols|><|endoftext|> | 13 |
programminghorror | Famout | itakv3o | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|sor|>Who's calling C++ bad?
That said, this kills me on the inside.<|eor|><|eols|><|endoftext|> | 12 |
programminghorror | MsPaganPoetry | it9l2yw | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|sor|>This is almost as bad as Jython. I dislike this greatly
Edit: I realized that what really grinds my gears is the editor I had to use in university, JES. But I... | 8 |
programminghorror | sim642 | itaxalu | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|sor|>>using namespace std;
yuck.<|eor|><|sor|>Should be namespace `Java` instead.<|eor|><|eols|><|endoftext|> | 8 |
programminghorror | t0mRiddl3 | it9mhrw | <|sols|><|sot|>People talking about C++ and Java as bad languages. Let me introduce to you: Java++<|eot|><|sol|>https://i.redd.it/zkx2fv3wm1v91.png<|eol|><|sor|>You can call this horror, but I'd almost prefer it to Java's verbosity.<|eor|><|sor|>It's one character more verbose<|eor|><|eols|><|endoftext|> | 8 |
programminghorror | mahlok | 134wyiz | <|soss|><|sot|>Meta: what's going on with this sub?<|eot|><|sost|>Sub rules say that posts should be horrifying code found in production environments. Not screenshots of error messages. Not something you wrote last week in class.
I'm here for flagrant abuse of antipatterns, 100,000 line source files, incomprehensible ... | 1,009 |
programminghorror | khedoros | jigpufi | <|soss|><|sot|>Meta: what's going on with this sub?<|eot|><|sost|>Sub rules say that posts should be horrifying code found in production environments. Not screenshots of error messages. Not something you wrote last week in class.
I'm here for flagrant abuse of antipatterns, 100,000 line source files, incomprehensible ... | 385 |
programminghorror | slideesouth | jihtuxl | <|soss|><|sot|>Meta: what's going on with this sub?<|eot|><|sost|>Sub rules say that posts should be horrifying code found in production environments. Not screenshots of error messages. Not something you wrote last week in class.
I'm here for flagrant abuse of antipatterns, 100,000 line source files, incomprehensible ... | 267 |
programminghorror | skantanio | jih4kb9 | <|soss|><|sot|>Meta: what's going on with this sub?<|eot|><|sost|>Sub rules say that posts should be horrifying code found in production environments. Not screenshots of error messages. Not something you wrote last week in class.
I'm here for flagrant abuse of antipatterns, 100,000 line source files, incomprehensible ... | 141 |
programminghorror | PolyGlotCoder | jih4z4n | <|soss|><|sot|>Meta: what's going on with this sub?<|eot|><|sost|>Sub rules say that posts should be horrifying code found in production environments. Not screenshots of error messages. Not something you wrote last week in class.
I'm here for flagrant abuse of antipatterns, 100,000 line source files, incomprehensible ... | 99 |
programminghorror | AdSilent782 | jih7135 | <|soss|><|sot|>Meta: what's going on with this sub?<|eot|><|sost|>Sub rules say that posts should be horrifying code found in production environments. Not screenshots of error messages. Not something you wrote last week in class.
I'm here for flagrant abuse of antipatterns, 100,000 line source files, incomprehensible ... | 65 |
programminghorror | Juff-Ma | jigmr1x | <|soss|><|sot|>Meta: what's going on with this sub?<|eot|><|sost|>Sub rules say that posts should be horrifying code found in production environments. Not screenshots of error messages. Not something you wrote last week in class.
I'm here for flagrant abuse of antipatterns, 100,000 line source files, incomprehensible ... | 60 |
programminghorror | mirodk45 | jihe9j3 | <|soss|><|sot|>Meta: what's going on with this sub?<|eot|><|sost|>Sub rules say that posts should be horrifying code found in production environments. Not screenshots of error messages. Not something you wrote last week in class.
I'm here for flagrant abuse of antipatterns, 100,000 line source files, incomprehensible ... | 53 |
programminghorror | NeoKabuto | jihvujx | <|soss|><|sot|>Meta: what's going on with this sub?<|eot|><|sost|>Sub rules say that posts should be horrifying code found in production environments. Not screenshots of error messages. Not something you wrote last week in class.
I'm here for flagrant abuse of antipatterns, 100,000 line source files, incomprehensible ... | 46 |
programminghorror | pxOMR | jiib0of | <|soss|><|sot|>Meta: what's going on with this sub?<|eot|><|sost|>Sub rules say that posts should be horrifying code found in production environments. Not screenshots of error messages. Not something you wrote last week in class.
I'm here for flagrant abuse of antipatterns, 100,000 line source files, incomprehensible ... | 45 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.