subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programmerhumor | EverythingGoodWas | hdu3u7s | <|sols|><|sot|>Little contribution to the indentation war<|eot|><|sol|>https://i.redd.it/1jh2k8j4dzo71.jpg<|eol|><|sor|>"*I wish I didn't have to put semicolons at the end of every line in C*"
***Monkey paw finger curls up***<|eor|><|sor|>Ok, but does this even work?<|eor|><|sor|>Yeah, because whitespace doesn't do anything and a semicolon after a semicolon is just an empty line, which is also removed. The first semicolon of each line ends the previous line<|eor|><|sor|>This is satanic, and I almost want to start doing it, but I know it would immediately piss me off.<|eor|><|eols|><|endoftext|> | 311 |
programmerhumor | NHonis | hdt8mge | <|sols|><|sot|>Little contribution to the indentation war<|eot|><|sol|>https://i.redd.it/1jh2k8j4dzo71.jpg<|eol|><|sor|>Thanks! I hate it!<|eor|><|sor|>I love it!!! Those SLOC counting micro managers are going to think I'm a genius!<|eor|><|eols|><|endoftext|> | 309 |
programmerhumor | pawelnougoed | hdtjpth | <|sols|><|sot|>Little contribution to the indentation war<|eot|><|sol|>https://i.redd.it/1jh2k8j4dzo71.jpg<|eol|><|sor|>Weirdly the thing that bothers me most is not ending the lines with semicolons.<|eor|><|sor|>you read the line from right to left<|eor|><|sor|>Le Arabic C++<|eor|><|sor|>++<|eor|><|sor|>I cant tell if thats Arabic or australian.<|eor|><|sor|>Yes.<|eor|><|eols|><|endoftext|> | 245 |
programmerhumor | EverythingGoodWas | hdu1hks | <|sols|><|sot|>Little contribution to the indentation war<|eot|><|sol|>https://i.redd.it/1jh2k8j4dzo71.jpg<|eol|><|sor|>"*I wish I didn't have to put semicolons at the end of every line in C*"
***Monkey paw finger curls up***<|eor|><|sor|>Ok, but does this even work?<|eor|><|eols|><|endoftext|> | 192 |
programmerhumor | ablaniar | hdtbias | <|sols|><|sot|>Little contribution to the indentation war<|eot|><|sol|>https://i.redd.it/1jh2k8j4dzo71.jpg<|eol|><|sor|>Just one while loop without braces and you will end up in infinite loop.<|eor|><|soopr|>A small price to pay for *indentation*<|eoopr|><|eols|><|endoftext|> | 189 |
programmerhumor | GAZUAG | hdte1b1 | <|sols|><|sot|>Little contribution to the indentation war<|eot|><|sol|>https://i.redd.it/1jh2k8j4dzo71.jpg<|eol|><|sor|>Weirdly the thing that bothers me most is not ending the lines with semicolons.<|eor|><|sor|>You dont have to, as long as you begin the next line with at least one semicolon. Its quite ingenious.<|eor|><|eols|><|endoftext|> | 178 |
programmerhumor | ablaniar | hdt76z0 | <|sols|><|sot|>Little contribution to the indentation war<|eot|><|sol|>https://i.redd.it/1jh2k8j4dzo71.jpg<|eol|><|sor|>That's a big `nop` from me.<|eor|><|soopr|>nop, the compiler will ignore it.<|eoopr|><|eols|><|endoftext|> | 177 |
programmerhumor | Bananiguns | p7qrle | <|sols|><|sot|>When your boss has no clue what you do.<|eot|><|sol|>https://i.redd.it/durn0aozkei71.jpg<|eol|><|eols|><|endoftext|> | 31,972 |
programmerhumor | sushister | h9lqfec | <|sols|><|sot|>When your boss has no clue what you do.<|eot|><|sol|>https://i.redd.it/durn0aozkei71.jpg<|eol|><|sor|>"Yes, but it will cost 50% more and take 2 extra months"<|eor|><|eols|><|endoftext|> | 3,878 |
programmerhumor | who_you_are | h9m0ok6 | <|sols|><|sot|>When your boss has no clue what you do.<|eot|><|sol|>https://i.redd.it/durn0aozkei71.jpg<|eol|><|sor|>"Yes, but it will cost 50% more and take 2 extra months"<|eor|><|sor|>Good, here is your 100$ and you have 1 week<|eor|><|eols|><|endoftext|> | 1,711 |
programmerhumor | 90059bethezip | h9m2ayc | <|sols|><|sot|>When your boss has no clue what you do.<|eot|><|sol|>https://i.redd.it/durn0aozkei71.jpg<|eol|><|sor|>the last frame of the meme with Trump's face really sells the meme format, i wish op kept it<|eor|><|eols|><|endoftext|> | 1,021 |
programmerhumor | Xyeeyx | h9lspk9 | <|sols|><|sot|>When your boss has no clue what you do.<|eot|><|sol|>https://i.redd.it/durn0aozkei71.jpg<|eol|><|sor|>Yes, but would you like it in .NET Framework, .NET Core, or .NET 5?<|eor|><|eols|><|endoftext|> | 801 |
programmerhumor | faceless_21 | h9lzf8n | <|sols|><|sot|>When your boss has no clue what you do.<|eot|><|sol|>https://i.redd.it/durn0aozkei71.jpg<|eol|><|sor|>Yes, but would you like it in .NET Framework, .NET Core, or .NET 5?<|eor|><|sor|>No, no, no, I want it to be .com<|eor|><|eols|><|endoftext|> | 666 |
programmerhumor | jack_tukis | h9lxceo | <|sols|><|sot|>When your boss has no clue what you do.<|eot|><|sol|>https://i.redd.it/durn0aozkei71.jpg<|eol|><|sor|>This appropriately reflects the technical understanding of our "leadership" whose last dealings with actual technology predate concerns about Y2K.<|eor|><|eols|><|endoftext|> | 490 |
programmerhumor | Affectionate_Oven_77 | h9mevdm | <|sols|><|sot|>When your boss has no clue what you do.<|eot|><|sol|>https://i.redd.it/durn0aozkei71.jpg<|eol|><|sor|>"Yes, but it will cost 50% more and take 2 extra months"<|eor|><|sor|>Good, here is your 100$ and you have 1 week<|eor|><|sor|>Still worth.<|eor|><|eols|><|endoftext|> | 429 |
programmerhumor | IVEBEENGRAPED | h9mn7gq | <|sols|><|sot|>When your boss has no clue what you do.<|eot|><|sol|>https://i.redd.it/durn0aozkei71.jpg<|eol|><|sor|>"Yes, but it will cost 50% more and take 2 extra months"<|eor|><|sor|>Good, here is your 100$ and you have 1 week<|eor|><|sor|>Still worth.<|eor|><|sor|>I'll do it for $99.<|eor|><|sor|>I'm from a third world country and willing to do everything for $5 only.<|eor|><|sor|>What could you buy in your country with 5$?<|eor|><|sor|>Based on his comment, sounds like you can buy enough developer time to build a .com or .org site<|eor|><|eols|><|endoftext|> | 394 |
programmerhumor | yoitsericc | h9m5o4p | <|sols|><|sot|>When your boss has no clue what you do.<|eot|><|sol|>https://i.redd.it/durn0aozkei71.jpg<|eol|><|sor|>Yes, but would you like it in .NET Framework, .NET Core, or .NET 5?<|eor|><|sor|>No, no, no, I want it to be .com<|eor|><|sor|>.com core?<|eor|><|eols|><|endoftext|> | 299 |
programmerhumor | faceless_21 | h9lzkrt | <|sols|><|sot|>When your boss has no clue what you do.<|eot|><|sol|>https://i.redd.it/durn0aozkei71.jpg<|eol|><|sor|>This appropriately reflects the technical understanding of our "leadership" whose last dealings with actual technology predate concerns about Y2K.<|eor|><|sor|>"Flash support is a must"<|eor|><|eols|><|endoftext|> | 285 |
programmerhumor | Iron_Maiden_666 | h9mr34h | <|sols|><|sot|>When your boss has no clue what you do.<|eot|><|sol|>https://i.redd.it/durn0aozkei71.jpg<|eol|><|sor|>Please tell me this actually happened<|eor|><|sor|>I was asked if I knew "C pound" in a technical interview. I didn't take that job.<|eor|><|eols|><|endoftext|> | 275 |
programmerhumor | noreason107 | h9mla42 | <|sols|><|sot|>When your boss has no clue what you do.<|eot|><|sol|>https://i.redd.it/durn0aozkei71.jpg<|eol|><|sor|>"Yes, but it will cost 50% more and take 2 extra months"<|eor|><|sor|>Good, here is your 100$ and you have 1 week<|eor|><|sor|>Still worth.<|eor|><|sor|>I'll do it for $99.<|eor|><|sor|>I'm from a third world country and willing to do everything for $5 only.<|eor|><|eols|><|endoftext|> | 272 |
programmerhumor | faceless_21 | h9m6q5k | <|sols|><|sot|>When your boss has no clue what you do.<|eot|><|sol|>https://i.redd.it/durn0aozkei71.jpg<|eol|><|sor|>Yes, but would you like it in .NET Framework, .NET Core, or .NET 5?<|eor|><|sor|>No, no, no, I want it to be .com<|eor|><|sor|>.com core?<|eor|><|sor|>No, no, no. Just .com. Don't want clients forgetting the address.<|eor|><|eols|><|endoftext|> | 253 |
programmerhumor | GaianNeuron | h9mp638 | <|sols|><|sot|>When your boss has no clue what you do.<|eot|><|sol|>https://i.redd.it/durn0aozkei71.jpg<|eol|><|sor|>the last frame of the meme with Trump's face really sells the meme format, i wish op kept it<|eor|><|sor|>Link for comparison?<|eor|><|eols|><|endoftext|> | 251 |
programmerhumor | piberryboy | h9mia8r | <|sols|><|sot|>When your boss has no clue what you do.<|eot|><|sol|>https://i.redd.it/durn0aozkei71.jpg<|eol|><|sor|>"Yes, but it will cost 50% more and take 2 extra months"<|eor|><|sor|>Good, here is your 100$ and you have 1 week<|eor|><|sor|>Still worth.<|eor|><|sor|>I'll do it for $99.<|eor|><|eols|><|endoftext|> | 247 |
programmerhumor | SnasSn | h9mttwc | <|sols|><|sot|>When your boss has no clue what you do.<|eot|><|sol|>https://i.redd.it/durn0aozkei71.jpg<|eol|><|sor|>Please tell me this actually happened<|eor|><|sor|>I was asked if I knew "C pound" in a technical interview. I didn't take that job.<|eor|><|sor|>lol they didn't even know how to pronounce C hash<|eor|><|eols|><|endoftext|> | 223 |
programmerhumor | IMovedYourCheese | h9m1npi | <|sols|><|sot|>When your boss has no clue what you do.<|eot|><|sol|>https://i.redd.it/durn0aozkei71.jpg<|eol|><|sor|>If the boss is non-technical then that's a pretty fair question lol<|eor|><|eols|><|endoftext|> | 205 |
programmerhumor | seth1299 | h9mdqv1 | <|sols|><|sot|>When your boss has no clue what you do.<|eot|><|sol|>https://i.redd.it/durn0aozkei71.jpg<|eol|><|sor|>This appropriately reflects the technical understanding of our "leadership" whose last dealings with actual technology predate concerns about Y2K.<|eor|><|sor|>"Flash support is a must"<|eor|><|sor|>As my high school computer class teacher once said: Flash is the way of the future, you guys will benefit greatly from learning and being certified in Flash.
Narrator: They were not.<|eor|><|eols|><|endoftext|> | 185 |
programmerhumor | rooneyyyy | j9is2o | <|sols|><|sot|>I want to contribute to this project<|eot|><|sol|>https://i.imgur.com/pSDbMJP.jpg<|eol|><|eols|><|endoftext|> | 31,966 |
programmerhumor | Pa3kc123 | g8khda9 | <|sols|><|sot|>I want to contribute to this project<|eot|><|sol|>https://i.imgur.com/pSDbMJP.jpg<|eol|><|sor|>Oh... My... Gawd...
They forgot 0...<|eor|><|eols|><|endoftext|> | 4,272 |
programmerhumor | andreortigao | g8kaikp | <|sols|><|sot|>I want to contribute to this project<|eot|><|sol|>https://i.imgur.com/pSDbMJP.jpg<|eol|><|sor|>That's terrible code, you have to place each case in a separated class<|eor|><|eols|><|endoftext|> | 3,191 |
programmerhumor | ppardee | g8kcxs4 | <|sols|><|sot|>I want to contribute to this project<|eot|><|sol|>https://i.imgur.com/pSDbMJP.jpg<|eol|><|sor|>Um.. We're programmers. Why not write a program to write this code out???
string code = '';
bool isTrue = true;
for(int i = 2; i < Int.MaxValue; i++){
string trueorfalse = isTrue ? "true" : "false";
code += $"else if(number=={i.ToString()}) return {trueorfalse};";
isTrue = !isTrue;
}<|eor|><|eols|><|endoftext|> | 3,037 |
programmerhumor | recycledbits | g8klmz7 | <|sols|><|sot|>I want to contribute to this project<|eot|><|sol|>https://i.imgur.com/pSDbMJP.jpg<|eol|><|sor|>Yeah, that's definitely terrible. You should have all the numbers in named constants.
else if (number == TWENTY) return true;
is much better and more extensible if the value of twenty were to change in future versions...<|eor|><|eols|><|endoftext|> | 2,547 |
programmerhumor | CrispyCosmonaut | g8klwk2 | <|sols|><|sot|>I want to contribute to this project<|eot|><|sol|>https://i.imgur.com/pSDbMJP.jpg<|eol|><|sor|>Oh... My... Gawd...
They forgot 0...<|eor|><|sor|>Better hold backspace for 45 minutes to start over.<|eor|><|eols|><|endoftext|> | 2,313 |
programmerhumor | Axver_Ender | g8kgfyw | <|sols|><|sot|>I want to contribute to this project<|eot|><|sol|>https://i.imgur.com/pSDbMJP.jpg<|eol|><|sor|>Um.. We're programmers. Why not write a program to write this code out???
string code = '';
bool isTrue = true;
for(int i = 2; i < Int.MaxValue; i++){
string trueorfalse = isTrue ? "true" : "false";
code += $"else if(number=={i.ToString()}) return {trueorfalse};";
isTrue = !isTrue;
}<|eor|><|sor|>A program that writes a program oh no its skynet<|eor|><|eols|><|endoftext|> | 1,725 |
programmerhumor | z_derApfel | g8kaqw0 | <|sols|><|sot|>I want to contribute to this project<|eot|><|sol|>https://i.imgur.com/pSDbMJP.jpg<|eol|><|sor|>That's terrible code, you have to place each case in a separated class<|eor|><|sor|>This man OOPs<|eor|><|eols|><|endoftext|> | 1,257 |
programmerhumor | drsimonz | g8kd7j0 | <|sols|><|sot|>I want to contribute to this project<|eot|><|sol|>https://i.imgur.com/pSDbMJP.jpg<|eol|><|sor|>Amateurs! Should have used Python, only have to type `elif`<|eor|><|eols|><|endoftext|> | 995 |
programmerhumor | RegalSalmon | g8k80jt | <|sols|><|sot|>I want to contribute to this project<|eot|><|sol|>https://i.imgur.com/pSDbMJP.jpg<|eol|><|sor|>The actual twitter one is better. She retweeted it, saying that she's still getting white knight DM's trying to explain modulo to her. Not sure if it's legal to link it here, but it's good but depressing stuff.<|eor|><|eols|><|endoftext|> | 878 |
programmerhumor | familyturtle | g8kqq9y | <|sols|><|sot|>I want to contribute to this project<|eot|><|sol|>https://i.imgur.com/pSDbMJP.jpg<|eol|><|sor|>Yeah, that's definitely terrible. You should have all the numbers in named constants.
else if (number == TWENTY) return true;
is much better and more extensible if the value of twenty were to change in future versions...<|eor|><|sor|>I was on a team who would write a bunch of stuff like `const ONE_HUNDRED_AND_SEVEN = 107` at the top of files and your comment has given me horrible flashbacks.<|eor|><|eols|><|endoftext|> | 841 |
programmerhumor | Folaefolc | g8kob57 | <|sols|><|sot|>I want to contribute to this project<|eot|><|sol|>https://i.imgur.com/pSDbMJP.jpg<|eol|><|sor|>I don't know man, my teachers speak a lot about recursivity
bool is_even(int num) {
if (num == 1) return false;
if (num == 0) return true;
return is_even(num - 2);
}<|eor|><|eols|><|endoftext|> | 810 |
programmerhumor | Kattou | g8kr6ss | <|sols|><|sot|>I want to contribute to this project<|eot|><|sol|>https://i.imgur.com/pSDbMJP.jpg<|eol|><|sor|>Oh... My... Gawd...
They forgot 0...<|eor|><|sor|>Better hold backspace for 45 minutes to start over.<|eor|><|sor|>Tip: ctrl+shift+up arrow to quickly select multiple lines<|eor|><|sor|>Every time I make a mistake, I make sure to just do ctrl+a -> backspace, so I can start over and do it right.<|eor|><|eols|><|endoftext|> | 770 |
programmerhumor | Lintydint | g8kp1mm | <|sols|><|sot|>I want to contribute to this project<|eot|><|sol|>https://i.imgur.com/pSDbMJP.jpg<|eol|><|sor|>Oh... My... Gawd...
They forgot 0...<|eor|><|sor|>Better hold backspace for 45 minutes to start over.<|eor|><|sor|>Tip: ctrl+shift+up arrow to quickly select multiple lines<|eor|><|eols|><|endoftext|> | 523 |
programmerhumor | atharvakadlag | g8kkush | <|sols|><|sot|>I want to contribute to this project<|eot|><|sol|>https://i.imgur.com/pSDbMJP.jpg<|eol|><|sor|>Um.. We're programmers. Why not write a program to write this code out???
string code = '';
bool isTrue = true;
for(int i = 2; i < Int.MaxValue; i++){
string trueorfalse = isTrue ? "true" : "false";
code += $"else if(number=={i.ToString()}) return {trueorfalse};";
isTrue = !isTrue;
}<|eor|><|sor|>I tried to do that in python... Created an 8gb file in a few seconds
PS: Python's plain int type is unbounded!!<|eor|><|eols|><|endoftext|> | 384 |
programmerhumor | SuitableDragonfly | g8kq1i1 | <|sols|><|sot|>I want to contribute to this project<|eot|><|sol|>https://i.imgur.com/pSDbMJP.jpg<|eol|><|sor|>I don't know man, my teachers speak a lot about recursivity
bool is_even(int num) {
if (num == 1) return false;
if (num == 0) return true;
return is_even(num - 2);
}<|eor|><|sor|>`is_even(-1)`: stack overflow<|eor|><|eols|><|endoftext|> | 361 |
programmerhumor | Folaefolc | g8kq3r5 | <|sols|><|sot|>I want to contribute to this project<|eot|><|sol|>https://i.imgur.com/pSDbMJP.jpg<|eol|><|sor|>I don't know man, my teachers speak a lot about recursivity
bool is_even(int num) {
if (num == 1) return false;
if (num == 0) return true;
return is_even(num - 2);
}<|eor|><|sor|>`is_even(-1)`: stack overflow<|eor|><|sor|>But my teacher said that was okay because at some point, after -2 million, you get back to +2 million and it will eventually go to zero again
Just add more ram<|eor|><|eols|><|endoftext|> | 360 |
programmerhumor | mrheosuper | g8kb5qo | <|sols|><|sot|>I want to contribute to this project<|eot|><|sol|>https://i.imgur.com/pSDbMJP.jpg<|eol|><|sor|>TODO: add more cases<|eor|><|eols|><|endoftext|> | 346 |
programmerhumor | sizejuan | g8ko02x | <|sols|><|sot|>I want to contribute to this project<|eot|><|sol|>https://i.imgur.com/pSDbMJP.jpg<|eol|><|sor|>That's terrible code, you have to place each case in a separated class<|eor|><|sor|>So like:
if(number == new NumberOne().value) return false
else if(number == new NumberTwo().value) return true
...?<|eor|><|sor|>Probably more like
```
NumberOneFactory numberOneFactory = new NumberOneFactory();
NumberOneResult numberOneResult = numberOneFactory.build();
if(number === numberOneResult.getValue()) return false;
```
Create a factory for all numbers ??? Profit.<|eor|><|eols|><|endoftext|> | 311 |
programmerhumor | deconfusedguy | s8bafh | <|sols|><|sot|>I'm not even ashamed at this point<|eot|><|sol|>https://i.redd.it/1rqirjy04sc81.png<|eol|><|eols|><|endoftext|> | 31,937 |
programmerhumor | SherlockMeetsStrange | htf8wci | <|sols|><|sot|>I'm not even ashamed at this point<|eot|><|sol|>https://i.redd.it/1rqirjy04sc81.png<|eol|><|sor|>i see<|eor|><|eols|><|endoftext|> | 1,492 |
programmerhumor | jvanzandd | htfcipa | <|sols|><|sot|>I'm not even ashamed at this point<|eot|><|sol|>https://i.redd.it/1rqirjy04sc81.png<|eol|><|sor|>I don't get it and I'll probably feel *very* dumb once I do<|eor|><|sor|>The letter i is the most common looping variable. Second most popular is probably j<|eor|><|eols|><|endoftext|> | 990 |
programmerhumor | pimezone | htflr06 | <|sols|><|sot|>I'm not even ashamed at this point<|eot|><|sol|>https://i.redd.it/1rqirjy04sc81.png<|eol|><|sor|>i see<|eor|><|sor|> while i in pub:
i.drink()
Edit: As u/tema3210 proposed, `while` loop better represents business logic than `if`.<|eor|><|eols|><|endoftext|> | 928 |
programmerhumor | Noam_244 | htf9lwb | <|sols|><|sot|>I'm not even ashamed at this point<|eot|><|sol|>https://i.redd.it/1rqirjy04sc81.png<|eol|><|sor|>I don't get it and I'll probably feel *very* dumb once I do<|eor|><|eols|><|endoftext|> | 697 |
programmerhumor | fliesupsidedown | htfaynz | <|sols|><|sot|>I'm not even ashamed at this point<|eot|><|sol|>https://i.redd.it/1rqirjy04sc81.png<|eol|><|sor|>Many loops would start with i=won<|eor|><|eols|><|endoftext|> | 616 |
programmerhumor | lythox_ | htfd4nz | <|sols|><|sot|>I'm not even ashamed at this point<|eot|><|sol|>https://i.redd.it/1rqirjy04sc81.png<|eol|><|sor|>I don't get it and I'll probably feel *very* dumb once I do<|eor|><|sor|>The letter i is the most common looping variable. Second most popular is probably j<|eor|><|sor|>but are there people that use j in loops that arent nested?<|eor|><|eols|><|endoftext|> | 532 |
programmerhumor | Ciccionizzo | htfdytj | <|sols|><|sot|>I'm not even ashamed at this point<|eot|><|sol|>https://i.redd.it/1rqirjy04sc81.png<|eol|><|sor|>I don't get it and I'll probably feel *very* dumb once I do<|eor|><|sor|>The letter i is the most common looping variable. Second most popular is probably j<|eor|><|sor|>but are there people that use j in loops that arent nested?<|eor|><|sor|>Devil's offspring! Burn them, burn them with fire!<|eor|><|eols|><|endoftext|> | 475 |
programmerhumor | aisjsjdjdjskwkw | htfg8vx | <|sols|><|sot|>I'm not even ashamed at this point<|eot|><|sol|>https://i.redd.it/1rqirjy04sc81.png<|eol|><|sor|>I've always wondered about this, does i stand for iterable, Because iterating?
Or maybe integer because most of the time i see it is 'for i in range(x)'
There are probably more options but just curious<|eor|><|sor|>I've known it as i = index<|eor|><|eols|><|endoftext|> | 240 |
programmerhumor | WhereGrapesMayRule | htg0fpu | <|sols|><|sot|>I'm not even ashamed at this point<|eot|><|sol|>https://i.redd.it/1rqirjy04sc81.png<|eol|><|sor|>For code to be clean, variable names should be descriptive. Try using :
"anintegerwhichshowsthecurrentiterationcountwhichisactuallyalmostalwaysonelessbecausemostofthetimeweareiteratingoverarraysthathaveindexersstartingwithzeroandnotone"<|eor|><|eols|><|endoftext|> | 207 |
programmerhumor | RunicWasTaken | htfitfw | <|sols|><|sot|>I'm not even ashamed at this point<|eot|><|sol|>https://i.redd.it/1rqirjy04sc81.png<|eol|><|sor|>Many loops would start with i=won<|eor|><|sor|>I find I= 0 tends to be better for looping through arrays, but definitely doesn't pun as well<|eor|><|eols|><|endoftext|> | 187 |
programmerhumor | Iuse_arch_btw | htfrhz0 | <|sols|><|sot|>I'm not even ashamed at this point<|eot|><|sol|>https://i.redd.it/1rqirjy04sc81.png<|eol|><|sor|>i see<|eor|><|sor|> while i in pub:
i.drink()
Edit: As u/tema3210 proposed, `while` loop better represents business logic than `if`.<|eor|><|sor|>A Java programmer would use a visitor (or whatever fancy design pattern is appropriate) for that.<|eor|><|eols|><|endoftext|> | 168 |
programmerhumor | reversehead | htftse7 | <|sols|><|sot|>I'm not even ashamed at this point<|eot|><|sol|>https://i.redd.it/1rqirjy04sc81.png<|eol|><|sor|>i see<|eor|><|sor|> while i in pub:
i.drink()
Edit: As u/tema3210 proposed, `while` loop better represents business logic than `if`.<|eor|><|sor|>A Java programmer would use a visitor (or whatever fancy design pattern is appropriate) for that.<|eor|><|sor|>`pubs.forEach(I::drinkIn)`
Edit: Corrected. Thanks u/itsTyrion for noting.<|eor|><|eols|><|endoftext|> | 132 |
programmerhumor | Harmxn- | htfeglr | <|sols|><|sot|>I'm not even ashamed at this point<|eot|><|sol|>https://i.redd.it/1rqirjy04sc81.png<|eol|><|sor|>I don't get it and I'll probably feel *very* dumb once I do<|eor|><|sor|>The letter i is the most common looping variable. Second most popular is probably j<|eor|><|sor|>but are there people that use j in loops that arent nested?<|eor|><|sor|>Devil's offspring! Burn them, burn them with fire!<|eor|><|sor|>And then you have me that uses random letters like `k`<|eor|><|eols|><|endoftext|> | 118 |
programmerhumor | AnxietyRodeo | htfdlht | <|sols|><|sot|>I'm not even ashamed at this point<|eot|><|sol|>https://i.redd.it/1rqirjy04sc81.png<|eol|><|sor|>I've always wondered about this, does i stand for iterable, Because iterating?
Or maybe integer because most of the time i see it is 'for i in range(x)'
There are probably more options but just curious<|eor|><|eols|><|endoftext|> | 112 |
programmerhumor | AnxietyRodeo | htfepqt | <|sols|><|sot|>I'm not even ashamed at this point<|eot|><|sol|>https://i.redd.it/1rqirjy04sc81.png<|eol|><|sor|>I don't get it and I'll probably feel *very* dumb once I do<|eor|><|sor|>The letter i is the most common looping variable. Second most popular is probably j<|eor|><|sor|>but are there people that use j in loops that arent nested?<|eor|><|sor|>Devil's offspring! Burn them, burn them with fire!<|eor|><|sor|>And then you have me that uses random letters like `k`<|eor|><|sor|>Some code written by a coworker of mine (not actual programmers) nested so much it went to o.
Impossible to read, and the dude wrote only in vi, i saw lines up to 240 characters.<|eor|><|eols|><|endoftext|> | 107 |
programmerhumor | ColumnK | htfw3ui | <|sols|><|sot|>I'm not even ashamed at this point<|eot|><|sol|>https://i.redd.it/1rqirjy04sc81.png<|eol|><|sor|>The letter i is the most common looping variable. Second most popular is probably j<|eor|><|sor|>but are there people that use j in loops that arent nested?<|eor|><|sor|>Devil's offspring! Burn them, burn them with fire!<|eor|><|sor|>And then you have me that uses random letters like `k`<|eor|><|sor|>Some code written by a coworker of mine (not actual programmers) nested so much it went to o.
Impossible to read, and the dude wrote only in vi, i saw lines up to 240 characters.<|eor|><|sor|> i j k l m n o
I am so angry that they used n as a looping variable name<|eor|><|sor|>What's wrong with i,j,ii,iii,iiii,iiiii?<|eor|><|sor|>Because after iii it should be iv<|eor|><|eols|><|endoftext|> | 84 |
programmerhumor | FriddyNanz | htfl47k | <|sols|><|sot|>I'm not even ashamed at this point<|eot|><|sol|>https://i.redd.it/1rqirjy04sc81.png<|eol|><|sor|>I don't get it and I'll probably feel *very* dumb once I do<|eor|><|sor|>The letter i is the most common looping variable. Second most popular is probably j<|eor|><|sor|>but are there people that use j in loops that arent nested?<|eor|><|sor|>Devil's offspring! Burn them, burn them with fire!<|eor|><|sor|>And then you have me that uses random letters like `k`<|eor|><|sor|>Some code written by a coworker of mine (not actual programmers) nested so much it went to o.
Impossible to read, and the dude wrote only in vi, i saw lines up to 240 characters.<|eor|><|sor|> i j k l m n o
I am so angry that they used n as a looping variable name<|eor|><|eols|><|endoftext|> | 81 |
programmerhumor | Iuse_arch_btw | htfvd52 | <|sols|><|sot|>I'm not even ashamed at this point<|eot|><|sol|>https://i.redd.it/1rqirjy04sc81.png<|eol|><|sor|>i see<|eor|><|sor|> while i in pub:
i.drink()
Edit: As u/tema3210 proposed, `while` loop better represents business logic than `if`.<|eor|><|sor|>A Java programmer would use a visitor (or whatever fancy design pattern is appropriate) for that.<|eor|><|sor|>`pubs.forEach(I::drinkIn)`
Edit: Corrected. Thanks u/itsTyrion for noting.<|eor|><|sor|>Found the Java functional programmer<|eor|><|eols|><|endoftext|> | 77 |
programmerhumor | NileCity105-6 | htg0toe | <|sols|><|sot|>I'm not even ashamed at this point<|eot|><|sol|>https://i.redd.it/1rqirjy04sc81.png<|eol|><|sor|>I've always wondered about this, does i stand for iterable, Because iterating?
Or maybe integer because most of the time i see it is 'for i in range(x)'
There are probably more options but just curious<|eor|><|sor|>I've known it as i = index<|eor|><|sor|>So index, jndex, kndex<|eor|><|eols|><|endoftext|> | 62 |
programmerhumor | AmayaILoveYou | x65ws3 | <|sols|><|sot|>Endless tail chasing loop<|eot|><|sol|>https://i.redd.it/hp9mw7spnyl91.gif<|eol|><|eols|><|endoftext|> | 31,939 |
programmerhumor | DadlyPolarbear | in54ln4 | <|sols|><|sot|>Endless tail chasing loop<|eot|><|sol|>https://i.redd.it/hp9mw7spnyl91.gif<|eol|><|sor|>The application has stopped working. Please wait while..<|eor|><|eols|><|endoftext|> | 373 |
programmerhumor | UndisclosedChaos | in5ih65 | <|sols|><|sot|>Endless tail chasing loop<|eot|><|sol|>https://i.redd.it/hp9mw7spnyl91.gif<|eol|><|sor|>Thats a CAT pipeline<|eor|><|eols|><|endoftext|> | 142 |
programmerhumor | LandsOnAnything | in5q2v3 | <|sols|><|sot|>Endless tail chasing loop<|eot|><|sol|>https://i.redd.it/hp9mw7spnyl91.gif<|eol|><|sor|>The application has stopped working. Please wait while..<|eor|><|sor|>Well Im all in for this loading screen<|eor|><|eols|><|endoftext|> | 87 |
programmerhumor | ODeinsN | in5kl8f | <|sols|><|sot|>Endless tail chasing loop<|eot|><|sol|>https://i.redd.it/hp9mw7spnyl91.gif<|eol|><|sor|>r/C_AT<|eor|><|eols|><|endoftext|> | 65 |
programmerhumor | Idsuab | in5a7zv | <|sols|><|sot|>Endless tail chasing loop<|eot|><|sol|>https://i.redd.it/hp9mw7spnyl91.gif<|eol|><|sor|>Okay but theyre adorable<|eor|><|eols|><|endoftext|> | 62 |
programmerhumor | dnorhoj | in5mfp9 | <|sols|><|sot|>Endless tail chasing loop<|eot|><|sol|>https://i.redd.it/hp9mw7spnyl91.gif<|eol|><|sor|>Tail recursion<|eor|><|eols|><|endoftext|> | 45 |
programmerhumor | pimezone | in5dd1w | <|sols|><|sot|>Endless tail chasing loop<|eot|><|sol|>https://i.redd.it/hp9mw7spnyl91.gif<|eol|><|sor|>How recursion works<|eor|><|sor|>Tail recursion<|eor|><|eols|><|endoftext|> | 30 |
programmerhumor | ShadeFK | in5m054 | <|sols|><|sot|>Endless tail chasing loop<|eot|><|sol|>https://i.redd.it/hp9mw7spnyl91.gif<|eol|><|sor|>r/C_AT<|eor|><|sor|>Thank you for this gift kind sir<|eor|><|eols|><|endoftext|> | 23 |
programmerhumor | Strostkovy | in5j6k8 | <|sols|><|sot|>Endless tail chasing loop<|eot|><|sol|>https://i.redd.it/hp9mw7spnyl91.gif<|eol|><|sor|>[removed]<|eor|><|sor|>/#define True true<|eor|><|eols|><|endoftext|> | 21 |
programmerhumor | Benimation | in5ocyw | <|sols|><|sot|>Endless tail chasing loop<|eot|><|sol|>https://i.redd.it/hp9mw7spnyl91.gif<|eol|><|sor|>Okay but theyre adorable<|eor|><|sor|>I know right? When they told me never to do this they didn't tell me there would be kittens involved! I'm going to start doing this now, in fact, I think I'll never stop!<|eor|><|eols|><|endoftext|> | 20 |
programmerhumor | Vindkraft | in5lk9o | <|sols|><|sot|>Endless tail chasing loop<|eot|><|sol|>https://i.redd.it/hp9mw7spnyl91.gif<|eol|><|sor|>For those who know R:
tail()<|eor|><|sor|>I mostly associate tail with the GNU program.<|eor|><|eols|><|endoftext|> | 19 |
programmerhumor | camxct | in5pdcz | <|sols|><|sot|>Endless tail chasing loop<|eot|><|sol|>https://i.redd.it/hp9mw7spnyl91.gif<|eol|><|sor|>For those who know R:
tail()<|eor|><|sor|>I mostly associate tail with the GNU program.<|eor|><|sor|>Tbh, I forgot about Tails, but Im sure its more common in other parts of the world where the govt is more autocratic.
Edit:
Not sure what the basement dweller down votes are for. Tails is the first thing I thought of when he said GNU, as Tails is based off of Debian GNU. I guess Im supposed to be a mind reader.<|eor|><|sor|>N... No.
$ tail -f /var/log/whoosh<|eor|><|eols|><|endoftext|> | 19 |
programmerhumor | the_unheard_thoughts | in5cddd | <|sols|><|sot|>Endless tail chasing loop<|eot|><|sol|>https://i.redd.it/hp9mw7spnyl91.gif<|eol|><|sor|>FIFO queue loop...<|eor|><|eols|><|endoftext|> | 16 |
programmerhumor | Ovidiubn | in5ag6n | <|sols|><|sot|>Endless tail chasing loop<|eot|><|sol|>https://i.redd.it/hp9mw7spnyl91.gif<|eol|><|sor|>How recursion works<|eor|><|eols|><|endoftext|> | 16 |
programmerhumor | No_Bank | in5l743 | <|sols|><|sot|>Endless tail chasing loop<|eot|><|sol|>https://i.redd.it/hp9mw7spnyl91.gif<|eol|><|sor|>[removed]<|eor|><|sor|>I mean you could still assign:
bool True = true;<|eor|><|eols|><|endoftext|> | 16 |
programmerhumor | Tarzoon | in6b34u | <|sols|><|sot|>Endless tail chasing loop<|eot|><|sol|>https://i.redd.it/hp9mw7spnyl91.gif<|eol|><|sor|>The application has stopped working. Please wait while..<|eor|><|sor|>Well Im all in for this loading screen<|eor|><|sor|>/r/loadingicons<|eor|><|eols|><|endoftext|> | 16 |
programmerhumor | Weird-Contact1800 | in5q3c9 | <|sols|><|sot|>Endless tail chasing loop<|eot|><|sol|>https://i.redd.it/hp9mw7spnyl91.gif<|eol|><|sor|>The application has stopped working. Please wait while..<|eor|><|sor|>function chase(){
............
}
setInterval(chase, 1);
crash? no chance<|eor|><|eols|><|endoftext|> | 15 |
programmerhumor | Fav_Aussie_slut | in5sag1 | <|sols|><|sot|>Endless tail chasing loop<|eot|><|sol|>https://i.redd.it/hp9mw7spnyl91.gif<|eol|><|sor|>Thats a CAT pipeline<|eor|><|sor|>So cute haha<|eor|><|eols|><|endoftext|> | 13 |
programmerhumor | The_Sad_Memer | tgxvfo | <|sols|><|sot|>Gaga DB<|eot|><|sol|>https://i.redd.it/nz343rp484o81.jpg<|eol|><|eols|><|endoftext|> | 31,914 |
programmerhumor | jazzmester | i159ak0 | <|sols|><|sot|>Gaga DB<|eot|><|sol|>https://i.redd.it/nz343rp484o81.jpg<|eol|><|sor|>base64ed<|eor|><|eols|><|endoftext|> | 1,517 |
programmerhumor | Inglonias | i15dj7g | <|sols|><|sot|>Gaga DB<|eot|><|sol|>https://i.redd.it/nz343rp484o81.jpg<|eol|><|sor|>maybe she got a new fancy mechanical keyboard and likes the sounds it makes? I know I'd behave like that if that happened to me.<|eor|><|eols|><|endoftext|> | 889 |
programmerhumor | blending-tea | i156bbe | <|sols|><|sot|>Gaga DB<|eot|><|sol|>https://i.redd.it/nz343rp484o81.jpg<|eol|><|sor|>#----BEGIN CERTIFICATE----<|eor|><|eols|><|endoftext|> | 717 |
programmerhumor | MasouriChan | i156p8p | <|sols|><|sot|>Gaga DB<|eot|><|sol|>https://i.redd.it/nz343rp484o81.jpg<|eol|><|sor|>#----BEGIN CERTIFICATE----<|eor|><|sor|>Aiwopvksmo29rmtbxjapsnfocownbx<|eor|><|eols|><|endoftext|> | 448 |
programmerhumor | ItsOnlyMeNL | i158fap | <|sols|><|sot|>Gaga DB<|eot|><|sol|>https://i.redd.it/nz343rp484o81.jpg<|eol|><|sor|>#----BEGIN CERTIFICATE----<|eor|><|sor|>Aiwopvksmo29rmtbxjapsnfocownbx<|eor|><|sor|># ----END CERTIFICATE----<|eor|><|eols|><|endoftext|> | 420 |
programmerhumor | AeroSyntax | i15h3xh | <|sols|><|sot|>Gaga DB<|eot|><|sol|>https://i.redd.it/nz343rp484o81.jpg<|eol|><|sor|>Why is one separated with spaces and one with -? <|eor|><|eols|><|endoftext|> | 372 |
programmerhumor | FurryMoistAvenger | i15fp0m | <|sols|><|sot|>Gaga DB<|eot|><|sol|>https://i.redd.it/nz343rp484o81.jpg<|eol|><|sor|>#----BEGIN CERTIFICATE----<|eor|><|sor|>Aiwopvksmo29rmtbxjapsnfocownbx<|eor|><|sor|># ----END CERTIFICATE----<|eor|><|sor|>This comment thread connection in secure.<|eor|><|eols|><|endoftext|> | 230 |
programmerhumor | jcdevries92 | i15t28w | <|sols|><|sot|>Gaga DB<|eot|><|sol|>https://i.redd.it/nz343rp484o81.jpg<|eol|><|sor|>base64ed<|eor|><|sor|>devpilled<|eor|><|eols|><|endoftext|> | 219 |
programmerhumor | StarkProgrammer | i15foei | <|sols|><|sot|>Gaga DB<|eot|><|sol|>https://i.redd.it/nz343rp484o81.jpg<|eol|><|sor|>maybe she got a new fancy mechanical keyboard and likes the sounds it makes? I know I'd behave like that if that happened to me.<|eor|><|sor|>But 250k people won't be happy about it<|eor|><|eols|><|endoftext|> | 194 |
programmerhumor | rainbow_bro_bot | i159drb | <|sols|><|sot|>Gaga DB<|eot|><|sol|>https://i.redd.it/nz343rp484o81.jpg<|eol|><|sor|>Did she actually post that?<|eor|><|eols|><|endoftext|> | 193 |
programmerhumor | cyanawesome | i15hz80 | <|sols|><|sot|>Gaga DB<|eot|><|sol|>https://i.redd.it/nz343rp484o81.jpg<|eol|><|sor|>Did you know if you post your private key reddit automatically hides the value? Try it out yourself
-----BEGIN RSA PRIVATE KEY-----
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
-----END RSA PRIVATE KEY-----<|eor|><|eols|><|endoftext|> | 160 |
programmerhumor | octarino | i15f6xr | <|sols|><|sot|>Gaga DB<|eot|><|sol|>https://i.redd.it/nz343rp484o81.jpg<|eol|><|sor|>Did she actually post that?<|eor|><|sor|>https://twitter.com/ladygaga/status/266036172122365952<|eor|><|eols|><|endoftext|> | 153 |
programmerhumor | Karagoth | i15h8pc | <|sols|><|sot|>Gaga DB<|eot|><|sol|>https://i.redd.it/nz343rp484o81.jpg<|eol|><|sor|>Did she actually post that?<|eor|><|sor|>https://twitter.com/ladygaga/status/266036172122365952<|eor|><|sor|>Guess the marketing is working, I never would have checked on her Twitter if it wasn't insane.<|eor|><|eols|><|endoftext|> | 144 |
programmerhumor | CdRReddit | i15ji3i | <|sols|><|sot|>Gaga DB<|eot|><|sol|>https://i.redd.it/nz343rp484o81.jpg<|eol|><|sor|>Did you know if you post your private key reddit automatically hides the value? Try it out yourself
-----BEGIN RSA PRIVATE KEY-----
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
-----END RSA PRIVATE KEY-----<|eor|><|sor|>Oh really, let me try mine:
-----BEGIN RSA PRIVATE KEY-----
Hshdhfj$6_djxhdh737474&fhfhfhcmHunter2hchdhdhskaixbchzjchfhHunter2+63646474'+++
-----END RSA PRIVATE KEY------<|eor|><|sor|>-----BEGIN RSA PRIVATE KEY-----
dQw4w9WgXcQ
-----END RSA PRIVATE KEY-----<|eor|><|eols|><|endoftext|> | 107 |
programmerhumor | The_Rogue_Coder | i15ymbk | <|sols|><|sot|>Gaga DB<|eot|><|sol|>https://i.redd.it/nz343rp484o81.jpg<|eol|><|sor|>Did you know if you post your private key reddit automatically hides the value? Try it out yourself
-----BEGIN RSA PRIVATE KEY-----
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*
-----END RSA PRIVATE KEY-----<|eor|><|sor|>Oh really, let me try mine:
-----BEGIN RSA PRIVATE KEY-----
Hshdhfj$6_djxhdh737474&fhfhfhcmHunter2hchdhdhskaixbchzjchfhHunter2+63646474'+++
-----END RSA PRIVATE KEY------<|eor|><|sor|>-----BEGIN RSA PRIVATE KEY-----
dQw4w9WgXcQ
-----END RSA PRIVATE KEY-----<|eor|><|sor|>If you recognize the YouTube link every time you see it, do you truly avoid getting Rickrolled, or are you just skipping the video only to imagine it in your head anyway?<|eor|><|eols|><|endoftext|> | 99 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.