subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programminghorror | SirButcher | ioj3nqt | <|sols|><|sot|>A lowercase letter to define new function, what could go wrong.<|eot|><|sol|>https://i.redd.it/6g4h9lhzjzn91.jpg<|eol|><|sor|>At least add a [Deprecated] tag, daaang.<|eor|><|eols|><|endoftext|> | 50 |
programminghorror | grahamw01 | ioirj5p | <|sols|><|sot|>A lowercase letter to define new function, what could go wrong.<|eot|><|sol|>https://i.redd.it/6g4h9lhzjzn91.jpg<|eol|><|sor|>I often complain about people using shortened/abbreviated words or variable names, but I'm a sucker for i18n.<|eor|><|eols|><|endoftext|> | 41 |
programminghorror | LetterBoxSnatch | ioka0ab | <|sols|><|sot|>A lowercase letter to define new function, what could go wrong.<|eot|><|sol|>https://i.redd.it/6g4h9lhzjzn91.jpg<|eol|><|sor|>No line of code will last longer than the one marked "legacy, remove me later"<|eor|><|soopr|>The truth<|eoopr|><|sor|>Every time I come back the comment says remove later, never ... | 41 |
programminghorror | tsl143 | iojrhm6 | <|sols|><|sot|>A lowercase letter to define new function, what could go wrong.<|eot|><|sol|>https://i.redd.it/6g4h9lhzjzn91.jpg<|eol|><|sor|>No line of code will last longer than the one marked "legacy, remove me later"<|eor|><|soopr|>The truth<|eoopr|><|eols|><|endoftext|> | 37 |
programminghorror | LetterBoxSnatch | iokaqif | <|sols|><|sot|>A lowercase letter to define new function, what could go wrong.<|eot|><|sol|>https://i.redd.it/6g4h9lhzjzn91.jpg<|eol|><|sor|>Always snake_case functions and then use uppercase letters to store the binary encoded version number of the function.
```
example_function; //v0
example_functioN; //v1
example_f... | 32 |
programminghorror | LBGW_experiment | iok4u83 | <|sols|><|sot|>A lowercase letter to define new function, what could go wrong.<|eot|><|sol|>https://i.redd.it/6g4h9lhzjzn91.jpg<|eol|><|sor|>Always snake_case functions and then use uppercase letters to store the binary encoded version number of the function.
```
example_function; //v0
example_functioN; //v1
example_f... | 23 |
programminghorror | bitfxxker | iol28q6 | <|sols|><|sot|>A lowercase letter to define new function, what could go wrong.<|eot|><|sol|>https://i.redd.it/6g4h9lhzjzn91.jpg<|eol|><|sor|>No line of code will last longer than the one marked "legacy, remove me later"<|eor|><|sor|>Recently spotted a FIXME I added in an open source project that I was involved in profe... | 21 |
programminghorror | Panacean | ioje35q | <|sols|><|sot|>A lowercase letter to define new function, what could go wrong.<|eot|><|sol|>https://i.redd.it/6g4h9lhzjzn91.jpg<|eol|><|sor|>What should have been better naming?<|eor|><|sor|>Changing the function itself probably would have been simpler. Just add some checking to identify whether to use the legacy versi... | 17 |
programminghorror | Handle-Flaky | iokertx | <|sols|><|sot|>A lowercase letter to define new function, what could go wrong.<|eot|><|sol|>https://i.redd.it/6g4h9lhzjzn91.jpg<|eol|><|sor|>Its actually very common in go, since go uses capitalized names to export them to users<|eor|><|eols|><|endoftext|> | 12 |
programminghorror | zeGolem83 | iok0e1r | <|sols|><|sot|>A lowercase letter to define new function, what could go wrong.<|eot|><|sol|>https://i.redd.it/6g4h9lhzjzn91.jpg<|eol|><|sor|>What should have been better naming?<|eor|><|sor|>I'd probably name the old one something like `__oldAndDeprecatedLoadDeliveryLocationsDoNotUse`, that way it'll stand out, and mak... | 11 |
programminghorror | dagbrown | iolz5fh | <|sols|><|sot|>A lowercase letter to define new function, what could go wrong.<|eot|><|sol|>https://i.redd.it/6g4h9lhzjzn91.jpg<|eol|><|sor|>Always snake_case functions and then use uppercase letters to store the binary encoded version number of the function.
```
example_function; //v0
example_functioN; //v1
example_f... | 11 |
programminghorror | mavaje | iolo8r6 | <|sols|><|sot|>A lowercase letter to define new function, what could go wrong.<|eot|><|sol|>https://i.redd.it/6g4h9lhzjzn91.jpg<|eol|><|sor|>Always snake_case functions and then use uppercase letters to store the binary encoded version number of the function.
```
example_function; //v0
example_functioN; //v1
example_f... | 10 |
programminghorror | backend_geek | ioj0dbb | <|sols|><|sot|>A lowercase letter to define new function, what could go wrong.<|eot|><|sol|>https://i.redd.it/6g4h9lhzjzn91.jpg<|eol|><|sor|>What should have been better naming?<|eor|><|eols|><|endoftext|> | 8 |
programminghorror | Lor1an | iompbfg | <|sols|><|sot|>A lowercase letter to define new function, what could go wrong.<|eot|><|sol|>https://i.redd.it/6g4h9lhzjzn91.jpg<|eol|><|sor|>No line of code will last longer than the one marked "legacy, remove me later"<|eor|><|sor|>Recently spotted a FIXME I added in an open source project that I was involved in profe... | 6 |
programminghorror | dagbrown | iolv1zu | <|sols|><|sot|>A lowercase letter to define new function, what could go wrong.<|eot|><|sol|>https://i.redd.it/6g4h9lhzjzn91.jpg<|eol|><|sor|>Always snake_case functions and then use uppercase letters to store the binary encoded version number of the function.
```
example_function; //v0
example_functioN; //v1
example_f... | 5 |
programminghorror | mavaje | iolvtok | <|sols|><|sot|>A lowercase letter to define new function, what could go wrong.<|eot|><|sol|>https://i.redd.it/6g4h9lhzjzn91.jpg<|eol|><|sor|>Always snake_case functions and then use uppercase letters to store the binary encoded version number of the function.
```
example_function; //v0
example_functioN; //v1
example_f... | 5 |
programminghorror | _ulternate | grhrze | <|sols|><|sot|>Why not return a response with the 401 status code?<|eot|><|sol|>https://i.imgur.com/OVpDaXm.png<|eol|><|eols|><|endoftext|> | 800 |
programminghorror | wagedomain | frz464r | <|sols|><|sot|>Why not return a response with the 401 status code?<|eot|><|sol|>https://i.imgur.com/OVpDaXm.png<|eol|><|sor|>I've seen this before. It's a strange idea from API developers that ANY response is a "success" and thus 200, and if there was an error, then they should provide context like code as the body of ... | 243 |
programminghorror | turboPocky | frz4vbk | <|sols|><|sot|>Why not return a response with the 401 status code?<|eot|><|sol|>https://i.imgur.com/OVpDaXm.png<|eol|><|sor|>I've seen this before. It's a strange idea from API developers that ANY response is a "success" and thus 200, and if there was an error, then they should provide context like code as the body of ... | 70 |
programminghorror | Samurai___ | frz622l | <|sols|><|sot|>Why not return a response with the 401 status code?<|eot|><|sol|>https://i.imgur.com/OVpDaXm.png<|eol|><|sor|>We do this for two reasons in our multi layered big ass application.
1. one of the layers doesn't allow setting a body for an unsuccessful request.
2. one of the layers thought it was a successf... | 59 |
programminghorror | CptCono | frz67xe | <|sols|><|sot|>Why not return a response with the 401 status code?<|eot|><|sol|>https://i.imgur.com/OVpDaXm.png<|eol|><|sor|>I've seen this before. It's a strange idea from API developers that ANY response is a "success" and thus 200, and if there was an error, then they should provide context like code as the body of ... | 54 |
programminghorror | wonderb0lt | frzkb6g | <|sols|><|sot|>Why not return a response with the 401 status code?<|eot|><|sol|>https://i.imgur.com/OVpDaXm.png<|eol|><|sor|>We do this for two reasons in our multi layered big ass application.
1. one of the layers doesn't allow setting a body for an unsuccessful request.
2. one of the layers thought it was a successf... | 52 |
programminghorror | TorbenKoehn | frz7633 | <|sols|><|sot|>Why not return a response with the 401 status code?<|eot|><|sol|>https://i.imgur.com/OVpDaXm.png<|eol|><|sor|>We do this for two reasons in our multi layered big ass application.
1. one of the layers doesn't allow setting a body for an unsuccessful request.
2. one of the layers thought it was a successf... | 49 |
programminghorror | wagedomain | frz6f8t | <|sols|><|sot|>Why not return a response with the 401 status code?<|eot|><|sol|>https://i.imgur.com/OVpDaXm.png<|eol|><|sor|>I've seen this before. It's a strange idea from API developers that ANY response is a "success" and thus 200, and if there was an error, then they should provide context like code as the body of ... | 44 |
programminghorror | fun_egg | frz04ze | <|sols|><|sot|>Why not return a response with the 401 status code?<|eot|><|sol|>https://i.imgur.com/OVpDaXm.png<|eol|><|sor|>~~It's a fairly standard practice.~~
I was a dumbass. I didn't saw the status code was 200. And the http status code was in the body.
This is bad. Indeed a r/programminghorror
I assumed a few ... | 40 |
programminghorror | Aethy | frz5h11 | <|sols|><|sot|>Why not return a response with the 401 status code?<|eot|><|sol|>https://i.imgur.com/OVpDaXm.png<|eol|><|sor|>I seem to recall this being a holdover from JSONP, before widespread CORS support, where you have to return a 200 in order for the browser to run the script. Could be wrong. There's no excuse t... | 37 |
programminghorror | _ulternate | frz1c3y | <|sols|><|sot|>Why not return a response with the 401 status code?<|eot|><|sol|>https://i.imgur.com/OVpDaXm.png<|eol|><|sor|>~~It's a fairly standard practice.~~
I was a dumbass. I didn't saw the status code was 200. And the http status code was in the body.
This is bad. Indeed a r/programminghorror
I assumed a few ... | 28 |
programminghorror | Samurai___ | frz90f1 | <|sols|><|sot|>Why not return a response with the 401 status code?<|eot|><|sol|>https://i.imgur.com/OVpDaXm.png<|eol|><|sor|>We do this for two reasons in our multi layered big ass application.
1. one of the layers doesn't allow setting a body for an unsuccessful request.
2. one of the layers thought it was a successf... | 25 |
programminghorror | camalaio | frzps2a | <|sols|><|sot|>Why not return a response with the 401 status code?<|eot|><|sol|>https://i.imgur.com/OVpDaXm.png<|eol|><|sor|>I've seen this before. It's a strange idea from API developers that ANY response is a "success" and thus 200, and if there was an error, then they should provide context like code as the body of ... | 22 |
programminghorror | TorbenKoehn | frz7jaq | <|sols|><|sot|>Why not return a response with the 401 status code?<|eot|><|sol|>https://i.imgur.com/OVpDaXm.png<|eol|><|sor|>I think the only explanation I ever saw was that it separates the API endpoint - which you ARE authorised to access - from the content you're requesting _through_ it - which you aren't - to... pr... | 21 |
programminghorror | theannomc1 | frz1dpd | <|sols|><|sot|>Why not return a response with the 401 status code?<|eot|><|sol|>https://i.imgur.com/OVpDaXm.png<|eol|><|sor|>~~It's a fairly standard practice.~~
I was a dumbass. I didn't saw the status code was 200. And the http status code was in the body.
This is bad. Indeed a r/programminghorror
I assumed a few ... | 21 |
programminghorror | Koxiaet | frzvdfh | <|sols|><|sot|>Why not return a response with the 401 status code?<|eot|><|sol|>https://i.imgur.com/OVpDaXm.png<|eol|><|sor|>I've seen this before. It's a strange idea from API developers that ANY response is a "success" and thus 200, and if there was an error, then they should provide context like code as the body of ... | 21 |
programminghorror | kevinhaze | fs03ryw | <|sols|><|sot|>Why not return a response with the 401 status code?<|eot|><|sol|>https://i.imgur.com/OVpDaXm.png<|eol|><|sor|>I've seen this before. It's a strange idea from API developers that ANY response is a "success" and thus 200, and if there was an error, then they should provide context like code as the body of ... | 21 |
programminghorror | Ran4 | frzxeph | <|sols|><|sot|>Why not return a response with the 401 status code?<|eot|><|sol|>https://i.imgur.com/OVpDaXm.png<|eol|><|sor|>We do this for two reasons in our multi layered big ass application.
1. one of the layers doesn't allow setting a body for an unsuccessful request.
2. one of the layers thought it was a successf... | 19 |
programminghorror | wonderb0lt | frzq1d9 | <|sols|><|sot|>Why not return a response with the 401 status code?<|eot|><|sol|>https://i.imgur.com/OVpDaXm.png<|eol|><|sor|>We do this for two reasons in our multi layered big ass application.
1. one of the layers doesn't allow setting a body for an unsuccessful request.
2. one of the layers thought it was a successf... | 18 |
programminghorror | TorbenKoehn | frzp6ox | <|sols|><|sot|>Why not return a response with the 401 status code?<|eot|><|sol|>https://i.imgur.com/OVpDaXm.png<|eol|><|sor|>We do this for two reasons in our multi layered big ass application.
1. one of the layers doesn't allow setting a body for an unsuccessful request.
2. one of the layers thought it was a successf... | 18 |
programminghorror | provsnoobplayz | dv89yg | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|eols|><|endoftext|> | 800 |
programminghorror | provsnoobplayz | f7b4evj | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|soopr|>so i pinged 1.7k members in this discord lmao<|eoopr|><|eols|><|endoftext|> | 342 |
programminghorror | FlipskiZ | f7bddp9 | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|sor|>Oh yes, this is something I was careful about when making a module for a bot haha.
Remember the bot has admin privileges. Escape the special characters like @ and /<|eor|><|eols|><|endoftext|> | 144 |
programminghorror | ndgnuh | f7b88y5 | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|sor|>if this is a `while(true)`, it would be a lot more evil...<|eor|><|eols|><|endoftext|> | 112 |
programminghorror | pavel_lishin | f7bt4gh | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|sor|>if this is a `while(true)`, it would be a lot more evil...<|eor|><|soopr|>maximum discord text is 2000 blame php $_GET and the process will stop fast<|eoopr|><|sor|>I'm not sure what relevance PHP and `$_GET` has to your choice of loopin... | 78 |
programminghorror | provsnoobplayz | f7b9ek3 | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|sor|>if this is a `while(true)`, it would be a lot more evil...<|eor|><|soopr|>maximum discord text is 2000 blame php $_GET and the process will stop fast<|eoopr|><|eols|><|endoftext|> | 66 |
programminghorror | weirdasianfaces | f7cwnu0 | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|soopr|>so i pinged 1.7k members in this discord lmao<|eoopr|><|sor|>Nice privilege escalation you found there, senior pentester.<|eor|><|eols|><|endoftext|> | 52 |
programminghorror | UnacceptableUse | f7c1khv | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|sor|>Is this a custom bot cuz i can't find it online?<|eor|><|soopr|>there you go https://discordapp.com/oauth2/authorize?client_id=469922257750327306&permissions=8&scope=bot used an oauth generator with its user id<|eoopr|><|sor|>Advertising... | 51 |
programminghorror | fiskfisk | f7b9zo6 | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|sor|>if this is a `while(true)`, it would be a lot more evil...<|eor|><|soopr|>maximum discord text is 2000 blame php $_GET and the process will stop fast<|eoopr|><|sor|>I'm not sure what relevance PHP and `$_GET` has to your choice of loopin... | 46 |
programminghorror | future-renwire | f7c8kty | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|soopr|>so i pinged 1.7k members in this discord lmao<|eoopr|><|sor|>You are a monster<|eor|><|eols|><|endoftext|> | 40 |
programminghorror | starm4nn | f7bjfy1 | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|sor|>Oh yes, this is something I was careful about when making a module for a bot haha.
Remember the bot has admin privileges. Escape the special characters like @ and /<|eor|><|sor|>IIRC, don't most Discord APIs have an auto-escape feature?... | 40 |
programminghorror | provsnoobplayz | f7czev5 | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|soopr|>so i pinged 1.7k members in this discord lmao<|eoopr|><|sor|>And then you got banned from the channel?<|eor|><|soopr|>After that i got ban for i don't even care anymore, you started it all. bye gamer.<|eoopr|><|eols|><|endoftext|> | 39 |
programminghorror | Symphonic_Rainboom | f7brv68 | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|sor|>Oh yes, this is something I was careful about when making a module for a bot haha.
Remember the bot has admin privileges. Escape the special characters like @ and /<|eor|><|sor|>If the bot has admin privileges, can you construct a comma... | 38 |
programminghorror | provsnoobplayz | f7ba9gc | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|sor|>if this is a `while(true)`, it would be a lot more evil...<|eor|><|soopr|>maximum discord text is 2000 blame php $_GET and the process will stop fast<|eoopr|><|sor|>I'm not sure what relevance PHP and `$_GET` has to your choice of loopin... | 38 |
programminghorror | dont_get_your_jokes | f7bw42q | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|sor|>sanitizeyouroutputs, sanitizeyouroutputs<|eor|><|eols|><|endoftext|> | 37 |
programminghorror | Dimi1010 | f7bsktx | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|sor|>Oh yes, this is something I was careful about when making a module for a bot haha.
Remember the bot has admin privileges. Escape the special characters like @ and /<|eor|><|sor|>If the bot has admin privileges, can you construct a comma... | 32 |
programminghorror | SpeckledFleebeedoo | f7cnu7y | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|soopr|>so i pinged 1.7k members in this discord lmao<|eoopr|><|sor|>And then you got banned from the channel?<|eor|><|eols|><|endoftext|> | 29 |
programminghorror | provsnoobplayz | f7baa8c | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|sor|>if this is a `while(true)`, it would be a lot more evil...<|eor|><|soopr|>maximum discord text is 2000 blame php $_GET and the process will stop fast<|eoopr|><|sor|>I'm not sure what relevance PHP and `$_GET` has to your choice of loopin... | 23 |
programminghorror | Blazeleoson | f7bct11 | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|sor|>Is this a custom bot cuz i can't find it online?<|eor|><|eols|><|endoftext|> | 20 |
programminghorror | 1bc29b36f623ba82aaf6 | f7c2ii4 | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|sor|>I dont know what you expected to happen?<|eor|><|sor|>the author of the program expected to ping everyone while the author of the bot running it expected that by putting all the output in a codeblock with tripple backticks would prevent... | 20 |
programminghorror | blattoid | f7bwdd4 | <|sols|><|sot|>easy.<|eot|><|sol|>https://i.redd.it/iijxwj8kh8y31.jpg<|eol|><|sor|>sanitizeyouroutputs, sanitizeyouroutputs<|eor|><|sor|>output.replace("@everyone", "")<|eor|><|eols|><|endoftext|> | 18 |
programminghorror | DeathDragon7050 | s8ppwc | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|eols|><|endoftext|> | 801 |
programminghorror | burtawicz | hthqjxo | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|sor|>This is clearly an l33t indentation strategy<|eor|><|eols|><|endoftext|> | 297 |
programminghorror | SZ4L4Y | hti2sru | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|sor|>Do you pay for the education?<|eor|><|eols|><|endoftext|> | 221 |
programminghorror | StrangeMonk | htit33c | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|sor|>If you cant program, teach<|eor|><|eols|><|endoftext|> | 138 |
programminghorror | Ok_Detective5953 | htidb2e | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|sor|>Do you pay for the education?<|eor|><|soopr|>Yes<|eoopr|><|sor|>Is it for guaranteed college credits? Even still, you should ask for a refund because youre being shortchanged for a poor education th... | 135 |
programminghorror | DeathDragon7050 | htibadv | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|sor|>Do you pay for the education?<|eor|><|soopr|>Yes<|eoopr|><|eols|><|endoftext|> | 131 |
programminghorror | Gerg741 | htj30je | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|sor|> public static int large (int first, int second)
{
if (first >= second)
{
return first;
}
return second;
}
????
this is ignoring everythi... | 114 |
programminghorror | Night-Fog | htirtp0 | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|sor|>This is clearly an l33t indentation strategy<|eor|><|sor|>At least the bad indentation is consistent<|eor|><|eols|><|endoftext|> | 95 |
programminghorror | DeathDragon7050 | htigyqu | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|sor|>Do you pay for the education?<|eor|><|soopr|>Yes<|eoopr|><|sor|>Is it for guaranteed college credits? Even still, you should ask for a refund because youre being shortchanged for a poor education th... | 81 |
programminghorror | baselganglia | htjrs6p | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|sor|> public static int large (int first, int second)
{
if (first >= second)
{
return first;
}
return second;
}
????
this is ignoring everythi... | 70 |
programminghorror | Ok_Detective5953 | htijhen | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|sor|>Do you pay for the education?<|eor|><|soopr|>Yes<|eoopr|><|sor|>Is it for guaranteed college credits? Even still, you should ask for a refund because youre being shortchanged for a poor education th... | 68 |
programminghorror | redpepper74 | htj5ljv | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|sor|> public static int large (int first, int second)
{
if (first >= second)
{
return first;
}
return second;
}
????
this is ignoring everythi... | 64 |
programminghorror | Jfigz | htk2y6x | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|sor|>Do you pay for the education?<|eor|><|soopr|>Yes<|eoopr|><|sor|>Is it for guaranteed college credits? Even still, you should ask for a refund because youre being shortchanged for a poor education th... | 56 |
programminghorror | Ok_Detective5953 | hthtz43 | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|sor|>Seems like theres always someone validating the idiom, those who cant, teach.<|eor|><|eols|><|endoftext|> | 52 |
programminghorror | DeathDragon7050 | htiucey | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|sor|>Do you pay for the education?<|eor|><|soopr|>Yes<|eoopr|><|sor|>Is it for guaranteed college credits? Even still, you should ask for a refund because youre being shortchanged for a poor education th... | 50 |
programminghorror | constant_void | htjalwt | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|sor|> public static int large (int first, int second)
{
if (first >= second)
{
return first;
}
return second;
}
????
this is ignoring everythi... | 43 |
programminghorror | Gerg741 | htjs7kk | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|sor|> public static int large (int first, int second)
{
if (first >= second)
{
return first;
}
return second;
}
????
this is ignoring everythi... | 41 |
programminghorror | sternold | htldehu | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|sor|> public static int large (int first, int second)
{
if (first >= second)
{
return first;
}
return second;
}
????
this is ignoring everythi... | 39 |
programminghorror | YourFavoriteBandSux | htixf9a | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|sor|>Sometimes we write bad looking code on purpose hoping that a student will point it out to foster a discussion about style. One screenshot from the middle of a course is not necessarily indicative o... | 37 |
programminghorror | DeathDragon7050 | htiy2ib | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|sor|>Sometimes we write bad looking code on purpose hoping that a student will point it out to foster a discussion about style. One screenshot from the middle of a course is not necessarily indicative o... | 35 |
programminghorror | drcforbin | htirwta | <|sols|><|sot|>My AP Computer Science Teacher is Incredible<|eot|><|sol|>https://i.redd.it/c9tx02duzvc81.png<|eol|><|sor|>apart from the identation and the useless else if parts, why is it throwing an error? It's late and I'm probably blind af right now but even if neither path would be chosen (which in this case shoul... | 33 |
programminghorror | Cammeritz | 1122dnp | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|eols|><|endoftext|> | 793 |
programminghorror | Familiar_Ad_8919 | j8hma7p | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|sor|>yes for loop bad but why is the if in a different font<|eor|><|eols|><|endoftext|> | 378 |
programminghorror | nekokattt | j8hx31t | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|sor|>yes for loop bad but why is the if in a different font<|eor|><|soopr|>Its actually not only the if but general keywords like true/false, or some datatypes have different colors in combination with a different font. ... | 135 |
programminghorror | yellowsportscar66 | j8hnlpg | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|sor|>You couldnt pay me to code in that font<|eor|><|eols|><|endoftext|> | 114 |
programminghorror | beeteedee | j8ikagv | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|sor|><|eor|><|eols|><|endoftext|> | 74 |
programminghorror | getshrektdh | j8hq6h9 | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|sor|>HorrorFont or in short HF (not Have Fun).<|eor|><|eols|><|endoftext|> | 68 |
programminghorror | Cammeritz | j8hmf4o | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|sor|>yes for loop bad but why is the if in a different font<|eor|><|soopr|>Its actually not only the if but general keywords like true/false, or some datatypes have different colors in combination with a different font. ... | 62 |
programminghorror | notAnotherJSDev | j8hnpqt | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|sor|>```
jsonResponse.selectedTimes.some()
```
I get people being new to things, but this is a problem. Jesus.<|eor|><|eols|><|endoftext|> | 39 |
programminghorror | LeCrushinator | j8kfkq1 | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|sor|>```
jsonResponse.selectedTimes.some()
```
I get people being new to things, but this is a problem. Jesus.<|eor|><|sor|>Surely you mean `jsonResponse.``.some(...)`<|eor|><|eols|><|endoftext|> | 35 |
programminghorror | _MrTaku_ | j8hmfpw | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|sor|>yes for loop bad but why is the if in a different font<|eor|><|sor|>I JUST NOTICED WTF<|eor|><|eols|><|endoftext|> | 34 |
programminghorror | mothzilla | j8jwetu | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|sor|>yes for loop bad but why is the if in a different font<|eor|><|sor|>Front end developers do weird things with fonts to make it less brainfucky.<|eor|><|eols|><|endoftext|> | 26 |
programminghorror | PacoTaco321 | j8i9633 | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|sor|>yes for loop bad but why is the if in a different font<|eor|><|soopr|>Its actually not only the if but general keywords like true/false, or some datatypes have different colors in combination with a different font. ... | 25 |
programminghorror | mshthn | j8jewnb | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|sor|>yes for loop bad but why is the if in a different font<|eor|><|sor|> Because he wants his special place in hell<|eor|><|eols|><|endoftext|> | 24 |
programminghorror | notAnotherJSDev | j8hobm7 | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|sor|>```
jsonResponse.selectedTimes.some()
```
I get people being new to things, but this is a problem. Jesus.<|eor|><|soopr|>The comment above said this was done at 3am so i guess thats the reasoning behind it lol<|eoo... | 24 |
programminghorror | Oxey405 | j8hl8yr | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|sor|>What is it even supposed to do ???<|eor|><|eols|><|endoftext|> | 19 |
programminghorror | v_maria | j8hslwj | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|sor|>```
jsonResponse.selectedTimes.some()
```
I get people being new to things, but this is a problem. Jesus.<|eor|><|soopr|>The comment above said this was done at 3am so i guess thats the reasoning behind it lol<|eoo... | 19 |
programminghorror | Nctrn07 | j8jpi3n | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|sor|>I am offended by the font<|eor|><|eols|><|endoftext|> | 16 |
programminghorror | PsychologicalTone418 | j8iozic | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|sor|>yes for loop bad but why is the if in a different font<|eor|><|soopr|>Its actually not only the if but general keywords like true/false, or some datatypes have different colors in combination with a different font. ... | 16 |
programminghorror | IanisVasilev | j8htpc9 | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|sor|>```
jsonResponse.selectedTimes.some()
```
I get people being new to things, but this is a problem. Jesus.<|eor|><|soopr|>The comment above said this was done at 3am so i guess thats the reasoning behind it lol<|eoo... | 16 |
programminghorror | PsychologicalTone418 | j8jndfc | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|sor|>yes for loop bad but why is the if in a different font<|eor|><|soopr|>Its actually not only the if but general keywords like true/false, or some datatypes have different colors in combination with a different font. ... | 16 |
programminghorror | call-your-mother-pls | j8l50mj | <|sols|><|sot|>Well, i guess it works, eh?<|eot|><|sol|>https://i.redd.it/6z41nsb7v4ia1.png<|eol|><|sor|>yes for loop bad but why is the if in a different font<|eor|><|soopr|>Its actually not only the if but general keywords like true/false, or some datatypes have different colors in combination with a different font. ... | 14 |
programminghorror | daddypleaae | sqwfsk | <|sols|><|sot|>The task was to just sort the list<|eot|><|sol|>https://i.redd.it/gqr2oz30sfh81.jpg<|eol|><|eols|><|endoftext|> | 800 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.