subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programminghorror | SirOliverz | gaxsy2a | <|sols|><|sot|>It only just occurred to me that this might be a bad name for a variable<|eot|><|sol|>https://i.redd.it/qcy93tfzivw51.png<|eol|><|sor|>More shocked by the formatting of the line 33.<|eor|><|eols|><|endoftext|> | 42 |
programminghorror | kevzho | gay4ne4 | <|sols|><|sot|>It only just occurred to me that this might be a bad name for a variable<|eot|><|sol|>https://i.redd.it/qcy93tfzivw51.png<|eol|><|sor|>In my industry it's very common to deal with cumulative data, so we have lots of "cum" variants all over our code base. None involving children that I know of, thankfully... | 42 |
programminghorror | Anonymous37495 | fbhoum | <|sols|><|sot|>My country has 10 digit phone numbers<|eot|><|sol|>https://i.imgur.com/hPSqPJ9.jpg<|eol|><|eols|><|endoftext|> | 3,265 |
programminghorror | zerothindex | fj4tomd | <|sols|><|sot|>My country has 10 digit phone numbers<|eot|><|sol|>https://i.imgur.com/hPSqPJ9.jpg<|eol|><|sor|>To anyone who's ever built a form that needs validation: Localized input validation is too tricky to get right by yourself! Save the headache and use a trusted library<|eor|><|eols|><|endoftext|> | 349 |
programminghorror | blenderfreaky | fj4yr1e | <|sols|><|sot|>My country has 10 digit phone numbers<|eot|><|sol|>https://i.imgur.com/hPSqPJ9.jpg<|eol|><|sor|>To anyone who's ever built a form that needs validation: Localized input validation is too tricky to get right by yourself! Save the headache and use a trusted library<|eor|><|sor|>This guy hates regex<|eor|><... | 240 |
programminghorror | nonpondo | fj4yi9o | <|sols|><|sot|>My country has 10 digit phone numbers<|eot|><|sol|>https://i.imgur.com/hPSqPJ9.jpg<|eol|><|sor|>To anyone who's ever built a form that needs validation: Localized input validation is too tricky to get right by yourself! Save the headache and use a trusted library<|eor|><|sor|>This guy hates regex<|eor|><... | 141 |
programminghorror | tomadimitrie | fj50iv9 | <|sols|><|sot|>My country has 10 digit phone numbers<|eot|><|sol|>https://i.imgur.com/hPSqPJ9.jpg<|eol|><|sor|>To anyone who's ever built a form that needs validation: Localized input validation is too tricky to get right by yourself! Save the headache and use a trusted library<|eor|><|sor|>This guy hates regex<|eor|><... | 127 |
programminghorror | prx24 | fj4xtb6 | <|sols|><|sot|>My country has 10 digit phone numbers<|eot|><|sol|>https://i.imgur.com/hPSqPJ9.jpg<|eol|><|sor|>Easy: 1+(2*3)+4-5-6-7+8+9+0<|eor|><|eols|><|endoftext|> | 112 |
programminghorror | trigger_segfault | fj5l1ey | <|sols|><|sot|>My country has 10 digit phone numbers<|eot|><|sol|>https://i.imgur.com/hPSqPJ9.jpg<|eol|><|sor|>To anyone who's ever built a form that needs validation: Localized input validation is too tricky to get right by yourself! Save the headache and use a trusted library<|eor|><|sor|>This guy hates regex<|eor|><... | 99 |
programminghorror | tomadimitrie | fj5co5b | <|sols|><|sot|>My country has 10 digit phone numbers<|eot|><|sol|>https://i.imgur.com/hPSqPJ9.jpg<|eol|><|sor|>To anyone who's ever built a form that needs validation: Localized input validation is too tricky to get right by yourself! Save the headache and use a trusted library<|eor|><|sor|>This guy hates regex<|eor|><... | 97 |
programminghorror | blenderfreaky | fj51okv | <|sols|><|sot|>My country has 10 digit phone numbers<|eot|><|sol|>https://i.imgur.com/hPSqPJ9.jpg<|eol|><|sor|>To anyone who's ever built a form that needs validation: Localized input validation is too tricky to get right by yourself! Save the headache and use a trusted library<|eor|><|sor|>This guy hates regex<|eor|><... | 82 |
programminghorror | sambare | fj4iwor | <|sols|><|sot|>My country has 10 digit phone numbers<|eot|><|sol|>https://i.imgur.com/hPSqPJ9.jpg<|eol|><|sor|>That reminds me of [this](https://youtu.be/mk5BBkSMpNI)<|eor|><|eols|><|endoftext|> | 66 |
programminghorror | tomadimitrie | fj54823 | <|sols|><|sot|>My country has 10 digit phone numbers<|eot|><|sol|>https://i.imgur.com/hPSqPJ9.jpg<|eol|><|sor|>To anyone who's ever built a form that needs validation: Localized input validation is too tricky to get right by yourself! Save the headache and use a trusted library<|eor|><|sor|>This guy hates regex<|eor|><... | 52 |
programminghorror | MysticFragilist | fj5d5a7 | <|sols|><|sot|>My country has 10 digit phone numbers<|eot|><|sol|>https://i.imgur.com/hPSqPJ9.jpg<|eol|><|sor|>To anyone who's ever built a form that needs validation: Localized input validation is too tricky to get right by yourself! Save the headache and use a trusted library<|eor|><|sor|>This guy hates regex<|eor|><... | 50 |
programminghorror | Needleroozer | fj50dlt | <|sols|><|sot|>My country has 10 digit phone numbers<|eot|><|sol|>https://i.imgur.com/hPSqPJ9.jpg<|eol|><|sor|>To anyone who's ever built a form that needs validation: Localized input validation is too tricky to get right by yourself! Save the headache and use a trusted library<|eor|><|sor|>This guy hates regex<|eor|><... | 46 |
programminghorror | Never-asked-for-this | fj6dnhb | <|sols|><|sot|>My country has 10 digit phone numbers<|eot|><|sol|>https://i.imgur.com/hPSqPJ9.jpg<|eol|><|sor|>>.Length()
I think they dropped this.<|eor|><|eols|><|endoftext|> | 43 |
programminghorror | EmperorArthur | fj5mzmw | <|sols|><|sot|>My country has 10 digit phone numbers<|eot|><|sol|>https://i.imgur.com/hPSqPJ9.jpg<|eol|><|sor|>To anyone who's ever built a form that needs validation: Localized input validation is too tricky to get right by yourself! Save the headache and use a trusted library<|eor|><|sor|>This guy hates regex<|eor|><... | 39 |
programminghorror | MacGyver_15 | fj5lral | <|sols|><|sot|>My country has 10 digit phone numbers<|eot|><|sol|>https://i.imgur.com/hPSqPJ9.jpg<|eol|><|sor|>This guy hates regex<|eor|><|sor|>Regex
`/^(?!(?:(?:\x22?\x5C[\x00-\x7E]\x22?)|(?:\x22?[^\x5C\x22]\x22?)){255,})(?!(?:(?:\x22?\x5C[\x00-\x7E]\x22?)|(?:\x22?[^\x5C\x22]\x22?)){65,}@)(?:(?:[\x21\x23-\x27\x2A... | 27 |
programminghorror | EmperorArthur | fj5x7v9 | <|sols|><|sot|>My country has 10 digit phone numbers<|eot|><|sol|>https://i.imgur.com/hPSqPJ9.jpg<|eol|><|sor|>To anyone who's ever built a form that needs validation: Localized input validation is too tricky to get right by yourself! Save the headache and use a trusted library<|eor|><|sor|>This guy hates regex<|eor|><... | 24 |
programminghorror | ProfCrumpets | oydis4 | <|sols|><|sot|>Was wondering why this engineer was always pushing as 'changes'<|eot|><|sol|>https://i.redd.it/5uhbyeiv6if71.png<|eol|><|eols|><|endoftext|> | 3,195 |
programminghorror | Spyes23 | h7sdebw | <|sols|><|sot|>Was wondering why this engineer was always pushing as 'changes'<|eot|><|sol|>https://i.redd.it/5uhbyeiv6if71.png<|eol|><|sor|>You know what really bothers me? The usage of \`;\` instead of \`&&\`,which means that if one step fails, the next one will be executed regardless... Want uncertainty? Use \`;\`!<... | 591 |
programminghorror | karlkloppenborg | h7sgenp | <|sols|><|sot|>Was wondering why this engineer was always pushing as 'changes'<|eot|><|sol|>https://i.redd.it/5uhbyeiv6if71.png<|eol|><|sor|>[removed]<|eor|><|sor|>Calm down Satan<|eor|><|eols|><|endoftext|> | 316 |
programminghorror | 666y4nn1ck | h7saogm | <|sols|><|sot|>Was wondering why this engineer was always pushing as 'changes'<|eot|><|sol|>https://i.redd.it/5uhbyeiv6if71.png<|eol|><|sor|>This is fairly optimal. You'll always know the name of the commit you'll have to rollback if something doesn't work!<|eor|><|eols|><|endoftext|> | 285 |
programminghorror | _martini97 | h7srllw | <|sols|><|sot|>Was wondering why this engineer was always pushing as 'changes'<|eot|><|sol|>https://i.redd.it/5uhbyeiv6if71.png<|eol|><|sor|>You know what really bothers me? The usage of \`;\` instead of \`&&\`,which means that if one step fails, the next one will be executed regardless... Want uncertainty? Use \`;\`!<... | 153 |
programminghorror | SLCH000 | h7se43p | <|sols|><|sot|>Was wondering why this engineer was always pushing as 'changes'<|eot|><|sol|>https://i.redd.it/5uhbyeiv6if71.png<|eol|><|sor|>[removed]<|eor|><|sor|>git push force-with-lease
Respectfully ;)<|eor|><|eols|><|endoftext|> | 116 |
programminghorror | ProfCrumpets | h7t0c2z | <|sols|><|sot|>Was wondering why this engineer was always pushing as 'changes'<|eot|><|sol|>https://i.redd.it/5uhbyeiv6if71.png<|eol|><|soopr|>This same employee today just pushed API keys to the repo and Ive had to refresh them.
Might be worth bringing him in for a chat to freshen up his knowledge.<|eoopr|><|eols|><|... | 112 |
programminghorror | Sharlinator | h7sdy7q | <|sols|><|sot|>Was wondering why this engineer was always pushing as 'changes'<|eot|><|sol|>https://i.redd.it/5uhbyeiv6if71.png<|eol|><|sor|>This is fairly optimal. You'll always know the name of the commit you'll have to rollback if something doesn't work!<|eor|><|sor|>Or the name of the engineer whose changes to roll... | 106 |
programminghorror | kitari1 | h7sg123 | <|sols|><|sot|>Was wondering why this engineer was always pushing as 'changes'<|eot|><|sol|>https://i.redd.it/5uhbyeiv6if71.png<|eol|><|sor|> git add .
is worse<|eor|><|sor|>Real question, why? It makes sure all the files are tracked. what's bad about it?<|eor|><|sor|>- you commit all your changes, even the debuggi... | 62 |
programminghorror | Brainix | h7se68o | <|sols|><|sot|>Was wondering why this engineer was always pushing as 'changes'<|eot|><|sol|>https://i.redd.it/5uhbyeiv6if71.png<|eol|><|sor|>`git commit all message=Did work`<|eor|><|eols|><|endoftext|> | 59 |
programminghorror | RainyCloudlooper | h7sr0ya | <|sols|><|sot|>Was wondering why this engineer was always pushing as 'changes'<|eot|><|sol|>https://i.redd.it/5uhbyeiv6if71.png<|eol|><|sor|>Personally, I prefer
`alias git-auto-commit='git add .; git commit -m "$(curl http://whatthecommit.com/ 2>/dev/null | fgrep "<p>" | sed -e s/<p>//)"'`<|eor|><|eols|><|endoftext|> | 58 |
programminghorror | caboosetp | h7tm2iq | <|sols|><|sot|>Was wondering why this engineer was always pushing as 'changes'<|eot|><|sol|>https://i.redd.it/5uhbyeiv6if71.png<|eol|><|sor|>[removed]<|eor|><|sor|>git push force-with-lease
Respectfully ;)<|eor|><|sor|>If I leave the "Respectfully" out of the command, is git going to get upset with me?<|eor|><|eols|><... | 56 |
programminghorror | radboss92 | h7sg82g | <|sols|><|sot|>Was wondering why this engineer was always pushing as 'changes'<|eot|><|sol|>https://i.redd.it/5uhbyeiv6if71.png<|eol|><|sor|>This is fairly optimal. You'll always know the name of the commit you'll have to rollback if something doesn't work!<|eor|><|sor|>Or the name of the engineer whose changes to roll... | 56 |
programminghorror | Sibshops | h7t3f2v | <|sols|><|sot|>Was wondering why this engineer was always pushing as 'changes'<|eot|><|sol|>https://i.redd.it/5uhbyeiv6if71.png<|eol|><|sor|>[removed]<|eor|><|sor|>[deleted]<|eor|><|sor|>Force pushing is useful when rebasing a branch to master. In this case signed commits are probably better so someone can't impersonat... | 53 |
programminghorror | zman0900 | h7u12y2 | <|sols|><|sot|>Was wondering why this engineer was always pushing as 'changes'<|eot|><|sol|>https://i.redd.it/5uhbyeiv6if71.png<|eol|><|sor|>[removed]<|eor|><|sor|>git push force-with-lease
Respectfully ;)<|eor|><|sor|>If I leave the "Respectfully" out of the command, is git going to get upset with me?<|eor|><|sor|>Li... | 48 |
programminghorror | assembly_wizard | h7t1cid | <|sols|><|sot|>Was wondering why this engineer was always pushing as 'changes'<|eot|><|sol|>https://i.redd.it/5uhbyeiv6if71.png<|eol|><|sor|>You know what really bothers me? The usage of \`;\` instead of \`&&\`,which means that if one step fails, the next one will be executed regardless... Want uncertainty? Use \`;\`!<... | 46 |
programminghorror | Deathnerd | h7u0cgu | <|sols|><|sot|>Was wondering why this engineer was always pushing as 'changes'<|eot|><|sol|>https://i.redd.it/5uhbyeiv6if71.png<|eol|><|sor|>You know what really bothers me? The usage of \`;\` instead of \`&&\`,which means that if one step fails, the next one will be executed regardless... Want uncertainty? Use \`;\`!<... | 45 |
programminghorror | R3D3-1 | h7sf7bg | <|sols|><|sot|>Was wondering why this engineer was always pushing as 'changes'<|eot|><|sol|>https://i.redd.it/5uhbyeiv6if71.png<|eol|><|sor|>`git commit all message=Did work`<|eor|><|sor|>Just how broken is Reddit recently? First, any multiline code blocks added in the graphical editor were broken (first line correct, ... | 44 |
programminghorror | general656 | manjep | <|sols|><|sot|>Half of our outsourced codebase be like ... Never outsource your code, other companies dont care about the maintenance you are gonna have to do when it's no longer their code to maintain<|eot|><|sol|>https://i.redd.it/6xaheraczko61.png<|eol|><|eols|><|endoftext|> | 3,165 |
programminghorror | FalseWait7 | grt79x0 | <|sols|><|sot|>Half of our outsourced codebase be like ... Never outsource your code, other companies dont care about the maintenance you are gonna have to do when it's no longer their code to maintain<|eot|><|sol|>https://i.redd.it/6xaheraczko61.png<|eol|><|sor|>can someone explain the issues for a non-ts Dev?<|eor|><... | 555 |
programminghorror | SZ4L4Y | grt6mz8 | <|sols|><|sot|>Half of our outsourced codebase be like ... Never outsource your code, other companies dont care about the maintenance you are gonna have to do when it's no longer their code to maintain<|eot|><|sol|>https://i.redd.it/6xaheraczko61.png<|eol|><|sor|>Goofyscript :)<|eor|><|eols|><|endoftext|> | 336 |
programminghorror | navyblue_140 | grt76ji | <|sols|><|sot|>Half of our outsourced codebase be like ... Never outsource your code, other companies dont care about the maintenance you are gonna have to do when it's no longer their code to maintain<|eot|><|sol|>https://i.redd.it/6xaheraczko61.png<|eol|><|sor|>can someone explain the issues for a non-ts Dev?<|eor|><... | 252 |
programminghorror | -shayne | grt8iil | <|sols|><|sot|>Half of our outsourced codebase be like ... Never outsource your code, other companies dont care about the maintenance you are gonna have to do when it's no longer their code to maintain<|eot|><|sol|>https://i.redd.it/6xaheraczko61.png<|eol|><|sor|>can someone explain the issues for a non-ts Dev?<|eor|><... | 229 |
programminghorror | hsantefort12 | grtee1f | <|sols|><|sot|>Half of our outsourced codebase be like ... Never outsource your code, other companies dont care about the maintenance you are gonna have to do when it's no longer their code to maintain<|eot|><|sol|>https://i.redd.it/6xaheraczko61.png<|eol|><|sor|>can someone explain the issues for a non-ts Dev?<|eor|><... | 227 |
programminghorror | FalseWait7 | grt8ts7 | <|sols|><|sot|>Half of our outsourced codebase be like ... Never outsource your code, other companies dont care about the maintenance you are gonna have to do when it's no longer their code to maintain<|eot|><|sol|>https://i.redd.it/6xaheraczko61.png<|eol|><|sor|>can someone explain the issues for a non-ts Dev?<|eor|><... | 218 |
programminghorror | FalseWait7 | grtf214 | <|sols|><|sot|>Half of our outsourced codebase be like ... Never outsource your code, other companies dont care about the maintenance you are gonna have to do when it's no longer their code to maintain<|eot|><|sol|>https://i.redd.it/6xaheraczko61.png<|eol|><|sor|>can someone explain the issues for a non-ts Dev?<|eor|><... | 125 |
programminghorror | bnz_ | grtvoiy | <|sols|><|sot|>Half of our outsourced codebase be like ... Never outsource your code, other companies dont care about the maintenance you are gonna have to do when it's no longer their code to maintain<|eot|><|sol|>https://i.redd.it/6xaheraczko61.png<|eol|><|sor|>Aaaah yes, **anyscript**<|eor|><|eols|><|endoftext|> | 84 |
programminghorror | FalseWait7 | grt7elk | <|sols|><|sot|>Half of our outsourced codebase be like ... Never outsource your code, other companies dont care about the maintenance you are gonna have to do when it's no longer their code to maintain<|eot|><|sol|>https://i.redd.it/6xaheraczko61.png<|eol|><|sor|>I've got an assignment to review some time ago, and it h... | 55 |
programminghorror | JoyJoy_ | grtdj2l | <|sols|><|sot|>Half of our outsourced codebase be like ... Never outsource your code, other companies dont care about the maintenance you are gonna have to do when it's no longer their code to maintain<|eot|><|sol|>https://i.redd.it/6xaheraczko61.png<|eol|><|sor|>can someone explain the issues for a non-ts Dev?<|eor|><... | 55 |
programminghorror | Seismicsentinel | grt8ypl | <|sols|><|sot|>Half of our outsourced codebase be like ... Never outsource your code, other companies dont care about the maintenance you are gonna have to do when it's no longer their code to maintain<|eot|><|sol|>https://i.redd.it/6xaheraczko61.png<|eol|><|sor|>My company does Angular apps, but they still use promise... | 51 |
programminghorror | jasekiw | grtk2dq | <|sols|><|sot|>Half of our outsourced codebase be like ... Never outsource your code, other companies dont care about the maintenance you are gonna have to do when it's no longer their code to maintain<|eot|><|sol|>https://i.redd.it/6xaheraczko61.png<|eol|><|sor|>Set "no-any": true in the tsconfig and tell them they're... | 49 |
programminghorror | Notakas | grt9ot3 | <|sols|><|sot|>Half of our outsourced codebase be like ... Never outsource your code, other companies dont care about the maintenance you are gonna have to do when it's no longer their code to maintain<|eot|><|sol|>https://i.redd.it/6xaheraczko61.png<|eol|><|sor|>I work on outsourced projects for a company and I can as... | 44 |
programminghorror | wah_modiji | grte3uv | <|sols|><|sot|>Half of our outsourced codebase be like ... Never outsource your code, other companies dont care about the maintenance you are gonna have to do when it's no longer their code to maintain<|eot|><|sol|>https://i.redd.it/6xaheraczko61.png<|eol|><|sor|>can someone explain the issues for a non-ts Dev?<|eor|><... | 44 |
programminghorror | purefabulousity | grt9k0u | <|sols|><|sot|>Half of our outsourced codebase be like ... Never outsource your code, other companies dont care about the maintenance you are gonna have to do when it's no longer their code to maintain<|eot|><|sol|>https://i.redd.it/6xaheraczko61.png<|eol|><|sor|>can someone explain the issues for a non-ts Dev?<|eor|><... | 37 |
programminghorror | HighValuedPawn | grtbotd | <|sols|><|sot|>Half of our outsourced codebase be like ... Never outsource your code, other companies dont care about the maintenance you are gonna have to do when it's no longer their code to maintain<|eot|><|sol|>https://i.redd.it/6xaheraczko61.png<|eol|><|sor|>can someone explain the issues for a non-ts Dev?<|eor|><... | 37 |
programminghorror | SexyMonad | grvn6z9 | <|sols|><|sot|>Half of our outsourced codebase be like ... Never outsource your code, other companies dont care about the maintenance you are gonna have to do when it's no longer their code to maintain<|eot|><|sol|>https://i.redd.it/6xaheraczko61.png<|eol|><|sor|>can someone explain the issues for a non-ts Dev?<|eor|><... | 34 |
programminghorror | Neitzches | grtp3ew | <|sols|><|sot|>Half of our outsourced codebase be like ... Never outsource your code, other companies dont care about the maintenance you are gonna have to do when it's no longer their code to maintain<|eot|><|sol|>https://i.redd.it/6xaheraczko61.png<|eol|><|sor|>Set "no-any": true in the tsconfig and tell them they're... | 32 |
programminghorror | navyblue_140 | grt7cfz | <|sols|><|sot|>Half of our outsourced codebase be like ... Never outsource your code, other companies dont care about the maintenance you are gonna have to do when it's no longer their code to maintain<|eot|><|sol|>https://i.redd.it/6xaheraczko61.png<|eol|><|sor|>can someone explain the issues for a non-ts Dev?<|eor|><... | 31 |
programminghorror | thespeedofweed | nhh6ns | <|sols|><|sot|>Pretty proud of this function I wrote the other day. You'll never guess what it does.<|eot|><|sol|>https://i.redd.it/2f8if4x0qd071.png<|eol|><|eols|><|endoftext|> | 3,153 |
programminghorror | illusion_disillusion | gywah4h | <|sols|><|sot|>Pretty proud of this function I wrote the other day. You'll never guess what it does.<|eot|><|sol|>https://i.redd.it/2f8if4x0qd071.png<|eol|><|sor|>Let me guess, the class is called Production.<|eor|><|eols|><|endoftext|> | 659 |
programminghorror | ketralnis | gywr7tx | <|sols|><|sot|>Pretty proud of this function I wrote the other day. You'll never guess what it does.<|eot|><|sol|>https://i.redd.it/2f8if4x0qd071.png<|eol|><|sor|>Since it has 0 references, nothing<|eor|><|eols|><|endoftext|> | 546 |
programminghorror | avwie | gywtygs | <|sols|><|sot|>Pretty proud of this function I wrote the other day. You'll never guess what it does.<|eot|><|sol|>https://i.redd.it/2f8if4x0qd071.png<|eol|><|sor|>Let me guess, the class is called Production.<|eor|><|sor|>ProductionManager. The manager has delegates to do the actual work but takes all the credit by pre... | 382 |
programminghorror | i_talk_to_machines | gywpter | <|sols|><|sot|>Pretty proud of this function I wrote the other day. You'll never guess what it does.<|eot|><|sol|>https://i.redd.it/2f8if4x0qd071.png<|eol|><|sor|>i know what it does! it FAILS TO TAKE PRODUCERS AS AN ARGUMENT:ccc<|eor|><|eols|><|endoftext|> | 138 |
programminghorror | G_F_Y_Plz | gywgc50 | <|sols|><|sot|>Pretty proud of this function I wrote the other day. You'll never guess what it does.<|eot|><|sol|>https://i.redd.it/2f8if4x0qd071.png<|eol|><|sor|>Loses money on Broadway?<|eor|><|eols|><|endoftext|> | 130 |
programminghorror | MeatyLabia | gyxjce4 | <|sols|><|sot|>Pretty proud of this function I wrote the other day. You'll never guess what it does.<|eot|><|sol|>https://i.redd.it/2f8if4x0qd071.png<|eol|><|sor|>Since it has 0 references, nothing<|eor|><|sor|>It can still be called at runtime.<|eor|><|eols|><|endoftext|> | 73 |
programminghorror | CodenameLambda | gyxkvqb | <|sols|><|sot|>Pretty proud of this function I wrote the other day. You'll never guess what it does.<|eot|><|sol|>https://i.redd.it/2f8if4x0qd071.png<|eol|><|sor|>[deleted]<|eor|><|soopr|>Ended up doing that after I took the screenshot!<|eoopr|><|sor|>~~Also, functions and variables should start lowercase. That's a wil... | 68 |
programminghorror | thespeedofweed | gywrb9u | <|sols|><|sot|>Pretty proud of this function I wrote the other day. You'll never guess what it does.<|eot|><|sol|>https://i.redd.it/2f8if4x0qd071.png<|eol|><|sor|>[deleted]<|eor|><|soopr|>Ended up doing that after I took the screenshot!<|eoopr|><|eols|><|endoftext|> | 63 |
programminghorror | thespeedofweed | gywqppa | <|sols|><|sot|>Pretty proud of this function I wrote the other day. You'll never guess what it does.<|eot|><|sol|>https://i.redd.it/2f8if4x0qd071.png<|eol|><|sor|>i know what it does! it FAILS TO TAKE PRODUCERS AS AN ARGUMENT:ccc<|eor|><|soopr|>Good point!! I'm prototyping rn but I'll fix that later :D<|eoopr|><|eols|>... | 44 |
programminghorror | thuktun | gyx8inv | <|sols|><|sot|>Pretty proud of this function I wrote the other day. You'll never guess what it does.<|eot|><|sol|>https://i.redd.it/2f8if4x0qd071.png<|eol|><|sor|>Let me guess, the class is called Production.<|eor|><|sor|>ProductionManager. The manager has delegates to do the actual work but takes all the credit by pre... | 41 |
programminghorror | YourMJK | gyxky08 | <|sols|><|sot|>Pretty proud of this function I wrote the other day. You'll never guess what it does.<|eot|><|sol|>https://i.redd.it/2f8if4x0qd071.png<|eol|><|sor|>[deleted]<|eor|><|soopr|>Ended up doing that after I took the screenshot!<|eoopr|><|sor|>~~Also, functions and variables should start lowercase. That's a wil... | 40 |
programminghorror | LockeNCole | gyw9zec | <|sols|><|sot|>Pretty proud of this function I wrote the other day. You'll never guess what it does.<|eot|><|sol|>https://i.redd.it/2f8if4x0qd071.png<|eol|><|sor|>Takes far too much credit for the work given?<|eor|><|eols|><|endoftext|> | 36 |
programminghorror | LeCrushinator | gyz3f03 | <|sols|><|sot|>Pretty proud of this function I wrote the other day. You'll never guess what it does.<|eot|><|sol|>https://i.redd.it/2f8if4x0qd071.png<|eol|><|sor|>Since it has 0 references, nothing<|eor|><|sor|>It can still be called at runtime.<|eor|><|sor|>Yay for reflection. /s<|eor|><|eols|><|endoftext|> | 35 |
programminghorror | tarapoto2006 | gyx2bhc | <|sols|><|sot|>Pretty proud of this function I wrote the other day. You'll never guess what it does.<|eot|><|sol|>https://i.redd.it/2f8if4x0qd071.png<|eol|><|sor|>Let me guess, the class is called Production.<|eor|><|sor|>Well, if it's called Producer he's fucked lol<|eor|><|eols|><|endoftext|> | 28 |
programminghorror | danfay222 | gywxxc8 | <|sols|><|sot|>Pretty proud of this function I wrote the other day. You'll never guess what it does.<|eot|><|sol|>https://i.redd.it/2f8if4x0qd071.png<|eol|><|sor|>Give the outer function a bit more descriptive name and you're good.
I try to teach my students that it doesnt matter if your code seems stupid or redundan... | 27 |
programminghorror | Exormeter | gywr6c5 | <|sols|><|sot|>Pretty proud of this function I wrote the other day. You'll never guess what it does.<|eot|><|sol|>https://i.redd.it/2f8if4x0qd071.png<|eol|><|sor|>Its not that bad tbh. The only thing I would change is renaming the outer produce() to something more concrete if its possible.<|eor|><|eols|><|endoftext|> | 24 |
programminghorror | Danghor | gyx4yii | <|sols|><|sot|>Pretty proud of this function I wrote the other day. You'll never guess what it does.<|eot|><|sol|>https://i.redd.it/2f8if4x0qd071.png<|eol|><|sor|>Let me guess, the class is called Production.<|eor|><|sor|>Its called Factory, of course.<|eor|><|eols|><|endoftext|> | 23 |
programminghorror | hanmango_kiwi | ooyys1 | <|sols|><|sot|>Developer doesn't even run the program once because they're "not tester xd"<|eot|><|sol|>https://i.redd.it/9dsd99fiqmc71.png<|eol|><|eols|><|endoftext|> | 3,154 |
programminghorror | deadbeef1a4 | h61zmyz | <|sols|><|sot|>Developer doesn't even run the program once because they're "not tester xd"<|eot|><|sol|>https://i.redd.it/9dsd99fiqmc71.png<|eol|><|sor|>that's like being a chef and never tasting your food...<|eor|><|eols|><|endoftext|> | 431 |
programminghorror | SnasSn | h62avgl | <|sols|><|sot|>Developer doesn't even run the program once because they're "not tester xd"<|eot|><|sol|>https://i.redd.it/9dsd99fiqmc71.png<|eol|><|sor|>that's like being a chef and never tasting your food...<|eor|><|sor|>yes but i'm not a food critic xd<|eor|><|eols|><|endoftext|> | 368 |
programminghorror | MoldyWolf | h61tc0g | <|sols|><|sot|>Developer doesn't even run the program once because they're "not tester xd"<|eot|><|sol|>https://i.redd.it/9dsd99fiqmc71.png<|eol|><|sor|>How are they still employed tho?<|eor|><|eols|><|endoftext|> | 348 |
programminghorror | iadknet | h626xce | <|sols|><|sot|>Developer doesn't even run the program once because they're "not tester xd"<|eot|><|sol|>https://i.redd.it/9dsd99fiqmc71.png<|eol|><|sor|>How are they still employed tho?<|eor|><|sor|>I worked with someone who told me As long as my unit tests pass, its not my problem.
They were promoted several times be... | 242 |
programminghorror | nrith | h621ejb | <|sols|><|sot|>Developer doesn't even run the program once because they're "not tester xd"<|eot|><|sol|>https://i.redd.it/9dsd99fiqmc71.png<|eol|><|sor|>Shit, I dont even _compile_ my code myself anymore. Thats what CI/CD is for.
/s<|eor|><|eols|><|endoftext|> | 164 |
programminghorror | MoldyWolf | h62733o | <|sols|><|sot|>Developer doesn't even run the program once because they're "not tester xd"<|eot|><|sol|>https://i.redd.it/9dsd99fiqmc71.png<|eol|><|sor|>How are they still employed tho?<|eor|><|sor|>I worked with someone who told me As long as my unit tests pass, its not my problem.
They were promoted several times be... | 162 |
programminghorror | hanmango_kiwi | h61tlz0 | <|sols|><|sot|>Developer doesn't even run the program once because they're "not tester xd"<|eot|><|sol|>https://i.redd.it/9dsd99fiqmc71.png<|eol|><|sor|>How are they still employed tho?<|eor|><|soopr|>not any longer I hope<|eoopr|><|eols|><|endoftext|> | 139 |
programminghorror | HotRodLincoln | h6312uw | <|sols|><|sot|>Developer doesn't even run the program once because they're "not tester xd"<|eot|><|sol|>https://i.redd.it/9dsd99fiqmc71.png<|eol|><|sor|>How are they still employed tho?<|eor|><|sor|>I worked with someone who told me As long as my unit tests pass, its not my problem.
They were promoted several times be... | 137 |
programminghorror | goodudetheboy | h62b854 | <|sols|><|sot|>Developer doesn't even run the program once because they're "not tester xd"<|eot|><|sol|>https://i.redd.it/9dsd99fiqmc71.png<|eol|><|sor|>that's like being a chef and never tasting your food...<|eor|><|sor|>worse, it's like being a chef and putting random shit in your food, never tasting it, and expectin... | 135 |
programminghorror | hanmango_kiwi | h61uqeo | <|sols|><|sot|>Developer doesn't even run the program once because they're "not tester xd"<|eot|><|sol|>https://i.redd.it/9dsd99fiqmc71.png<|eol|><|sor|>How are they still employed tho?<|eor|><|soopr|>not any longer I hope<|eoopr|><|sor|>If they are willing to learn from it and start testing, i dont see why they should... | 119 |
programminghorror | migueeel | h620avg | <|sols|><|sot|>Developer doesn't even run the program once because they're "not tester xd"<|eot|><|sol|>https://i.redd.it/9dsd99fiqmc71.png<|eol|><|sor|>How are they still employed tho?<|eor|><|soopr|>not any longer I hope<|eoopr|><|sor|>If they are willing to learn from it and start testing, i dont see why they should... | 118 |
programminghorror | Svenstornator | h63ud65 | <|sols|><|sot|>Developer doesn't even run the program once because they're "not tester xd"<|eot|><|sol|>https://i.redd.it/9dsd99fiqmc71.png<|eol|><|sor|>How are they still employed tho?<|eor|><|sor|>I worked with someone who told me As long as my unit tests pass, its not my problem.
They were promoted several times be... | 99 |
programminghorror | RichCorinthian | h62cjax | <|sols|><|sot|>Developer doesn't even run the program once because they're "not tester xd"<|eot|><|sol|>https://i.redd.it/9dsd99fiqmc71.png<|eol|><|sor|>Offshore devs I worked with didnt run the compiler. And they wrote code in WordPad.
Not notepad. Not TextPad.<|eor|><|eols|><|endoftext|> | 73 |
programminghorror | migueeel | h622t23 | <|sols|><|sot|>Developer doesn't even run the program once because they're "not tester xd"<|eot|><|sol|>https://i.redd.it/9dsd99fiqmc71.png<|eol|><|sor|>How are they still employed tho?<|eor|><|soopr|>not any longer I hope<|eoopr|><|sor|>If they are willing to learn from it and start testing, i dont see why they should... | 72 |
programminghorror | Spysix | h62j0tf | <|sols|><|sot|>Developer doesn't even run the program once because they're "not tester xd"<|eot|><|sol|>https://i.redd.it/9dsd99fiqmc71.png<|eol|><|sor|>How are they still employed tho?<|eor|><|soopr|>not any longer I hope<|eoopr|><|sor|>If they are willing to learn from it and start testing, i dont see why they should... | 60 |
programminghorror | WishIWasOnACatamaran | h62hfcf | <|sols|><|sot|>Developer doesn't even run the program once because they're "not tester xd"<|eot|><|sol|>https://i.redd.it/9dsd99fiqmc71.png<|eol|><|sor|>[deleted]<|eor|><|sor|>There is no /s here, this is how some people actually view their role as a software engineer and it only makes it a pain in the ass for everybod... | 55 |
programminghorror | degaart | h632km5 | <|sols|><|sot|>Developer doesn't even run the program once because they're "not tester xd"<|eot|><|sol|>https://i.redd.it/9dsd99fiqmc71.png<|eol|><|sor|>that's like being a chef and never tasting your food...<|eor|><|sor|>worse, it's like being a chef and putting random shit in your food, never tasting it, and expectin... | 51 |
programminghorror | nrith | h62i95o | <|sols|><|sot|>Developer doesn't even run the program once because they're "not tester xd"<|eot|><|sol|>https://i.redd.it/9dsd99fiqmc71.png<|eol|><|sor|>Shit, I dont even _compile_ my code myself anymore. Thats what CI/CD is for.
/s<|eor|><|sor|>I mean, work in a systems level or backend job with a good CICD pipeline... | 51 |
programminghorror | TheNorthComesWithMe | h62cxhs | <|sols|><|sot|>Developer doesn't even run the program once because they're "not tester xd"<|eot|><|sol|>https://i.redd.it/9dsd99fiqmc71.png<|eol|><|soopr|>not any longer I hope<|eoopr|><|sor|>If they are willing to learn from it and start testing, i dont see why they shouldnt be allowed off with a warning for just one ... | 46 |
programminghorror | atiedebee | td4gzw | <|sols|><|sot|>Don't code when you're tired....<|eot|><|sol|>https://i.redd.it/l8van42is4n81.png<|eol|><|eols|><|endoftext|> | 3,079 |
programminghorror | frinkmahii | i0hfh68 | <|sols|><|sot|>Don't code when you're tired....<|eot|><|sol|>https://i.redd.it/l8van42is4n81.png<|eol|><|sor|>When you get paid by lines of code written.<|eor|><|eols|><|endoftext|> | 439 |
programminghorror | thebritisharecome | i0haazc | <|sols|><|sot|>Don't code when you're tired....<|eot|><|sol|>https://i.redd.it/l8van42is4n81.png<|eol|><|sor|>You can never be too sure if a null is intact a null, I hope you check the results of this method for their value too<|eor|><|eols|><|endoftext|> | 199 |
programminghorror | glorious_reptile | i0hqhoy | <|sols|><|sot|>Don't code when you're tired....<|eot|><|sol|>https://i.redd.it/l8van42is4n81.png<|eol|><|sor|>When you get paid by lines of code written.<|eor|><|sor|>It's like paying a shipbuilder by the weight of steel used.<|eor|><|eols|><|endoftext|> | 142 |
programminghorror | RandomiseUsr0 | i0hdrkc | <|sols|><|sot|>Don't code when you're tired....<|eot|><|sol|>https://i.redd.it/l8van42is4n81.png<|eol|><|sor|>Ah, the ole tri state Boolean gotcha<|eor|><|eols|><|endoftext|> | 121 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.