subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programminghorror | bikemowman | ghmmpan | <|sols|><|sot|>just use a nested for loop<|eot|><|sol|>https://i.redd.it/o8i78s124k861.png<|eol|><|soopr|>Found in Telegram's Android app. Spoiler: All of the code is like that. The main chat activity has 20 THOUSAND lines of code. It is apparently all being written by one developer.<|eoopr|><|sor|>Uff, so much for bei... | 39 |
programminghorror | ChemicalRascal | gho2ljz | <|sols|><|sot|>just use a nested for loop<|eot|><|sol|>https://i.redd.it/o8i78s124k861.png<|eol|><|sor|>These appear to be for-loops over containers with different sizes. How would you put that into one nested for-loop?
One tweak I could see here is to create a method `updateFontEntries` which accepts an `Iterable` an... | 39 |
programminghorror | wh33t | ghmlr0w | <|sols|><|sot|>just use a nested for loop<|eot|><|sol|>https://i.redd.it/o8i78s124k861.png<|eol|><|sor|>how can you write something like this and not think " There has to be a simpler way", right?<|eor|><|sor|>I mean this is REALLY simple. You take one look at it and you know exactly what it's doing. Looks like a bit o... | 38 |
programminghorror | Appropriate-Lake620 | ghmutcy | <|sols|><|sot|>just use a nested for loop<|eot|><|sol|>https://i.redd.it/o8i78s124k861.png<|eol|><|sor|>These appear to be for-loops over containers with different sizes. How would you put that into one nested for-loop?
One tweak I could see here is to create a method `updateFontEntries` which accepts an `Iterable` an... | 35 |
programminghorror | MitsukoMegumi | fo53ei | <|sols|><|sot|>Testing in production be like:<|eot|><|sol|>https://i.redd.it/qsuv8fk3hmo41.jpg<|eol|><|eols|><|endoftext|> | 966 |
programminghorror | Fedzbar | fldi04v | <|sols|><|sot|>Testing in production be like:<|eot|><|sol|>https://i.redd.it/qsuv8fk3hmo41.jpg<|eol|><|sor|>Looks like they might have wrapped it with .
Maybe QA should have been a bit more thorough :D<|eor|><|eols|><|endoftext|> | 71 |
programminghorror | DEZIO1991 | fle5q4a | <|sols|><|sot|>Testing in production be like:<|eot|><|sol|>https://i.redd.it/qsuv8fk3hmo41.jpg<|eol|><|sor|>what is launching? A missile? Is it inbound to hawaii?<|eor|><|eols|><|endoftext|> | 40 |
programminghorror | Little-Helper | flde972 | <|sols|><|sot|>Testing in production be like:<|eot|><|sol|>https://i.redd.it/qsuv8fk3hmo41.jpg<|eol|><|sor|>Be like?<|eor|><|sor|>It be like that sometimes<|eor|><|eols|><|endoftext|> | 39 |
programminghorror | roodammy44 | fldri87 | <|sols|><|sot|>Testing in production be like:<|eot|><|sol|>https://i.redd.it/qsuv8fk3hmo41.jpg<|eol|><|sor|>Looks like they might have wrapped it with .
Maybe QA should have been a bit more thorough :D<|eor|><|sor|>What is most likely happening is that OP has an old version of the app. Those strings are read from the... | 32 |
programminghorror | Lebrunski | fldlbi3 | <|sols|><|sot|>Testing in production be like:<|eot|><|sol|>https://i.redd.it/qsuv8fk3hmo41.jpg<|eol|><|sor|>Be like?<|eor|><|sor|>It be like that sometimes<|eor|><|sor|>It do.<|eor|><|eols|><|endoftext|> | 25 |
programminghorror | Mr_Redstoner | fldpwc6 | <|sols|><|sot|>Testing in production be like:<|eot|><|sol|>https://i.redd.it/qsuv8fk3hmo41.jpg<|eol|><|sor|>Be like?<|eor|><|sor|>It be like that sometimes<|eor|><|sor|>It do.<|eor|><|sor|>It really do.<|eor|><|eols|><|endoftext|> | 18 |
programminghorror | TimGreller | flg6hoi | <|sols|><|sot|>Testing in production be like:<|eot|><|sol|>https://i.redd.it/qsuv8fk3hmo41.jpg<|eol|><|sor|>[removed]<|eor|><|sor|>{{ reply.text }}<|eor|><|eols|><|endoftext|> | 7 |
programminghorror | HornyHomo6969 | flg5xo7 | <|sols|><|sot|>Testing in production be like:<|eot|><|sol|>https://i.redd.it/qsuv8fk3hmo41.jpg<|eol|><|sor|>#1
1<|eor|><|eols|><|endoftext|> | 6 |
programminghorror | someone4else | flfwl5g | <|sols|><|sot|>Testing in production be like:<|eot|><|sol|>https://i.redd.it/qsuv8fk3hmo41.jpg<|eol|><|sor|>One of us, one of us<|eor|><|eols|><|endoftext|> | 6 |
programminghorror | emilvikstrom | flfvesd | <|sols|><|sot|>Testing in production be like:<|eot|><|sol|>https://i.redd.it/qsuv8fk3hmo41.jpg<|eol|><|sor|>Not my job to update the i18n file.<|eor|><|eols|><|endoftext|> | 5 |
programminghorror | gggggpedws | flgbjej | <|sols|><|sot|>Testing in production be like:<|eot|><|sol|>https://i.redd.it/qsuv8fk3hmo41.jpg<|eol|><|sor|>what is launching? A missile? Is it inbound to hawaii?<|eor|><|sor|>Revolut launched in the USA.<|eor|><|eols|><|endoftext|> | 5 |
programminghorror | Unknown_B1 | rnflnt | <|sols|><|sot|>A code from an intern to validate mobile number, I guess he wants the first digit to be greater than 6, if only there were some logical operators for that!<|eot|><|sol|>https://i.redd.it/dkomb2adkf781.png<|eol|><|eols|><|endoftext|> | 962 |
programminghorror | Unknown_B1 | hpt5jm8 | <|sols|><|sot|>A code from an intern to validate mobile number, I guess he wants the first digit to be greater than 6, if only there were some logical operators for that!<|eot|><|sol|>https://i.redd.it/dkomb2adkf781.png<|eol|><|sor|>[deleted]<|eor|><|soopr|>Those were my first words during review.<|eoopr|><|sor|>Did yo... | 194 |
programminghorror | mmknightx | hpt1pro | <|sols|><|sot|>A code from an intern to validate mobile number, I guess he wants the first digit to be greater than 6, if only there were some logical operators for that!<|eot|><|sol|>https://i.redd.it/dkomb2adkf781.png<|eol|><|sor|>Did he forget to sleep?<|eor|><|eols|><|endoftext|> | 167 |
programminghorror | Krohnos | hpt93ka | <|sols|><|sot|>A code from an intern to validate mobile number, I guess he wants the first digit to be greater than 6, if only there were some logical operators for that!<|eot|><|sol|>https://i.redd.it/dkomb2adkf781.png<|eol|><|sor|>[deleted]<|eor|><|soopr|>Those were my first words during review.<|eoopr|><|sor|>Did yo... | 167 |
programminghorror | Unknown_B1 | hpstnwh | <|sols|><|sot|>A code from an intern to validate mobile number, I guess he wants the first digit to be greater than 6, if only there were some logical operators for that!<|eot|><|sol|>https://i.redd.it/dkomb2adkf781.png<|eol|><|sor|>[deleted]<|eor|><|soopr|>Those were my first words during review.<|eoopr|><|eols|><|end... | 144 |
programminghorror | Unknown_B1 | hpt7rbi | <|sols|><|sot|>A code from an intern to validate mobile number, I guess he wants the first digit to be greater than 6, if only there were some logical operators for that!<|eot|><|sol|>https://i.redd.it/dkomb2adkf781.png<|eol|><|sor|>I'm more concerned with why validating a mobile number is verifying that the first numb... | 112 |
programminghorror | caviyacht | hpt7k6d | <|sols|><|sot|>A code from an intern to validate mobile number, I guess he wants the first digit to be greater than 6, if only there were some logical operators for that!<|eot|><|sol|>https://i.redd.it/dkomb2adkf781.png<|eol|><|sor|>I'm more concerned with why validating a mobile number is verifying that the first numb... | 109 |
programminghorror | Deadly_chef | hpsx2y7 | <|sols|><|sot|>A code from an intern to validate mobile number, I guess he wants the first digit to be greater than 6, if only there were some logical operators for that!<|eot|><|sol|>https://i.redd.it/dkomb2adkf781.png<|eol|><|sor|>Also casting e.target.value.length to a number lmao
This must be some very junior dev
... | 90 |
programminghorror | Muroid | hpt4b7a | <|sols|><|sot|>A code from an intern to validate mobile number, I guess he wants the first digit to be greater than 6, if only there were some logical operators for that!<|eot|><|sol|>https://i.redd.it/dkomb2adkf781.png<|eol|><|sor|>[deleted]<|eor|><|soopr|>Those were my first words during review.<|eoopr|><|sor|>Did yo... | 59 |
programminghorror | bot-killer-001 | hpsx4fg | <|sols|><|sot|>A code from an intern to validate mobile number, I guess he wants the first digit to be greater than 6, if only there were some logical operators for that!<|eot|><|sol|>https://i.redd.it/dkomb2adkf781.png<|eol|><|sor|>Also casting e.target.value.length to a number lmao
This must be some very junior dev
... | 52 |
programminghorror | Krohnos | hpt9bw8 | <|sols|><|sot|>A code from an intern to validate mobile number, I guess he wants the first digit to be greater than 6, if only there were some logical operators for that!<|eot|><|sol|>https://i.redd.it/dkomb2adkf781.png<|eol|><|sor|>I'm more concerned with why validating a mobile number is verifying that the first numb... | 52 |
programminghorror | caviyacht | hpt89kx | <|sols|><|sot|>A code from an intern to validate mobile number, I guess he wants the first digit to be greater than 6, if only there were some logical operators for that!<|eot|><|sol|>https://i.redd.it/dkomb2adkf781.png<|eol|><|sor|>I'm more concerned with why validating a mobile number is verifying that the first numb... | 42 |
programminghorror | gnutrino | hptgnqs | <|sols|><|sot|>A code from an intern to validate mobile number, I guess he wants the first digit to be greater than 6, if only there were some logical operators for that!<|eot|><|sol|>https://i.redd.it/dkomb2adkf781.png<|eol|><|sor|>Also casting e.target.value.length to a number lmao
This must be some very junior dev
... | 39 |
programminghorror | LevelSevenLaserLotus | hpty1ux | <|sols|><|sot|>A code from an intern to validate mobile number, I guess he wants the first digit to be greater than 6, if only there were some logical operators for that!<|eot|><|sol|>https://i.redd.it/dkomb2adkf781.png<|eol|><|sor|>I think it's time to get intro into regexes for the intern<|eor|><|sor|>>Alright kid, I... | 39 |
programminghorror | IceDragon13 | hptvws3 | <|sols|><|sot|>A code from an intern to validate mobile number, I guess he wants the first digit to be greater than 6, if only there were some logical operators for that!<|eot|><|sol|>https://i.redd.it/dkomb2adkf781.png<|eol|><|sor|>Am I the only one that thinks the posting code from an intern is the only actual progra... | 36 |
programminghorror | PleX | hpug6zz | <|sols|><|sot|>A code from an intern to validate mobile number, I guess he wants the first digit to be greater than 6, if only there were some logical operators for that!<|eot|><|sol|>https://i.redd.it/dkomb2adkf781.png<|eol|><|sor|>Did he forget to sleep?<|eor|><|sor|>Looks like something I'd write at 1 am.<|eor|><|so... | 36 |
programminghorror | kevinhaze | hpubms0 | <|sols|><|sot|>A code from an intern to validate mobile number, I guess he wants the first digit to be greater than 6, if only there were some logical operators for that!<|eot|><|sol|>https://i.redd.it/dkomb2adkf781.png<|eol|><|sor|>I think it's time to get intro into regexes for the intern<|eor|><|sor|>Then tell him t... | 34 |
programminghorror | friskydingo2020 | hptcyke | <|sols|><|sot|>A code from an intern to validate mobile number, I guess he wants the first digit to be greater than 6, if only there were some logical operators for that!<|eot|><|sol|>https://i.redd.it/dkomb2adkf781.png<|eol|><|sor|>I'm more concerned with why validating a mobile number is verifying that the first numb... | 28 |
programminghorror | Franks2000inchTV | hpt9fx9 | <|sols|><|sot|>A code from an intern to validate mobile number, I guess he wants the first digit to be greater than 6, if only there were some logical operators for that!<|eot|><|sol|>https://i.redd.it/dkomb2adkf781.png<|eol|><|sor|>Maybe he's worried about the string having negative length. If it touches an equal stri... | 22 |
programminghorror | ende124 | qsk8hk | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|eols|><|endoftext|> | 958 |
programminghorror | BobSanchez47 | hkdlk3q | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|sor|>Please, a Haskell developer would never use a for loop.<|eor|><|eols|><|endoftext|> | 455 |
programminghorror | ende124 | hkdz5w5 | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|soopr|>He completely neglected any built in classes and implemented a custom List class using recursion. This is one of the class methods.<|eoopr|><|eols|><|endoftext|> | 198 |
programminghorror | MeatyLabia | hkdym13 | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|sor|>Please, a Haskell developer would never use a for loop.<|eor|><|sor|>He tried to use the for loop like it was a set comprehension it seems.<|eor|><|eols|><|endoftext|> | 143 |
programminghorror | perera_eu | hke2em5 | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|soopr|>He completely neglected any built in classes and implemented a custom List class using recursion. This is one of the class methods.<|eoopr|><|sor|>I can imagine his reaction finding out all this was alr... | 85 |
programminghorror | ososalsosal | hkdvodk | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|sor|>What in God's name?
I don't java but c# is basically java, but this right here seems... unnecessary and confusing.<|eor|><|eols|><|endoftext|> | 78 |
programminghorror | frigus_aeris | hked9ys | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|sor|>Please, a Haskell developer would never use a for loop.<|eor|><|sor|>I seems more probable a Haskel programmer would implement a Haskel to jvm compiler.<|eor|><|eols|><|endoftext|> | 70 |
programminghorror | yunoacceptmyusrname | hkdybxw | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|sor|>I'll stick to Collection.reverse() but thank you.<|eor|><|eols|><|endoftext|> | 66 |
programminghorror | Feroc | hkfp8xy | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|soopr|>He completely neglected any built in classes and implemented a custom List class using recursion. This is one of the class methods.<|eoopr|><|sor|>I can imagine his reaction finding out all this was alr... | 62 |
programminghorror | cormac596 | hke9qyo | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|sor|>What in God's name?
I don't java but c# is basically java, but this right here seems... unnecessary and confusing.<|eor|><|sor|>As a professional java programmer, I can say that actually, it's unnecessar... | 60 |
programminghorror | Eugene_V_Chomsky | hkefkph | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|sor|>An empty `catch` block is the error handling equivalent of sticking your fingers in your ears.<|eor|><|eols|><|endoftext|> | 52 |
programminghorror | StatingPrism | hkesj0k | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|soopr|>He completely neglected any built in classes and implemented a custom List class using recursion. This is one of the class methods.<|eoopr|><|sor|>Nothing wrong with a custom implementation as long as i... | 46 |
programminghorror | xigoi | hkeglq4 | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|sor|>Still better than the pure Java version, which would be 4000 lines of `IAbstractListReverserSpringBeanFactoryStrategyBuilderImplementer`.<|eor|><|eols|><|endoftext|> | 35 |
programminghorror | ReelTooReal | hkes9i7 | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|sor|>An empty `catch` block is the error handling equivalent of sticking your fingers in your ears.<|eor|><|sor|>Java: we will force the user to handle exceptions.
The User: when an exception happens, just pr... | 33 |
programminghorror | ReelTooReal | hkes0bc | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|sor|>Please, a Haskell developer would never use a for loop.<|eor|><|sor|>I seems more probable a Haskel programmer would implement a Haskel to jvm compiler.<|eor|><|sor|>Or just use Scala<|eor|><|eols|><|endo... | 32 |
programminghorror | Sharlinator | hkf0jku | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|soopr|>He completely neglected any built in classes and implemented a custom List class using recursion. This is one of the class methods.<|eoopr|><|sor|>Nothing wrong with a custom implementation as long as i... | 31 |
programminghorror | Strange_Meadowlark | hkfiyrz | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|soopr|>He completely neglected any built in classes and implemented a custom List class using recursion. This is one of the class methods.<|eoopr|><|sor|>So he made his own linked list? The JDK already has one... | 30 |
programminghorror | darkwarez1 | hkdloch | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|sor|>AAAAAAA<|eor|><|eols|><|endoftext|> | 29 |
programminghorror | Axman6 | hketcxu | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|sor|>Please, a Haskell developer would never use a for loop.<|eor|><|sor|>I seems more probable a Haskel programmer would implement a Haskel to jvm compiler.<|eor|><|sor|>Or just use Scala<|eor|><|sor|>Friends... | 25 |
programminghorror | R3D3-1 | hkfucen | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|soopr|>He completely neglected any built in classes and implemented a custom List class using recursion. This is one of the class methods.<|eoopr|><|sor|>I can imagine his reaction finding out all this was alr... | 25 |
programminghorror | ReelTooReal | hkesicw | <|sols|><|sot|>When a Haskell developer tries to use Java<|eot|><|sol|>https://i.imgur.com/P4YOgPg.png<|eol|><|sor|>Still better than the pure Java version, which would be 4000 lines of `IAbstractListReverserSpringBeanFactoryStrategyBuilderImplementer`.<|eor|><|sor|>That's dumb and completely unnecessary. Obviously a s... | 23 |
programminghorror | sticecream | rwncoe | <|sols|><|sot|>Lua code I made a long time ago had very helpful comments.<|eot|><|sol|>https://i.redd.it/gfz8fifdjv981.png<|eol|><|eols|><|endoftext|> | 957 |
programminghorror | Mashpoe | hrd53oe | <|sols|><|sot|>Lua code I made a long time ago had very helpful comments.<|eot|><|sol|>https://i.redd.it/gfz8fifdjv981.png<|eol|><|sor|>(fuck you)<|eor|><|eols|><|endoftext|> | 264 |
programminghorror | Javascript_above_all | hrcxjc7 | <|sols|><|sot|>Lua code I made a long time ago had very helpful comments.<|eot|><|sol|>https://i.redd.it/gfz8fifdjv981.png<|eol|><|sor|>Turtles!!! It's been a while.<|eor|><|eols|><|endoftext|> | 120 |
programminghorror | justwouterhere | hrdh75v | <|sols|><|sot|>Lua code I made a long time ago had very helpful comments.<|eot|><|sol|>https://i.redd.it/gfz8fifdjv981.png<|eol|><|sor|>ComputerCraft?<|eor|><|eols|><|endoftext|> | 102 |
programminghorror | Kangalioo | hre4712 | <|sols|><|sot|>Lua code I made a long time ago had very helpful comments.<|eot|><|sol|>https://i.redd.it/gfz8fifdjv981.png<|eol|><|sor|>(fuck you)<|eor|><|sor|>I should randomly add this to comments from now on<|eor|><|eols|><|endoftext|> | 91 |
programminghorror | OverjoyedBanana | hrcz84n | <|sols|><|sot|>Lua code I made a long time ago had very helpful comments.<|eot|><|sol|>https://i.redd.it/gfz8fifdjv981.png<|eol|><|sor|>You forgot to put comments before your comments in order to warn a reader about the following comment and its purpose.<|eor|><|eols|><|endoftext|> | 67 |
programminghorror | sosleazyitseasy | hrdiqk9 | <|sols|><|sot|>Lua code I made a long time ago had very helpful comments.<|eot|><|sol|>https://i.redd.it/gfz8fifdjv981.png<|eol|><|sor|>modded Minecraft enjoyer<|eor|><|eols|><|endoftext|> | 40 |
programminghorror | Thenderick | hrezftp | <|sols|><|sot|>Lua code I made a long time ago had very helpful comments.<|eot|><|sol|>https://i.redd.it/gfz8fifdjv981.png<|eol|><|sor|>ComputerCraft?<|eor|><|sor|>Definitely CC! Need to hop back into that mod, so much fun to fuck around with!<|eor|><|eols|><|endoftext|> | 37 |
programminghorror | Exormeter | hrdjr05 | <|sols|><|sot|>Lua code I made a long time ago had very helpful comments.<|eot|><|sol|>https://i.redd.it/gfz8fifdjv981.png<|eol|><|sor|>(Fuck you) We have all been there<|eor|><|eols|><|endoftext|> | 26 |
programminghorror | FelixLeander | hrdle39 | <|sols|><|sot|>Lua code I made a long time ago had very helpful comments.<|eot|><|sol|>https://i.redd.it/gfz8fifdjv981.png<|eol|><|sor|>Never seen a cast in a comment<|eor|><|eols|><|endoftext|> | 23 |
programminghorror | bezik7124 | hrevgoc | <|sols|><|sot|>Lua code I made a long time ago had very helpful comments.<|eot|><|sol|>https://i.redd.it/gfz8fifdjv981.png<|eol|><|sor|>You forgot to put comments before your comments in order to warn a reader about the following comment and its purpose.<|eor|><|sor|>// -----------------------------//
// this is a com... | 20 |
programminghorror | ArthurSafeZone | hrdw0zd | <|sols|><|sot|>Lua code I made a long time ago had very helpful comments.<|eot|><|sol|>https://i.redd.it/gfz8fifdjv981.png<|eol|><|sor|>Oh, I see... A fellow minecraft enjoyer<|eor|><|eols|><|endoftext|> | 16 |
programminghorror | BochMC | hreo4ok | <|sols|><|sot|>Lua code I made a long time ago had very helpful comments.<|eot|><|sol|>https://i.redd.it/gfz8fifdjv981.png<|eol|><|sor|>(fuck you)<|eor|><|sor|>I should randomly add this to comments from now on<|eor|><|sor|>I do<|eor|><|eols|><|endoftext|> | 15 |
programminghorror | curtmack | hrg6iac | <|sols|><|sot|>Lua code I made a long time ago had very helpful comments.<|eot|><|sol|>https://i.redd.it/gfz8fifdjv981.png<|eol|><|sor|>(fuck you)<|eor|><|sor|>You know what, fuck you \*plusses your zero\*<|eor|><|eols|><|endoftext|> | 13 |
programminghorror | Sm0oth_kriminal | hrfir3v | <|sols|><|sot|>Lua code I made a long time ago had very helpful comments.<|eot|><|sol|>https://i.redd.it/gfz8fifdjv981.png<|eol|><|sor|>(fuck you)<|eor|><|sor|>I should randomly add this to comments from now on<|eor|><|sor|>here I was thinking I was the only one who does this<|eor|><|eols|><|endoftext|> | 11 |
programminghorror | gyrbuilder45 | hreaxiy | <|sols|><|sot|>Lua code I made a long time ago had very helpful comments.<|eot|><|sol|>https://i.redd.it/gfz8fifdjv981.png<|eol|><|sor|>ahhh, i miss my computercraft mining scripts they were so much fun, i wrote one that used a single turtle to deploy and activate a matrix of other turtles that would all mine down to b... | 10 |
programminghorror | Kaynee490 | hrejpzc | <|sols|><|sot|>Lua code I made a long time ago had very helpful comments.<|eot|><|sol|>https://i.redd.it/gfz8fifdjv981.png<|eol|><|sor|>Computercraft is so much fun but god do I fucking hate lua (especially the outdated version it bundles).<|eor|><|eols|><|endoftext|> | 10 |
programminghorror | PrincessRTFM | hre2nnw | <|sols|><|sot|>Lua code I made a long time ago had very helpful comments.<|eot|><|sol|>https://i.redd.it/gfz8fifdjv981.png<|eol|><|sor|>Never seen a cast in a comment<|eor|><|sor|>Still haven't, the `(fuck you)` doesn't have anything following it to cast<|eor|><|eols|><|endoftext|> | 10 |
programminghorror | EmbarrassedActive4 | hrfriu0 | <|sols|><|sot|>Lua code I made a long time ago had very helpful comments.<|eot|><|sol|>https://i.redd.it/gfz8fifdjv981.png<|eol|><|sor|>You forgot to put comments before your comments in order to warn a reader about the following comment and its purpose.<|eor|><|sor|>// -----------------------------//
// this is a com... | 7 |
programminghorror | MemeTrash321 | pm9l5a | <|sols|><|sot|>These 360 lines of code I wrote for a tic tac toe script in Roblox when I was 15<|eot|><|sol|>https://i.redd.it/qgbb12pt8wm71.png<|eol|><|eols|><|endoftext|> | 964 |
programminghorror | ManEatingSnail | hcg84tw | <|sols|><|sot|>These 360 lines of code I wrote for a tic tac toe script in Roblox when I was 15<|eot|><|sol|>https://i.redd.it/qgbb12pt8wm71.png<|eol|><|sor|>You had nine squares so you wrote every line nine times. Makes perfect sense, if I have two toasts I spread each toast two times.<|eor|><|eols|><|endoftext|> | 218 |
programminghorror | WJMazepas | hcgeotz | <|sols|><|sot|>These 360 lines of code I wrote for a tic tac toe script in Roblox when I was 15<|eot|><|sol|>https://i.redd.it/qgbb12pt8wm71.png<|eol|><|sor|>You had nine squares so you wrote every line nine times. Makes perfect sense, if I have two toasts I spread each toast two times.<|eor|><|sor|>He probably didnt k... | 115 |
programminghorror | integralWorker | hcgxzb4 | <|sols|><|sot|>These 360 lines of code I wrote for a tic tac toe script in Roblox when I was 15<|eot|><|sol|>https://i.redd.it/qgbb12pt8wm71.png<|eol|><|sor|>Unrolled loops for fine grained performance boosts, no bad code to find here<|eor|><|eols|><|endoftext|> | 57 |
programminghorror | zack6849 | hcgd5q6 | <|sols|><|sot|>These 360 lines of code I wrote for a tic tac toe script in Roblox when I was 15<|eot|><|sol|>https://i.redd.it/qgbb12pt8wm71.png<|eol|><|sor|>im kinda confused, is this roblox scripting language connected with the game called Roblox, or is it just a coincidence?<|eor|><|sor|>The language itself looks li... | 57 |
programminghorror | ManEatingSnail | hcgf13d | <|sols|><|sot|>These 360 lines of code I wrote for a tic tac toe script in Roblox when I was 15<|eot|><|sol|>https://i.redd.it/qgbb12pt8wm71.png<|eol|><|sor|>You had nine squares so you wrote every line nine times. Makes perfect sense, if I have two toasts I spread each toast two times.<|eor|><|sor|>He probably didnt k... | 55 |
programminghorror | kukisRedditer | hcgc5mm | <|sols|><|sot|>These 360 lines of code I wrote for a tic tac toe script in Roblox when I was 15<|eot|><|sol|>https://i.redd.it/qgbb12pt8wm71.png<|eol|><|sor|>im kinda confused, is this roblox scripting language connected with the game called Roblox, or is it just a coincidence?<|eor|><|eols|><|endoftext|> | 37 |
programminghorror | redditisez23 | hcha6fa | <|sols|><|sot|>These 360 lines of code I wrote for a tic tac toe script in Roblox when I was 15<|eot|><|sol|>https://i.redd.it/qgbb12pt8wm71.png<|eol|><|sor|>This is one of those scalability exercises that weeded out CS-aspiring folks like me.
Homework 1: "Make a 3x3 board." Ok, got it.
Homework 2: "Now make it... | 34 |
programminghorror | mybackHZ | hcgn9wn | <|sols|><|sot|>These 360 lines of code I wrote for a tic tac toe script in Roblox when I was 15<|eot|><|sol|>https://i.redd.it/qgbb12pt8wm71.png<|eol|><|sor|>im kinda confused, is this roblox scripting language connected with the game called Roblox, or is it just a coincidence?<|eor|><|sor|>The language itself looks li... | 28 |
programminghorror | valschermjager | hcgtryq | <|sols|><|sot|>These 360 lines of code I wrote for a tic tac toe script in Roblox when I was 15<|eot|><|sol|>https://i.redd.it/qgbb12pt8wm71.png<|eol|><|sor|>You were 15 and you wrote perfectly understandable code that ran. Bravo.
As you learned more, you might've went back and improved it. Even better.
There is no... | 27 |
programminghorror | sixft7in | hcgpw60 | <|sols|><|sot|>These 360 lines of code I wrote for a tic tac toe script in Roblox when I was 15<|eot|><|sol|>https://i.redd.it/qgbb12pt8wm71.png<|eol|><|sor|>You had nine squares so you wrote every line nine times. Makes perfect sense, if I have two toasts I spread each toast two times.<|eor|><|sor|>He probably didnt k... | 22 |
programminghorror | sg159 | hcgfp00 | <|sols|><|sot|>These 360 lines of code I wrote for a tic tac toe script in Roblox when I was 15<|eot|><|sol|>https://i.redd.it/qgbb12pt8wm71.png<|eol|><|sor|>Self-documenting code<|eor|><|eols|><|endoftext|> | 21 |
programminghorror | woolfson | hcgkt5k | <|sols|><|sot|>These 360 lines of code I wrote for a tic tac toe script in Roblox when I was 15<|eot|><|sol|>https://i.redd.it/qgbb12pt8wm71.png<|eol|><|sor|>I was this years old today when I realized 15 year olds were smarter than I am at my age now, even though I get paid a lot more money than most of my contemporari... | 13 |
programminghorror | WoopiWoopi | hchlrik | <|sols|><|sot|>These 360 lines of code I wrote for a tic tac toe script in Roblox when I was 15<|eot|><|sol|>https://i.redd.it/qgbb12pt8wm71.png<|eol|><|sor|>im kinda confused, is this roblox scripting language connected with the game called Roblox, or is it just a coincidence?<|eor|><|sor|>The language itself looks li... | 13 |
programminghorror | mcraze123 | hcgxkxw | <|sols|><|sot|>These 360 lines of code I wrote for a tic tac toe script in Roblox when I was 15<|eot|><|sol|>https://i.redd.it/qgbb12pt8wm71.png<|eol|><|sor|>He was just practicing optimization via loop unrolling.<|eor|><|eols|><|endoftext|> | 12 |
programminghorror | FratmanBootcake | hcgo967 | <|sols|><|sot|>These 360 lines of code I wrote for a tic tac toe script in Roblox when I was 15<|eot|><|sol|>https://i.redd.it/qgbb12pt8wm71.png<|eol|><|sor|>You had nine squares so you wrote every line nine times. Makes perfect sense, if I have two toasts I spread each toast two times.<|eor|><|sor|>He should've just s... | 12 |
programminghorror | Countchrisdo | hcgcjda | <|sols|><|sot|>These 360 lines of code I wrote for a tic tac toe script in Roblox when I was 15<|eot|><|sol|>https://i.redd.it/qgbb12pt8wm71.png<|eol|><|sor|>im kinda confused, is this roblox scripting language connected with the game called Roblox, or is it just a coincidence?<|eor|><|sor|>Roblox allows people to make... | 11 |
programminghorror | DOMINATORLORD9872 | hcgchp0 | <|sols|><|sot|>These 360 lines of code I wrote for a tic tac toe script in Roblox when I was 15<|eot|><|sol|>https://i.redd.it/qgbb12pt8wm71.png<|eol|><|sor|>This makes even Yanderedev cry<|eor|><|eols|><|endoftext|> | 10 |
programminghorror | MemeTrash321 | hcgv88i | <|sols|><|sot|>These 360 lines of code I wrote for a tic tac toe script in Roblox when I was 15<|eot|><|sol|>https://i.redd.it/qgbb12pt8wm71.png<|eol|><|sor|>You had nine squares so you wrote every line nine times. Makes perfect sense, if I have two toasts I spread each toast two times.<|eor|><|sor|>He probably didnt k... | 10 |
programminghorror | Reelix | hck9yt4 | <|sols|><|sot|>These 360 lines of code I wrote for a tic tac toe script in Roblox when I was 15<|eot|><|sol|>https://i.redd.it/qgbb12pt8wm71.png<|eol|><|sor|>This is one of those scalability exercises that weeded out CS-aspiring folks like me.
Homework 1: "Make a 3x3 board." Ok, got it.
Homework 2: "Now make it... | 9 |
programminghorror | Romejanic | kd6sc1 | <|sols|><|sot|>My npm package which creates an array indexed by the order of the Star Wars films (3,4,5,0,1,2,6,7,8)<|eot|><|sol|>https://www.npmjs.com/package/star-wars-array<|eol|><|eols|><|endoftext|> | 955 |
programminghorror | hbdgas | gfvn258 | <|sols|><|sot|>My npm package which creates an array indexed by the order of the Star Wars films (3,4,5,0,1,2,6,7,8)<|eot|><|sol|>https://www.npmjs.com/package/star-wars-array<|eol|><|sor|>This Is one of the most interesting yet useless package I've seen. Congrats! Question: what happens if I put like 20 elements inste... | 273 |
programminghorror | droptablesubreddits | gfutnyc | <|sols|><|sot|>My npm package which creates an array indexed by the order of the Star Wars films (3,4,5,0,1,2,6,7,8)<|eot|><|sol|>https://www.npmjs.com/package/star-wars-array<|eol|><|sor|>Why did you do this to me?<|eor|><|eols|><|endoftext|> | 229 |
programminghorror | potatos4all | gfv152v | <|sols|><|sot|>My npm package which creates an array indexed by the order of the Star Wars films (3,4,5,0,1,2,6,7,8)<|eot|><|sol|>https://www.npmjs.com/package/star-wars-array<|eol|><|sor|>This Is one of the most interesting yet useless package I've seen. Congrats! Question: what happens if I put like 20 elements inste... | 157 |
programminghorror | Romejanic | gfv190i | <|sols|><|sot|>My npm package which creates an array indexed by the order of the Star Wars films (3,4,5,0,1,2,6,7,8)<|eot|><|sol|>https://www.npmjs.com/package/star-wars-array<|eol|><|sor|>This Is one of the most interesting yet useless package I've seen. Congrats! Question: what happens if I put like 20 elements inste... | 149 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.