subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programminghorror | Founntain | i81quhz | <|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|sor|>Forever stuck at 100k followers.<|eor|><|sor|>False. The comma in the `int` declaration will surely be a syntax error first.<|eor|><|sor|>Thats actually true, but still doesnt change the fact if the code would work, that the per... | 17 |
programminghorror | adreamofhodor | i83qd01 | <|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|sor|>Does java have the string repeat method yet? This could be Java (or kotlin since you can "add" new methods to pre-existing classes)
Still won't compile this bs though
Edit for the people who think I'm trying to figure out wha... | 11 |
programminghorror | anon2019L | i82om69 | <|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|sor|>I want this theme<|eor|><|eols|><|endoftext|> | 10 |
programminghorror | LMCuber | i81l1g5 | <|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|sor|>Does java have the string repeat method yet? This could be Java (or kotlin since you can "add" new methods to pre-existing classes)
Still won't compile this bs though
Edit for the people who think I'm trying to figure out wha... | 10 |
programminghorror | ForestCat512 | i81lph0 | <|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|sor|>To be faire. This is a lot better than other ones on here<|eor|><|soopr|>Yes<|eoopr|><|eols|><|endoftext|> | 10 |
programminghorror | rsjc852 | i824pw3 | <|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|sor|>My smooth brain doesn't get it, what is this code trying to achieve. Needs more context. Repeat 50k times looks odd.<|eor|><|sor|>Short answer:
viewer engagement, rage bait
Longer answer:
It's quirky pseudo-code that wishes t... | 9 |
programminghorror | jgerrish | i81e64v | <|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|sor|>You forgot the line at the top that changes everything.
If (LOTUS || COREL) {
delay(ALOT);
}<|eor|><|eols|><|endoftext|> | 7 |
programminghorror | Primuth | i825lm8 | <|sols|><|sot|>Another Gem...<|eot|><|sol|>https://i.redd.it/t050xf68jmy81.png<|eol|><|sor|>Ok Im not reading the code because I value my mental health but from whence cometh that 80s neon vaporwave color scheme?<|eor|><|sor|>Seconded<|eor|><|eols|><|endoftext|> | 7 |
programminghorror | cyxneer | h9zzxe | <|sols|><|sot|>God help me refactoring this (found in the depths of a production API)<|eot|><|sol|>https://i.redd.it/l08345cuh8551.png<|eol|><|eols|><|endoftext|> | 1,031 |
programminghorror | slashasdf | fuzsqya | <|sols|><|sot|>God help me refactoring this (found in the depths of a production API)<|eot|><|sol|>https://i.redd.it/l08345cuh8551.png<|eol|><|sor|>Mate, your IDE is showing syntax errors in the *comments*, you're on your own lol.<|eor|><|eols|><|endoftext|> | 789 |
programminghorror | Inadover | fuzunx8 | <|sols|><|sot|>God help me refactoring this (found in the depths of a production API)<|eot|><|sol|>https://i.redd.it/l08345cuh8551.png<|eol|><|sor|>I love how you marked it as NSFW<|eor|><|eols|><|endoftext|> | 210 |
programminghorror | cyxneer | fuztm6j | <|sols|><|sot|>God help me refactoring this (found in the depths of a production API)<|eot|><|sol|>https://i.redd.it/l08345cuh8551.png<|eol|><|sor|>Mate, your IDE is showing syntax errors in the *comments*, you're on your own lol.<|eor|><|sor|>Looks like sublime text with the wrong language/syntax selected.
@OP choos... | 205 |
programminghorror | user_namec_hecks_out | fuzwm6i | <|sols|><|sot|>God help me refactoring this (found in the depths of a production API)<|eot|><|sol|>https://i.redd.it/l08345cuh8551.png<|eol|><|sor|>That Spanish-English combination is just epic.<|eor|><|eols|><|endoftext|> | 171 |
programminghorror | indivisible | fuzthpc | <|sols|><|sot|>God help me refactoring this (found in the depths of a production API)<|eot|><|sol|>https://i.redd.it/l08345cuh8551.png<|eol|><|sor|>Mate, your IDE is showing syntax errors in the *comments*, you're on your own lol.<|eor|><|sor|>Looks like sublime text with the wrong language/syntax selected.
@OP choos... | 162 |
programminghorror | Pradfanne | fuzy6vi | <|sols|><|sot|>God help me refactoring this (found in the depths of a production API)<|eot|><|sol|>https://i.redd.it/l08345cuh8551.png<|eol|><|sor|>That Spanish-English combination is just epic.<|eor|><|sor|>My favorite part is `responsesInclude` and `respuestas`
Like, atleast use the word in the same language<|eor|><... | 97 |
programminghorror | lapa98 | fuzwtst | <|sols|><|sot|>God help me refactoring this (found in the depths of a production API)<|eot|><|sol|>https://i.redd.it/l08345cuh8551.png<|eol|><|sor|>That Spanish-English combination is just epic.<|eor|><|sor|>Nothing screams readability like bilingual code<|eor|><|eols|><|endoftext|> | 95 |
programminghorror | SexyMonad | fv0f9u0 | <|sols|><|sot|>God help me refactoring this (found in the depths of a production API)<|eot|><|sol|>https://i.redd.it/l08345cuh8551.png<|eol|><|sor|>That Spanish-English combination is just epic.<|eor|><|sor|>My favorite part is `responsesInclude` and `respuestas`
Like, atleast use the word in the same language<|eor|><... | 91 |
programminghorror | indivisible | fuztrmi | <|sols|><|sot|>God help me refactoring this (found in the depths of a production API)<|eot|><|sol|>https://i.redd.it/l08345cuh8551.png<|eol|><|sor|>Mate, your IDE is showing syntax errors in the *comments*, you're on your own lol.<|eor|><|sor|>Looks like sublime text with the wrong language/syntax selected.
@OP choos... | 79 |
programminghorror | Denoley | fuzykot | <|sols|><|sot|>God help me refactoring this (found in the depths of a production API)<|eot|><|sol|>https://i.redd.it/l08345cuh8551.png<|eol|><|sor|>Too modern to use let instead of var. Too primal to use forEach. Interesting persona indeed
Edit: foraEach typo fix. Javascript is so abstract that people actually gone an... | 64 |
programminghorror | gonzofish | fv0bn4c | <|sols|><|sot|>God help me refactoring this (found in the depths of a production API)<|eot|><|sol|>https://i.redd.it/l08345cuh8551.png<|eol|><|sor|>Is that function named `1`???<|eor|><|eols|><|endoftext|> | 63 |
programminghorror | cyxneer | fuztuzg | <|sols|><|sot|>God help me refactoring this (found in the depths of a production API)<|eot|><|sol|>https://i.redd.it/l08345cuh8551.png<|eol|><|sor|>Mate, your IDE is showing syntax errors in the *comments*, you're on your own lol.<|eor|><|sor|>Looks like sublime text with the wrong language/syntax selected.
@OP choos... | 60 |
programminghorror | Bit5keptical | fuzuusm | <|sols|><|sot|>God help me refactoring this (found in the depths of a production API)<|eot|><|sol|>https://i.redd.it/l08345cuh8551.png<|eol|><|sor|>I love how you marked it as NSFW<|eor|><|sor|>We should thank him for that.<|eor|><|eols|><|endoftext|> | 58 |
programminghorror | cyxneer | fv0dsrc | <|sols|><|sot|>God help me refactoring this (found in the depths of a production API)<|eot|><|sol|>https://i.redd.it/l08345cuh8551.png<|eol|><|sor|>Is that function named `1`???<|eor|><|soopr|>I love that every time someone comment they notice something new in the code<|eoopr|><|eols|><|endoftext|> | 54 |
programminghorror | lapa98 | fuzwskb | <|sols|><|sot|>God help me refactoring this (found in the depths of a production API)<|eot|><|sol|>https://i.redd.it/l08345cuh8551.png<|eol|><|sor|>That map looks like a fucking heatmap of where Americans want to airstrike Vietnam god daaamn<|eor|><|eols|><|endoftext|> | 53 |
programminghorror | shipwreckedonalake | fuzxuoe | <|sols|><|sot|>God help me refactoring this (found in the depths of a production API)<|eot|><|sol|>https://i.redd.it/l08345cuh8551.png<|eol|><|sor|>That Spanish-English combination is just epic.<|eor|><|sor|>Nothing screams readability like bilingual code<|eor|><|sor|>We write bilingual code because good luck translati... | 40 |
programminghorror | BabySavesko | fv0gy4t | <|sols|><|sot|>God help me refactoring this (found in the depths of a production API)<|eot|><|sol|>https://i.redd.it/l08345cuh8551.png<|eol|><|sor|>That Spanish-English combination is just epic.<|eor|><|sor|>My favorite part is `responsesInclude` and `respuestas`
Like, atleast use the word in the same language<|eor|><... | 35 |
programminghorror | nathan_lesage | fuzzor8 | <|sols|><|sot|>God help me refactoring this (found in the depths of a production API)<|eot|><|sol|>https://i.redd.it/l08345cuh8551.png<|eol|><|sor|>ESLint is visibly frightened by that file<|eor|><|eols|><|endoftext|> | 32 |
programminghorror | OriginalError | fv01cs6 | <|sols|><|sot|>God help me refactoring this (found in the depths of a production API)<|eot|><|sol|>https://i.redd.it/l08345cuh8551.png<|eol|><|sor|>Too modern to use let instead of var. Too primal to use forEach. Interesting persona indeed
Edit: foraEach typo fix. Javascript is so abstract that people actually gone an... | 29 |
programminghorror | ALJSM9889 | usimtw | <|sols|><|sot|>I made this, cobol inside html, feel free to hate<|eot|><|sol|>https://i.redd.it/wggrivmxv9091.jpg<|eol|><|eols|><|endoftext|> | 1,027 |
programminghorror | jddddddddddd | i93qocd | <|sols|><|sot|>I made this, cobol inside html, feel free to hate<|eot|><|sol|>https://i.redd.it/wggrivmxv9091.jpg<|eol|><|sor|>Make sure you add support for [ALTER](https://news.ycombinator.com/item?id=20456485). Regular GOTO-programming just isn't bad enough unless you can dynamically change where GOTOs go-to at run-t... | 209 |
programminghorror | ALJSM9889 | i93rwyw | <|sols|><|sot|>I made this, cobol inside html, feel free to hate<|eot|><|sol|>https://i.redd.it/wggrivmxv9091.jpg<|eol|><|sor|>Make sure you add support for [ALTER](https://news.ycombinator.com/item?id=20456485). Regular GOTO-programming just isn't bad enough unless you can dynamically change where GOTOs go-to at run-t... | 125 |
programminghorror | MechanicalHorse | i93ok1u | <|sols|><|sot|>I made this, cobol inside html, feel free to hate<|eot|><|sol|>https://i.redd.it/wggrivmxv9091.jpg<|eol|><|sor|>Just because we could doesnt mean we should<|eor|><|eols|><|endoftext|> | 97 |
programminghorror | ben_bliksem | i93okze | <|sols|><|sot|>I made this, cobol inside html, feel free to hate<|eot|><|sol|>https://i.redd.it/wggrivmxv9091.jpg<|eol|><|sor|>Something tells me most in this sub are going to have to Google what just happened.<|eor|><|eols|><|endoftext|> | 89 |
programminghorror | rocketman0739 | i93ztg3 | <|sols|><|sot|>I made this, cobol inside html, feel free to hate<|eot|><|sol|>https://i.redd.it/wggrivmxv9091.jpg<|eol|><|sor|>Make sure you add support for [ALTER](https://news.ycombinator.com/item?id=20456485). Regular GOTO-programming just isn't bad enough unless you can dynamically change where GOTOs go-to at run-t... | 45 |
programminghorror | coffeelibation | i93tq6r | <|sols|><|sot|>I made this, cobol inside html, feel free to hate<|eot|><|sol|>https://i.redd.it/wggrivmxv9091.jpg<|eol|><|sor|>Make sure you add support for [ALTER](https://news.ycombinator.com/item?id=20456485). Regular GOTO-programming just isn't bad enough unless you can dynamically change where GOTOs go-to at run-t... | 41 |
programminghorror | ALJSM9889 | i94qmop | <|sols|><|sot|>I made this, cobol inside html, feel free to hate<|eot|><|sol|>https://i.redd.it/wggrivmxv9091.jpg<|eol|><|sor|>Just because we could doesnt mean we should<|eor|><|soopr|>But i already did https://github.com/juan9889/HtmlCobol<|eoopr|><|eols|><|endoftext|> | 40 |
programminghorror | martinslot | i93qi0f | <|sols|><|sot|>I made this, cobol inside html, feel free to hate<|eot|><|sol|>https://i.redd.it/wggrivmxv9091.jpg<|eol|><|sor|>This is perfect<|eor|><|eols|><|endoftext|> | 38 |
programminghorror | ALJSM9889 | i93u50h | <|sols|><|sot|>I made this, cobol inside html, feel free to hate<|eot|><|sol|>https://i.redd.it/wggrivmxv9091.jpg<|eol|><|sor|>Make sure you add support for [ALTER](https://news.ycombinator.com/item?id=20456485). Regular GOTO-programming just isn't bad enough unless you can dynamically change where GOTOs go-to at run-t... | 35 |
programminghorror | feltzkrone4489 | i9419zx | <|sols|><|sot|>I made this, cobol inside html, feel free to hate<|eot|><|sol|>https://i.redd.it/wggrivmxv9091.jpg<|eol|><|sor|>That's great. But what's next? Node.cbl? CRAP: Cobol Repository for Assembling Packages? I'm very curious.<|eor|><|eols|><|endoftext|> | 31 |
programminghorror | CaitaXD | i9452or | <|sols|><|sot|>I made this, cobol inside html, feel free to hate<|eot|><|sol|>https://i.redd.it/wggrivmxv9091.jpg<|eol|><|sor|>Fuck it let's all languages inside html at the same time<|eor|><|eols|><|endoftext|> | 30 |
programminghorror | TheZipCreator | i94h6vk | <|sols|><|sot|>I made this, cobol inside html, feel free to hate<|eot|><|sol|>https://i.redd.it/wggrivmxv9091.jpg<|eol|><|sor|>Make sure you add support for [ALTER](https://news.ycombinator.com/item?id=20456485). Regular GOTO-programming just isn't bad enough unless you can dynamically change where GOTOs go-to at run-t... | 28 |
programminghorror | Alucard256 | i945kz6 | <|sols|><|sot|>I made this, cobol inside html, feel free to hate<|eot|><|sol|>https://i.redd.it/wggrivmxv9091.jpg<|eol|><|sor|>"Every language has it's time, place, and purpose; But thou shalt not code in COBAL."
~ The Tao of Programming (c1970)<|eor|><|eols|><|endoftext|> | 24 |
programminghorror | KlaireOverwood | i93st3v | <|sols|><|sot|>I made this, cobol inside html, feel free to hate<|eot|><|sol|>https://i.redd.it/wggrivmxv9091.jpg<|eol|><|sor|>I love it.
Also r/cobol<|eor|><|eols|><|endoftext|> | 22 |
programminghorror | sosominnow1267 | i93ucza | <|sols|><|sot|>I made this, cobol inside html, feel free to hate<|eot|><|sol|>https://i.redd.it/wggrivmxv9091.jpg<|eol|><|sor|>Make sure you add support for [ALTER](https://news.ycombinator.com/item?id=20456485). Regular GOTO-programming just isn't bad enough unless you can dynamically change where GOTOs go-to at run-t... | 17 |
programminghorror | coffeelibation | i93tshv | <|sols|><|sot|>I made this, cobol inside html, feel free to hate<|eot|><|sol|>https://i.redd.it/wggrivmxv9091.jpg<|eol|><|sor|>This is perfect<|eor|><|sor|>Agreed, beautiful work<|eor|><|eols|><|endoftext|> | 15 |
programminghorror | doitroygsbre | i94mgwa | <|sols|><|sot|>I made this, cobol inside html, feel free to hate<|eot|><|sol|>https://i.redd.it/wggrivmxv9091.jpg<|eol|><|sor|>[COBOL on Cogs](http://www.coboloncogs.org/HOME.HTM)
>WHO SAYS YOU CAN'T TEACHAN OLD DOG NEW TRICKS?
COBOL ON COGS IS AN OPEN-SOURCE WEB FRAMEWORK THAT AIMS AT MAKING LEGACY INTEGRATION A... | 13 |
programminghorror | Jezoreczek | i965stv | <|sols|><|sot|>I made this, cobol inside html, feel free to hate<|eot|><|sol|>https://i.redd.it/wggrivmxv9091.jpg<|eol|><|sor|>Just because we could doesnt mean we should<|eor|><|soopr|>But i already did https://github.com/juan9889/HtmlCobol<|eoopr|><|sor|>Ah it's server side rendering! Could have been a JS lib to conf... | 13 |
programminghorror | ozh | i93yh2l | <|sols|><|sot|>I made this, cobol inside html, feel free to hate<|eot|><|sol|>https://i.redd.it/wggrivmxv9091.jpg<|eol|><|sor|>Make sure you add support for [ALTER](https://news.ycombinator.com/item?id=20456485). Regular GOTO-programming just isn't bad enough unless you can dynamically change where GOTOs go-to at run-t... | 12 |
programminghorror | NaturProdukt | gyyzxf | <|sols|><|sot|>Is this good usage of switch case?<|eot|><|sol|>https://i.redd.it/06lrmbslqo351.png<|eol|><|eols|><|endoftext|> | 1,035 |
programminghorror | slashasdf | ftd7zci | <|sols|><|sot|>Is this good usage of switch case?<|eot|><|sol|>https://i.redd.it/06lrmbslqo351.png<|eol|><|sor|>Well that just seems like `return 1;` with extra steps.<|eor|><|eols|><|endoftext|> | 416 |
programminghorror | Buddy-Matt | ftdjblg | <|sols|><|sot|>Is this good usage of switch case?<|eot|><|sol|>https://i.redd.it/06lrmbslqo351.png<|eol|><|sor|>Good grief.
Looks like it may have been auto generated from some kinda backend database link table? No way a human had the patience to write that?<|eor|><|eols|><|endoftext|> | 223 |
programminghorror | C0rn3 | ftdp9d9 | <|sols|><|sot|>Is this good usage of switch case?<|eot|><|sol|>https://i.redd.it/06lrmbslqo351.png<|eol|><|sor|>I knew I recognized those IDs! This is a function written for a GTA San Andreas multiplayer mod server. My guess would be SA:MP. It checks if the car tuning component ID can be put on a certain model car ID. ... | 161 |
programminghorror | NaturProdukt | ftdu3u6 | <|sols|><|sot|>Is this good usage of switch case?<|eot|><|sol|>https://i.redd.it/06lrmbslqo351.png<|eol|><|sor|>I knew I recognized those IDs! This is a function written for a GTA San Andreas multiplayer mod server. My guess would be SA:MP. It checks if the car tuning component ID can be put on a certain model car ID. ... | 84 |
programminghorror | Buddy-Matt | ftdqylt | <|sols|><|sot|>Is this good usage of switch case?<|eot|><|sol|>https://i.redd.it/06lrmbslqo351.png<|eol|><|sor|>Good grief.
Looks like it may have been auto generated from some kinda backend database link table? No way a human had the patience to write that?<|eor|><|sor|>[deleted]<|eor|><|sor|>And change every id by h... | 81 |
programminghorror | comtoisgaming | fte3s5c | <|sols|><|sot|>Is this good usage of switch case?<|eot|><|sol|>https://i.redd.it/06lrmbslqo351.png<|eol|><|sor|>Well that just seems like `return 1;` with extra steps.<|eor|><|sor|>Ah I see youre a man of culture<|eor|><|eols|><|endoftext|> | 58 |
programminghorror | mothzilla | ftehffj | <|sols|><|sot|>Is this good usage of switch case?<|eot|><|sol|>https://i.redd.it/06lrmbslqo351.png<|eol|><|sor|>Well that just seems like `return 1;` with extra steps.<|eor|><|sor|>Yes we know we're going to return 1, but under what conditions?<|eor|><|eols|><|endoftext|> | 46 |
programminghorror | The7DeadlySyns | ftebosi | <|sols|><|sot|>Is this good usage of switch case?<|eot|><|sol|>https://i.redd.it/06lrmbslqo351.png<|eol|><|sor|>I knew I recognized those IDs! This is a function written for a GTA San Andreas multiplayer mod server. My guess would be SA:MP. It checks if the car tuning component ID can be put on a certain model car ID. ... | 38 |
programminghorror | LechintanTudor | fte48vn | <|sols|><|sot|>Is this good usage of switch case?<|eot|><|sol|>https://i.redd.it/06lrmbslqo351.png<|eol|><|sor|>YandereDev after people told him to use switches<|eor|><|eols|><|endoftext|> | 36 |
programminghorror | Buddy-Matt | ftdszo9 | <|sols|><|sot|>Is this good usage of switch case?<|eot|><|sol|>https://i.redd.it/06lrmbslqo351.png<|eol|><|sor|>Good grief.
Looks like it may have been auto generated from some kinda backend database link table? No way a human had the patience to write that?<|eor|><|sor|>[deleted]<|eor|><|sor|>And change every id by h... | 35 |
programminghorror | FriendlyDisorder | fte4n01 | <|sols|><|sot|>Is this good usage of switch case?<|eot|><|sol|>https://i.redd.it/06lrmbslqo351.png<|eol|><|sor|>Well that just seems like `return 1;` with extra steps.<|eor|><|sor|>An elegant statement for a more civilized language.<|eor|><|eols|><|endoftext|> | 28 |
programminghorror | executeSQUID | ftdtkho | <|sols|><|sot|>Is this good usage of switch case?<|eot|><|sol|>https://i.redd.it/06lrmbslqo351.png<|eol|><|sor|>PLEASE use greater than and less than<|eor|><|sor|>[deleted]<|eor|><|sor|>I don't care how fast it runs. I just want it to be readable code.<|eor|><|eols|><|endoftext|> | 28 |
programminghorror | TheN473 | fte6t77 | <|sols|><|sot|>Is this good usage of switch case?<|eot|><|sol|>https://i.redd.it/06lrmbslqo351.png<|eol|><|sor|>Good grief.
Looks like it may have been auto generated from some kinda backend database link table? No way a human had the patience to write that?<|eor|><|sor|>[deleted]<|eor|><|sor|>And change every id by h... | 27 |
programminghorror | NaturProdukt | ftd8sih | <|sols|><|sot|>Is this good usage of switch case?<|eot|><|sol|>https://i.redd.it/06lrmbslqo351.png<|eol|><|soopr|>This is not my masterpiece by the way.<|eoopr|><|eols|><|endoftext|> | 26 |
programminghorror | BrianBoyko | fte6rsf | <|sols|><|sot|>Is this good usage of switch case?<|eot|><|sol|>https://i.redd.it/06lrmbslqo351.png<|eol|><|sor|>I knew I recognized those IDs! This is a function written for a GTA San Andreas multiplayer mod server. My guess would be SA:MP. It checks if the car tuning component ID can be put on a certain model car ID. ... | 20 |
programminghorror | woodenshoe_qstnmrk_ | pqv5tv | <|sols|><|sot|>oh god<|eot|><|sol|>https://v.redd.it/5x34ns3d0co71<|eol|><|eols|><|endoftext|> | 1,028 |
programminghorror | miniekPL | hddyx1q | <|sols|><|sot|>oh god<|eot|><|sol|>https://v.redd.it/5x34ns3d0co71<|eol|><|sor|>Some actually had to write this in order to get the recording..<|eor|><|eols|><|endoftext|> | 172 |
programminghorror | Wabadoodel | hde3cs1 | <|sols|><|sot|>oh god<|eot|><|sol|>https://v.redd.it/5x34ns3d0co71<|eol|><|sor|>Some actually had to write this in order to get the recording..<|eor|><|sor|>tbh, just write a script to write this for u...
In C#:
static void soYourAgeIs(int maxAge)
{
for(int i = 0; i < maxAge; i++)
{
Console.WriteLine("If age == "... | 126 |
programminghorror | a_bucket_full_of_goo | hdfsgm7 | <|sols|><|sot|>oh god<|eot|><|sol|>https://v.redd.it/5x34ns3d0co71<|eol|><|sor|>To be fair the source of yandere simulator is a goldmine for this sub<|eor|><|eols|><|endoftext|> | 81 |
programminghorror | LogicalGamer123 | hdel916 | <|sols|><|sot|>oh god<|eot|><|sol|>https://v.redd.it/5x34ns3d0co71<|eol|><|sor|>Some actually had to write this in order to get the recording..<|eor|><|sor|>Or just wrote a script to edit a file<|eor|><|eols|><|endoftext|> | 69 |
programminghorror | thatCbean | hdfr95i | <|sols|><|sot|>oh god<|eot|><|sol|>https://v.redd.it/5x34ns3d0co71<|eol|><|sor|>Jesus christ do yourself a favour and read up on switch cases!!!
(/s)<|eor|><|eols|><|endoftext|> | 50 |
programminghorror | Robonics014 | hddwdk4 | <|sols|><|sot|>oh god<|eot|><|sol|>https://v.redd.it/5x34ns3d0co71<|eol|><|sor|>ever heard of a for loop? a method? nah?<|eor|><|sor|>I think the real solution is just `print(Your age is: , age)`<|eor|><|eols|><|endoftext|> | 46 |
programminghorror | PhilippTheProgrammer | hdhk2o0 | <|sols|><|sot|>oh god<|eot|><|sol|>https://v.redd.it/5x34ns3d0co71<|eol|><|sor|>To be fair the source of yandere simulator is a goldmine for this sub<|eor|><|sor|>The source for Yandere Simulator which goes around the Internet was obtained by decompiling the Unity project after it went through the optimizer. So it's no... | 44 |
programminghorror | koni_rs | hdftc7a | <|sols|><|sot|>oh god<|eot|><|sol|>https://v.redd.it/5x34ns3d0co71<|eol|><|sor|>python:
```
template = '''if age == "{0}":
print("your age is ", {0})
'''
with open('out.py', mode='w') as outfile:
outfile.write('age = input("how old are you?")\\n\\n')
for i in range(1, 39838):
outfile.write(templat... | 35 |
programminghorror | Tasik | hdgpe4a | <|sols|><|sot|>oh god<|eot|><|sol|>https://v.redd.it/5x34ns3d0co71<|eol|><|sor|>Yandere Simulator was programmed in C#.
This is just someones scripts to output bad code.
Seems pretty cheap to make fun of someone for something he didnt even write.<|eor|><|eols|><|endoftext|> | 23 |
programminghorror | ThePharros | hdhj3ah | <|sols|><|sot|>oh god<|eot|><|sol|>https://v.redd.it/5x34ns3d0co71<|eol|><|sor|>To be fair the source of yandere simulator is a goldmine for this sub<|eor|><|sor|>Wait, this is real? I thought I didnt get the joke lol.<|eor|><|sor|>Looks like someone just made a script to output horrific Python code to mock Yandere. Ya... | 22 |
programminghorror | Technologenesis | hdgupl9 | <|sols|><|sot|>oh god<|eot|><|sol|>https://v.redd.it/5x34ns3d0co71<|eol|><|sor|>Some actually had to write this in order to get the recording..<|eor|><|sor|>Or just wrote a script to edit a file<|eor|><|sor|>Or just wrote a script to write a script to edit a file<|eor|><|eols|><|endoftext|> | 21 |
programminghorror | ColdPorridge | hdggb3n | <|sols|><|sot|>oh god<|eot|><|sol|>https://v.redd.it/5x34ns3d0co71<|eol|><|sor|>Jesus christ do yourself a favour and read up on switch cases!!!
(/s)<|eor|><|sor|>It's python, they don't exist<|eor|><|sor|>They will in a few weeks when 3.10 is released<|eor|><|eols|><|endoftext|> | 21 |
programminghorror | ReveredOxygen | hdgckwv | <|sols|><|sot|>oh god<|eot|><|sol|>https://v.redd.it/5x34ns3d0co71<|eol|><|sor|>Jesus christ do yourself a favour and read up on switch cases!!!
(/s)<|eor|><|sor|>It's python, they don't exist<|eor|><|eols|><|endoftext|> | 20 |
programminghorror | DOMINATORLORD9872 | hde3xrh | <|sols|><|sot|>oh god<|eot|><|sol|>https://v.redd.it/5x34ns3d0co71<|eol|><|sor|>ever heard of a for loop? a method? nah?<|eor|><|sor|>I think the real solution is just `print(Your age is: , age)`<|eor|><|sor|>Yeah that is obviously the right one, don't know what the other guy's talking about<|eor|><|eols|><|endoftext|> | 18 |
programminghorror | Bit5keptical | hdfveiq | <|sols|><|sot|>oh god<|eot|><|sol|>https://v.redd.it/5x34ns3d0co71<|eol|><|sor|>python:
```
template = '''if age == "{0}":
print("your age is ", {0})
'''
with open('out.py', mode='w') as outfile:
outfile.write('age = input("how old are you?")\\n\\n')
for i in range(1, 39838):
outfile.write(templat... | 16 |
programminghorror | Carter127 | hdhmyld | <|sols|><|sot|>oh god<|eot|><|sol|>https://v.redd.it/5x34ns3d0co71<|eol|><|sor|>To be fair the source of yandere simulator is a goldmine for this sub<|eor|><|sor|>The source for Yandere Simulator which goes around the Internet was obtained by decompiling the Unity project after it went through the optimizer. So it's no... | 16 |
programminghorror | james_harushi | hdeatiw | <|sols|><|sot|>oh god<|eot|><|sol|>https://v.redd.it/5x34ns3d0co71<|eol|><|sor|>ever heard of a for loop? a method? nah?<|eor|><|sor|>[deleted]<|eor|><|sor|>It only wastes a couple CPU cycles all good /s<|eor|><|eols|><|endoftext|> | 15 |
programminghorror | ForgetTheRuralJuror | hdgtfny | <|sols|><|sot|>oh god<|eot|><|sol|>https://v.redd.it/5x34ns3d0co71<|eol|><|sor|>Some actually had to write this in order to get the recording..<|eor|><|sor|>tbh, just write a script to write this for u...
In C#:
static void soYourAgeIs(int maxAge)
{
for(int i = 0; i < maxAge; i++)
{
Console.WriteLine("If age == "... | 15 |
programminghorror | Wabadoodel | hdgibzb | <|sols|><|sot|>oh god<|eot|><|sol|>https://v.redd.it/5x34ns3d0co71<|eol|><|sor|>Some actually had to write this in order to get the recording..<|eor|><|sor|>tbh, just write a script to write this for u...
In C#:
static void soYourAgeIs(int maxAge)
{
for(int i = 0; i < maxAge; i++)
{
Console.WriteLine("If age == "... | 15 |
programminghorror | mopem | i1wfaj | <|sols|><|sot|>The most verbose way to assign a bool to "false".<|eot|><|sol|>https://i.redd.it/4n1rnmgtife51.png<|eol|><|eols|><|endoftext|> | 1,034 |
programminghorror | ukjaybrat | g00d4dw | <|sols|><|sot|>The most verbose way to assign a bool to "false".<|eot|><|sol|>https://i.redd.it/4n1rnmgtife51.png<|eol|><|sor|>Missing the next line...
Bool production = !debug;<|eor|><|eols|><|endoftext|> | 213 |
programminghorror | lotharz0r | g00e900 | <|sols|><|sot|>The most verbose way to assign a bool to "false".<|eot|><|sol|>https://i.redd.it/4n1rnmgtife51.png<|eol|><|sor|>When enabling, then disabling again.
`!!!true`<|eor|><|eols|><|endoftext|> | 179 |
programminghorror | lotharz0r | g00nko8 | <|sols|><|sot|>The most verbose way to assign a bool to "false".<|eot|><|sol|>https://i.redd.it/4n1rnmgtife51.png<|eol|><|sor|>When enabling, then disabling again.
`!!!true`<|eor|><|sor|>In JS double (or triple) `!` actually has a use. As JS isn't strongly typed, but all types are truthy or falsey, you can use a `!!`... | 133 |
programminghorror | Dojan5 | g00fzq5 | <|sols|><|sot|>The most verbose way to assign a bool to "false".<|eot|><|sol|>https://i.redd.it/4n1rnmgtife51.png<|eol|><|sor|>When enabling, then disabling again.
`!!!true`<|eor|><|sor|>In JS double (or triple) `!` actually has a use. As JS isn't strongly typed, but all types are truthy or falsey, you can use a `!!`... | 79 |
programminghorror | sproingie | g00ck26 | <|sols|><|sot|>The most verbose way to assign a bool to "false".<|eot|><|sol|>https://i.redd.it/4n1rnmgtife51.png<|eol|><|sor|>It was probably true before, then disabled by just mashing the `!` key. I've seen soooooo many worse ways to express it.<|eor|><|eols|><|endoftext|> | 71 |
programminghorror | internet_DOOD | g00m5dy | <|sols|><|sot|>The most verbose way to assign a bool to "false".<|eot|><|sol|>https://i.redd.it/4n1rnmgtife51.png<|eol|><|sor|>Missing the next line...
Bool production = !debug;<|eor|><|sor|>Thanks. I hate it.<|eor|><|eols|><|endoftext|> | 43 |
programminghorror | Dojan5 | g00jgkq | <|sols|><|sot|>The most verbose way to assign a bool to "false".<|eot|><|sol|>https://i.redd.it/4n1rnmgtife51.png<|eol|><|sor|>When enabling, then disabling again.
`!!!true`<|eor|><|sor|>In JS double (or triple) `!` actually has a use. As JS isn't strongly typed, but all types are truthy or falsey, you can use a `!!`... | 38 |
programminghorror | xlevidi | g00jbcl | <|sols|><|sot|>The most verbose way to assign a bool to "false".<|eot|><|sol|>https://i.redd.it/4n1rnmgtife51.png<|eol|><|sor|>The verbosity is literally exactly the same, but this makes it more efficient to change for debugging purposes. 90% of the posts on this subreddit are total garbage. The poster knows far less a... | 33 |
programminghorror | pqowie313 | g00g5t6 | <|sols|><|sot|>The most verbose way to assign a bool to "false".<|eot|><|sol|>https://i.redd.it/4n1rnmgtife51.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Usually when there's some config variable I'm always flipping back and forth, I write both versions of it, and comment one out. If they're next to each other, it's just ... | 31 |
programminghorror | ZylonBane | g00idou | <|sols|><|sot|>The most verbose way to assign a bool to "false".<|eot|><|sol|>https://i.redd.it/4n1rnmgtife51.png<|eol|><|sor|>When enabling, then disabling again.
`!!!true`<|eor|><|sor|>In JS double (or triple) `!` actually has a use. As JS isn't strongly typed, but all types are truthy or falsey, you can use a `!!`... | 27 |
programminghorror | bluepoopants | g00rebr | <|sols|><|sot|>The most verbose way to assign a bool to "false".<|eot|><|sol|>https://i.redd.it/4n1rnmgtife51.png<|eol|><|sor|>It was probably true before, then disabled by just mashing the `!` key. I've seen soooooo many worse ways to express it.<|eor|><|sor|>This is what i was thinking, quicker to remove or add the ... | 26 |
programminghorror | HildartheDorf | g00qrqp | <|sols|><|sot|>The most verbose way to assign a bool to "false".<|eot|><|sol|>https://i.redd.it/4n1rnmgtife51.png<|eol|><|sor|>Missing the next line...
Bool production = !debug;<|eor|><|sor|>That's marginally better than the next line being production = !true<|eor|><|eols|><|endoftext|> | 19 |
programminghorror | Aeon_Mortuum | g00ie09 | <|sols|><|sot|>The most verbose way to assign a bool to "false".<|eot|><|sol|>https://i.redd.it/4n1rnmgtife51.png<|eol|><|sor|>When enabling, then disabling again.
`!!!true`<|eor|><|sor|>In JS double (or triple) `!` actually has a use. As JS isn't strongly typed, but all types are truthy or falsey, you can use a `!!`... | 16 |
programminghorror | Dojan5 | g00rx2s | <|sols|><|sot|>The most verbose way to assign a bool to "false".<|eot|><|sol|>https://i.redd.it/4n1rnmgtife51.png<|eol|><|sor|>When enabling, then disabling again.
`!!!true`<|eor|><|sor|>In JS double (or triple) `!` actually has a use. As JS isn't strongly typed, but all types are truthy or falsey, you can use a `!!`... | 16 |
programminghorror | Mattigins | g016nyo | <|sols|><|sot|>The most verbose way to assign a bool to "false".<|eot|><|sol|>https://i.redd.it/4n1rnmgtife51.png<|eol|><|sor|>The verbosity is literally exactly the same, but this makes it more efficient to change for debugging purposes. 90% of the posts on this subreddit are total garbage. The poster knows far less a... | 14 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.