subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programminghorror | TheGhostOfInky | isixomn | <|sols|><|sot|>If only a method would exists that solves that problem for you....<|eot|><|sol|>https://i.redd.it/0wak40c1x4u91.jpg<|eol|><|sor|>Why is this tagged as C? Pretty sure this is Java or a similar language.<|eor|><|eols|><|endoftext|> | 200 |
programminghorror | billy_tables | isjc3jj | <|sols|><|sot|>If only a method would exists that solves that problem for you....<|eot|><|sol|>https://i.redd.it/0wak40c1x4u91.jpg<|eol|><|sor|>But you are missing that with this code you are now able to do:
private static int exactStringSize(String s){
int exactSize = 0;
for (int i = 0; i < ... | 166 |
programminghorror | dexter3player | isjpryw | <|sols|><|sot|>If only a method would exists that solves that problem for you....<|eot|><|sol|>https://i.redd.it/0wak40c1x4u91.jpg<|eol|><|sor|>But you are missing that with this code you are now able to do:
private static int exactStringSize(String s){
int exactSize = 0;
for (int i = 0; i < ... | 92 |
programminghorror | R3D3-1 | isix4z2 | <|sols|><|sot|>If only a method would exists that solves that problem for you....<|eot|><|sol|>https://i.redd.it/0wak40c1x4u91.jpg<|eol|><|sor|>I am afraid to ask, but given the title I have to:
Is that real code actually being used somewhere?<|eor|><|eols|><|endoftext|> | 68 |
programminghorror | Randolpho | isjvzdd | <|sols|><|sot|>If only a method would exists that solves that problem for you....<|eot|><|sol|>https://i.redd.it/0wak40c1x4u91.jpg<|eol|><|sor|>Why is this tagged as C? Pretty sure this is Java or a similar language.<|eor|><|sor|>Definitely Java.<|eor|><|eols|><|endoftext|> | 47 |
programminghorror | TheGhostOfInky | isjs6iq | <|sols|><|sot|>If only a method would exists that solves that problem for you....<|eot|><|sol|>https://i.redd.it/0wak40c1x4u91.jpg<|eol|><|sor|>Why is this tagged as C? Pretty sure this is Java or a similar language.<|eor|><|sor|>[deleted]<|eor|><|sor|>True, it is syntactically valid C# code although in C# `Length` of ... | 47 |
programminghorror | TARN4T1ON | isjaixa | <|sols|><|sot|>If only a method would exists that solves that problem for you....<|eot|><|sol|>https://i.redd.it/0wak40c1x4u91.jpg<|eol|><|sor|>Why is this tagged as C? Pretty sure this is Java or a similar language.<|eor|><|sor|>I think your right, but from what tiny bit of C Ive learned from one of my classes this se... | 46 |
programminghorror | droi86 | isjc137 | <|sols|><|sot|>If only a method would exists that solves that problem for you....<|eot|><|sol|>https://i.redd.it/0wak40c1x4u91.jpg<|eol|><|sor|>I love the fact that the dude is using string.lenght() inside his length calculating method<|eor|><|eols|><|endoftext|> | 44 |
programminghorror | Paulus_1 | isj002n | <|sols|><|sot|>If only a method would exists that solves that problem for you....<|eot|><|sol|>https://i.redd.it/0wak40c1x4u91.jpg<|eol|><|sor|>Dudes getting paid by the quantity of lines of code.<|eor|><|eols|><|endoftext|> | 40 |
programminghorror | SoBoredAtWork | isjhug7 | <|sols|><|sot|>If only a method would exists that solves that problem for you....<|eot|><|sol|>https://i.redd.it/0wak40c1x4u91.jpg<|eol|><|sor|>I am afraid to ask, but given the title I have to:
Is that real code actually being used somewhere?<|eor|><|sor|>I could see it being an interview question... From scratch, wi... | 36 |
programminghorror | nthai | isk6arx | <|sols|><|sot|>If only a method would exists that solves that problem for you....<|eot|><|sol|>https://i.redd.it/0wak40c1x4u91.jpg<|eol|><|sor|>But you are missing that with this code you are now able to do:
private static int exactStringSize(String s){
int exactSize = 0;
for (int i = 0; i < ... | 35 |
programminghorror | yxcv42 | isjgez3 | <|sols|><|sot|>If only a method would exists that solves that problem for you....<|eot|><|sol|>https://i.redd.it/0wak40c1x4u91.jpg<|eol|><|sor|>I am afraid to ask, but given the title I have to:
Is that real code actually being used somewhere?<|eor|><|sor|>I could see it being an interview question... From scratch, wi... | 35 |
programminghorror | TomerHorowitz | isj1va2 | <|sols|><|sot|>If only a method would exists that solves that problem for you....<|eot|><|sol|>https://i.redd.it/0wak40c1x4u91.jpg<|eol|><|sor|>Why is this tagged as C? Pretty sure this is Java or a similar language.<|eor|><|sor|>Its java but im pretty sure thats the way you do it in C
Upd: why the downvotes? I know i... | 34 |
programminghorror | BlobAndHisBoy | isk22g1 | <|sols|><|sot|>If only a method would exists that solves that problem for you....<|eot|><|sol|>https://i.redd.it/0wak40c1x4u91.jpg<|eol|><|sor|>Turned an O(1) function into O(n)<|eor|><|eols|><|endoftext|> | 29 |
programminghorror | dexter3player | isjt0dd | <|sols|><|sot|>If only a method would exists that solves that problem for you....<|eot|><|sol|>https://i.redd.it/0wak40c1x4u91.jpg<|eol|><|sor|>Now make it recursive<|eor|><|sor|>```
private static int stringLength (String s) {
if (s.equals("")) return 0;
else return 1 + stringLength(s.substring(1));
}
```
Tbh... | 27 |
programminghorror | user32532 | isjb4kr | <|sols|><|sot|>If only a method would exists that solves that problem for you....<|eot|><|sol|>https://i.redd.it/0wak40c1x4u91.jpg<|eol|><|sor|>But you are missing that with this code you are now able to do:
private static int exactStringSize(String s){
int exactSize = 0;
for (int i = 0; i < ... | 25 |
programminghorror | Protane | faoxye | <|sols|><|sot|>How to find if a number is even without the mod operator..<|eot|><|sol|>https://i.redd.it/8ms4nypoblj41.png<|eol|><|eols|><|endoftext|> | 2,439 |
programminghorror | 5thProgrammer | fizmzy2 | <|sols|><|sot|>How to find if a number is even without the mod operator..<|eot|><|sol|>https://i.redd.it/8ms4nypoblj41.png<|eol|><|sor|>Awful yes, but Im mystified by how creative this is<|eor|><|eols|><|endoftext|> | 763 |
programminghorror | Fuzzyzilla | fizojv4 | <|sols|><|sot|>How to find if a number is even without the mod operator..<|eot|><|sol|>https://i.redd.it/8ms4nypoblj41.png<|eol|><|sor|>If you don't have the mod operator, you can do:
return n / 2 == (n + 1) / 2;<|eor|><|sor|>even simpler:
return n & 1 == 0;<|eor|><|eols|><|endoftext|> | 400 |
programminghorror | Boiethios | fiznz2m | <|sols|><|sot|>How to find if a number is even without the mod operator..<|eot|><|sol|>https://i.redd.it/8ms4nypoblj41.png<|eol|><|sor|>If you don't have the mod operator, you can do:
return n / 2 == (n + 1) / 2;<|eor|><|eols|><|endoftext|> | 273 |
programminghorror | _NTOTL_ | fizoopa | <|sols|><|sot|>How to find if a number is even without the mod operator..<|eot|><|sol|>https://i.redd.it/8ms4nypoblj41.png<|eol|><|sor|>If you don't have the mod operator, you can do:
return n / 2 == (n + 1) / 2;<|eor|><|sor|>even simpler:
return n & 1 == 0;<|eor|><|sor|>Yes, the bitwise and operator is the s... | 197 |
programminghorror | Protane | fiznt25 | <|sols|><|sot|>How to find if a number is even without the mod operator..<|eot|><|sol|>https://i.redd.it/8ms4nypoblj41.png<|eol|><|sor|>Awful yes, but Im mystified by how creative this is<|eor|><|soopr|>Thanks<|eoopr|><|eols|><|endoftext|> | 145 |
programminghorror | baturkey | fizkv79 | <|sols|><|sot|>How to find if a number is even without the mod operator..<|eot|><|sol|>https://i.redd.it/8ms4nypoblj41.png<|eol|><|sor|>"Make up your damn mind!"
- the out variable<|eor|><|eols|><|endoftext|> | 120 |
programminghorror | AsidK | fizxjt6 | <|sols|><|sot|>How to find if a number is even without the mod operator..<|eot|><|sol|>https://i.redd.it/8ms4nypoblj41.png<|eol|><|sor|>If you don't have the mod operator, you can do:
return n / 2 == (n + 1) / 2;<|eor|><|sor|>even simpler:
return n & 1 == 0;<|eor|><|sor|>Yes, the bitwise and operator is the s... | 108 |
programminghorror | svens_ | fj00l2q | <|sols|><|sot|>How to find if a number is even without the mod operator..<|eot|><|sol|>https://i.redd.it/8ms4nypoblj41.png<|eol|><|sor|>If you don't have the mod operator, you can do:
return n / 2 == (n + 1) / 2;<|eor|><|sor|>even simpler:
return n & 1 == 0;<|eor|><|sor|>Yes, the bitwise and operator is the s... | 108 |
programminghorror | Qubit99 | fj0j0tp | <|sols|><|sot|>How to find if a number is even without the mod operator..<|eot|><|sol|>https://i.redd.it/8ms4nypoblj41.png<|eol|><|sor|>Awful yes, but Im mystified by how creative this is<|eor|><|sor|>I was thinking the same thing. It's ugly and interesting at the same time, some weird dual state<|eor|><|eols|><|endoft... | 102 |
programminghorror | Urio_Badapple | fizqqn0 | <|sols|><|sot|>How to find if a number is even without the mod operator..<|eot|><|sol|>https://i.redd.it/8ms4nypoblj41.png<|eol|><|sor|>If you don't have the mod operator, you can do:
return n / 2 == (n + 1) / 2;<|eor|><|sor|>even simpler:
return n & 1 == 0;<|eor|><|sor|>And that even works without the abs<|e... | 76 |
programminghorror | Aobachi | fj0nght | <|sols|><|sot|>How to find if a number is even without the mod operator..<|eot|><|sol|>https://i.redd.it/8ms4nypoblj41.png<|eol|><|sor|>Awful yes, but Im mystified by how creative this is<|eor|><|sor|>It solves the problem in linear time!<|eor|><|eols|><|endoftext|> | 62 |
programminghorror | Artyer | fj04d7x | <|sols|><|sot|>How to find if a number is even without the mod operator..<|eot|><|sol|>https://i.redd.it/8ms4nypoblj41.png<|eol|><|sor|>If you don't have the mod operator, you can do:
return n / 2 == (n + 1) / 2;<|eor|><|sor|>even simpler:
return n & 1 == 0;<|eor|><|sor|>Yes, the bitwise and operator is the s... | 55 |
programminghorror | Objective-Answer | fizq7x0 | <|sols|><|sot|>How to find if a number is even without the mod operator..<|eot|><|sol|>https://i.redd.it/8ms4nypoblj41.png<|eol|><|sor|>I mean, it's unnecessarily complex but really inventive<|eor|><|eols|><|endoftext|> | 51 |
programminghorror | Boiethios | fizoz3g | <|sols|><|sot|>How to find if a number is even without the mod operator..<|eot|><|sol|>https://i.redd.it/8ms4nypoblj41.png<|eol|><|sor|>If you don't have the mod operator, you can do:
return n / 2 == (n + 1) / 2;<|eor|><|sor|>even simpler:
return n & 1 == 0;<|eor|><|sor|>And that even works without the abs<|e... | 45 |
programminghorror | no_ragrats | fizqwz8 | <|sols|><|sot|>How to find if a number is even without the mod operator..<|eot|><|sol|>https://i.redd.it/8ms4nypoblj41.png<|eol|><|sor|>"Make up your damn mind!"
- the out variable<|eor|><|sor|>Pretty sure that method is having the sex<|eor|><|eols|><|endoftext|> | 41 |
programminghorror | Fuzzyzilla | fizozx2 | <|sols|><|sot|>How to find if a number is even without the mod operator..<|eot|><|sol|>https://i.redd.it/8ms4nypoblj41.png<|eol|><|sor|>If you don't have the mod operator, you can do:
return n / 2 == (n + 1) / 2;<|eor|><|sor|>even simpler:
return n & 1 == 0;<|eor|><|sor|>is this similar to the modulus operato... | 39 |
programminghorror | iggyvolz | fizqrlq | <|sols|><|sot|>How to find if a number is even without the mod operator..<|eot|><|sol|>https://i.redd.it/8ms4nypoblj41.png<|eol|><|sor|>if(n<0) return isEven(0-n);
if(n == 0) return true;
if(n == 1) return false;
return isEven(n-2);<|eor|><|eols|><|endoftext|> | 36 |
programminghorror | 1thief | fizwcfd | <|sols|><|sot|>How to find if a number is even without the mod operator..<|eot|><|sol|>https://i.redd.it/8ms4nypoblj41.png<|eol|><|sor|>Pfft amateur. Obviously you start n number of threads all sharing access to the out variable, where you initialize each thread alternatingly to change out to true or false respectively... | 32 |
programminghorror | stevethedev | fizom2g | <|sols|><|sot|>How to find if a number is even without the mod operator..<|eot|><|sol|>https://i.redd.it/8ms4nypoblj41.png<|eol|><|sor|>If you don't have the mod operator, you can do:
return n / 2 == (n + 1) / 2;<|eor|><|sor|>You can also check the last bit of the integer.
`return (n & 1) == 0;`<|eor|><|eols|><|e... | 32 |
programminghorror | DaDerpGoat | wbxdzt | <|sols|><|sot|>the final boss of collision checks<|eot|><|sol|>https://v.redd.it/ani58jmazqe91<|eol|><|eols|><|endoftext|> | 2,435 |
programminghorror | _PM_ME_PANGOLINS_ | ii9nqvv | <|sols|><|sot|>the final boss of collision checks<|eot|><|sol|>https://v.redd.it/ani58jmazqe91<|eol|><|sor|>Transcription:
74 |
75 |
76 + #region collision
15627 |
15628 |<|eor|><|eols|><|endoftext|> | 342 |
programminghorror | KennyBassett | ii9bq0x | <|sols|><|sot|>the final boss of collision checks<|eot|><|sol|>https://v.redd.it/ani58jmazqe91<|eol|><|sor|>That's a lot of lines<|eor|><|eols|><|endoftext|> | 230 |
programminghorror | qqqrrrs_ | ii9mhvb | <|sols|><|sot|>the final boss of collision checks<|eot|><|sol|>https://v.redd.it/ani58jmazqe91<|eol|><|sor|>Why a video if the picture does not change<|eor|><|eols|><|endoftext|> | 218 |
programminghorror | vancity- | ii9p9eb | <|sols|><|sot|>the final boss of collision checks<|eot|><|sol|>https://v.redd.it/ani58jmazqe91<|eol|><|sor|>Transcription:
74 |
75 |
76 + #region collision
15627 |
15628 |<|eor|><|sor|>+ boss music<|eor|><|eols|><|endoftext|> | 178 |
programminghorror | OtroMasDeSistemas | ii9yzre | <|sols|><|sot|>the final boss of collision checks<|eot|><|sol|>https://v.redd.it/ani58jmazqe91<|eol|><|sor|>The legend says the IDE, after clicking on that +, is still loading the code.<|eor|><|eols|><|endoftext|> | 166 |
programminghorror | 5thProgrammer | ii9mnee | <|sols|><|sot|>the final boss of collision checks<|eot|><|sol|>https://v.redd.it/ani58jmazqe91<|eol|><|sor|>Why a video if the picture does not change<|eor|><|sor|>Music<|eor|><|eols|><|endoftext|> | 132 |
programminghorror | Thenderick | ii9pmp7 | <|sols|><|sot|>the final boss of collision checks<|eot|><|sol|>https://v.redd.it/ani58jmazqe91<|eol|><|sor|>What... Do the lines contain...<|eor|><|eols|><|endoftext|> | 89 |
programminghorror | grayjacanda | ii9sfkc | <|sols|><|sot|>the final boss of collision checks<|eot|><|sol|>https://v.redd.it/ani58jmazqe91<|eol|><|sor|>What... Do the lines contain...<|eor|><|sor|>A collision. Somewhere in a novella's worth of code.<|eor|><|eols|><|endoftext|> | 80 |
programminghorror | imnottechsupport | ii9sfjv | <|sols|><|sot|>the final boss of collision checks<|eot|><|sol|>https://v.redd.it/ani58jmazqe91<|eol|><|sor|>Transcription:
74 |
75 |
76 + #region collision
15627 |
15628 |<|eor|><|sor|>+ boss music<|eor|><|sor|>One-Winged Angel from the end of Final Fantasy VII<|eor|><|eols|><|en... | 57 |
programminghorror | Thobiex | iia0nfj | <|sols|><|sot|>the final boss of collision checks<|eot|><|sol|>https://v.redd.it/ani58jmazqe91<|eol|><|sor|>Why a video if the picture does not change<|eor|><|sor|>Music<|eor|><|sor|>What music<|eor|><|sor|>One-Winged Angel from Final Fantasy VII apparently<|eor|><|eols|><|endoftext|> | 53 |
programminghorror | NotASucker | iiah730 | <|sols|><|sot|>the final boss of collision checks<|eot|><|sol|>https://v.redd.it/ani58jmazqe91<|eol|><|sor|>What... Do the lines contain...<|eor|><|sor|>A twelve thousand line template, 10 lines of obscure syntax code, and 2000 lines of comments that are out of date<|eor|><|eols|><|endoftext|> | 47 |
programminghorror | ludonope | iibja9g | <|sols|><|sot|>the final boss of collision checks<|eot|><|sol|>https://v.redd.it/ani58jmazqe91<|eol|><|sor|>That's a lot of lines<|eor|><|sor|>That's a lot of frames<|eor|><|eols|><|endoftext|> | 36 |
programminghorror | SirJamesMonster | ii9hf15 | <|sols|><|sot|>the final boss of collision checks<|eot|><|sol|>https://v.redd.it/ani58jmazqe91<|eol|><|sor|>Nope. Not watching that. I choose to preserve what's left of my sanity.<|eor|><|eols|><|endoftext|> | 26 |
programminghorror | IAmAnIssue | iia0yyy | <|sols|><|sot|>the final boss of collision checks<|eot|><|sol|>https://v.redd.it/ani58jmazqe91<|eol|><|sor|>If this is gamemaker, probably accurate<|eor|><|eols|><|endoftext|> | 24 |
programminghorror | mcmc331 | iib2lul | <|sols|><|sot|>the final boss of collision checks<|eot|><|sol|>https://v.redd.it/ani58jmazqe91<|eol|><|sor|>i get it, they're hardcoding all colisions in the game to get O(1) efficiency.<|eor|><|eols|><|endoftext|> | 22 |
programminghorror | WJMazepas | ii9sqp6 | <|sols|><|sot|>the final boss of collision checks<|eot|><|sol|>https://v.redd.it/ani58jmazqe91<|eol|><|sor|>Transcription:
74 |
75 |
76 + #region collision
15627 |
15628 |<|eor|><|sor|>+ boss music<|eor|><|sor|>One-Winged Angel from the end of Final Fantasy VII<|eor|><|sor|>Final... | 19 |
programminghorror | freak_dessert2 | iiaigz4 | <|sols|><|sot|>the final boss of collision checks<|eot|><|sol|>https://v.redd.it/ani58jmazqe91<|eol|><|sor|>Why a video if the picture does not change<|eor|><|sor|>Music<|eor|><|sor|>What music<|eor|><|sor|>One-Winged Angel from Final Fantasy VII apparently<|eor|><|sor|>Thanks, gotta love reddit video player not playin... | 19 |
programminghorror | Kasmyr | ii9juyn | <|sols|><|sot|>the final boss of collision checks<|eot|><|sol|>https://v.redd.it/ani58jmazqe91<|eol|><|sor|>Couple of lines<|eor|><|eols|><|endoftext|> | 18 |
programminghorror | saintpetejackboy | iic20a6 | <|sols|><|sot|>the final boss of collision checks<|eot|><|sol|>https://v.redd.it/ani58jmazqe91<|eol|><|sor|>What... Do the lines contain...<|eor|><|sor|>A twelve thousand line template, 10 lines of obscure syntax code, and 2000 lines of comments that are out of date<|eor|><|sor|>Ah, yes. The comments from the "old" col... | 18 |
programminghorror | LoretheproRDT | pv6hxe | <|sols|><|sot|>I love recursive errors!<|eot|><|sol|>https://i.redd.it/3t59sprofnp71.jpg<|eol|><|eols|><|endoftext|> | 2,412 |
programminghorror | Osr0 | he8gwid | <|sols|><|sot|>I love recursive errors!<|eot|><|sol|>https://i.redd.it/3t59sprofnp71.jpg<|eol|><|sor|>Yo chief, looks like your full name is being displayed in a path near the top of this.<|eor|><|eols|><|endoftext|> | 266 |
programminghorror | LoretheproRDT | he8i7fy | <|sols|><|sot|>I love recursive errors!<|eot|><|sol|>https://i.redd.it/3t59sprofnp71.jpg<|eol|><|sor|>Yo chief, looks like your full name is being displayed in a path near the top of this.<|eor|><|soopr|>I know, I don't really care tbh<|eoopr|><|soopr|>Thank you for letting me know though<|eoopr|><|eols|><|endoftext|> | 157 |
programminghorror | LoretheproRDT | he8i1tm | <|sols|><|sot|>I love recursive errors!<|eot|><|sol|>https://i.redd.it/3t59sprofnp71.jpg<|eol|><|sor|>Yo chief, looks like your full name is being displayed in a path near the top of this.<|eor|><|soopr|>I know, I don't really care tbh<|eoopr|><|eols|><|endoftext|> | 153 |
programminghorror | charles-lechair | he83t5t | <|sols|><|sot|>I love recursive errors!<|eot|><|sol|>https://i.redd.it/3t59sprofnp71.jpg<|eol|><|sor|>Any chance youre like 8 feet tall? Because thats one giant ass display<|eor|><|eols|><|endoftext|> | 140 |
programminghorror | LoretheproRDT | headewc | <|sols|><|sot|>I love recursive errors!<|eot|><|sol|>https://i.redd.it/3t59sprofnp71.jpg<|eol|><|sor|>Yo chief, looks like your full name is being displayed in a path near the top of this.<|eor|><|soopr|>I know, I don't really care tbh<|eoopr|><|sor|>I care.<|eor|><|soopr|>Why?<|eoopr|><|sor|>Because you deserve it<|eo... | 99 |
programminghorror | mjacobson7 | he951jt | <|sols|><|sot|>I love recursive errors!<|eot|><|sol|>https://i.redd.it/3t59sprofnp71.jpg<|eol|><|sor|>Yo chief, looks like your full name is being displayed in a path near the top of this.<|eor|><|soopr|>I know, I don't really care tbh<|eoopr|><|sor|>I care.<|eor|><|soopr|>Why?<|eoopr|><|sor|>Because you deserve it<|eo... | 94 |
programminghorror | deadbeef1a4 | he8gwux | <|sols|><|sot|>I love recursive errors!<|eot|><|sol|>https://i.redd.it/3t59sprofnp71.jpg<|eol|><|sor|>I think you might have an npm error<|eor|><|eols|><|endoftext|> | 80 |
programminghorror | LoretheproRDT | he95ryq | <|sols|><|sot|>I love recursive errors!<|eot|><|sol|>https://i.redd.it/3t59sprofnp71.jpg<|eol|><|sor|>Yo chief, looks like your full name is being displayed in a path near the top of this.<|eor|><|soopr|>I know, I don't really care tbh<|eoopr|><|sor|>I care.<|eor|><|soopr|>Why?<|eoopr|><|sor|>Because you deserve it<|eo... | 73 |
programminghorror | LoretheproRDT | he87l6t | <|sols|><|sot|>I love recursive errors!<|eot|><|sol|>https://i.redd.it/3t59sprofnp71.jpg<|eol|><|sor|>Any chance youre like 8 feet tall? Because thats one giant ass display<|eor|><|soopr|>It looks bigger in the picture. I think it's like 27"<|eoopr|><|eols|><|endoftext|> | 71 |
programminghorror | MacroMonster | hea4qk4 | <|sols|><|sot|>I love recursive errors!<|eot|><|sol|>https://i.redd.it/3t59sprofnp71.jpg<|eol|><|sor|>Yo chief, looks like your full name is being displayed in a path near the top of this.<|eor|><|soopr|>I know, I don't really care tbh<|eoopr|><|sor|>I care.<|eor|><|soopr|>Why?<|eoopr|><|sor|>Because you deserve it<|eo... | 71 |
programminghorror | mjacobson7 | he948v7 | <|sols|><|sot|>I love recursive errors!<|eot|><|sol|>https://i.redd.it/3t59sprofnp71.jpg<|eol|><|sor|>Yo chief, looks like your full name is being displayed in a path near the top of this.<|eor|><|soopr|>I know, I don't really care tbh<|eoopr|><|sor|>I care.<|eor|><|eols|><|endoftext|> | 68 |
programminghorror | LoretheproRDT | he94uqb | <|sols|><|sot|>I love recursive errors!<|eot|><|sol|>https://i.redd.it/3t59sprofnp71.jpg<|eol|><|sor|>Yo chief, looks like your full name is being displayed in a path near the top of this.<|eor|><|soopr|>I know, I don't really care tbh<|eoopr|><|sor|>I care.<|eor|><|soopr|>Why?<|eoopr|><|eols|><|endoftext|> | 53 |
programminghorror | Michaelz35699 | heasgoh | <|sols|><|sot|>I love recursive errors!<|eot|><|sol|>https://i.redd.it/3t59sprofnp71.jpg<|eol|><|soopr|>I know, I don't really care tbh<|eoopr|><|sor|>I care.<|eor|><|soopr|>Why?<|eoopr|><|sor|>Because you deserve it<|eor|><|soopr|>I'll take this as a compliment<|eoopr|><|sor|>Really? You shouldn't ... it took all of 1... | 46 |
programminghorror | nuclear_gandhii | he7xq0c | <|sols|><|sot|>I love recursive errors!<|eot|><|sol|>https://i.redd.it/3t59sprofnp71.jpg<|eol|><|sor|>Looking at this picture I have to ask, I got a second monitor for my setup, I originally had both of them horizontally which made it so that I had to bend my neck a bit too much to look at the end of the secondary moni... | 42 |
programminghorror | LoretheproRDT | he8i8vb | <|sols|><|sot|>I love recursive errors!<|eot|><|sol|>https://i.redd.it/3t59sprofnp71.jpg<|eol|><|sor|>I think you might have an npm error<|eor|><|soopr|>I think you might be right<|eoopr|><|eols|><|endoftext|> | 38 |
programminghorror | LoretheproRDT | he7ybks | <|sols|><|sot|>I love recursive errors!<|eot|><|sol|>https://i.redd.it/3t59sprofnp71.jpg<|eol|><|sor|>Looking at this picture I have to ask, I got a second monitor for my setup, I originally had both of them horizontally which made it so that I had to bend my neck a bit too much to look at the end of the secondary moni... | 38 |
programminghorror | Osr0 | he8sa37 | <|sols|><|sot|>I love recursive errors!<|eot|><|sol|>https://i.redd.it/3t59sprofnp71.jpg<|eol|><|sor|>Yo chief, looks like your full name is being displayed in a path near the top of this.<|eor|><|sor|>[deleted]<|eor|><|sor|>You're right. I see the first instance and stopped looking :)<|eor|><|eols|><|endoftext|> | 37 |
programminghorror | charles-lechair | he8eqco | <|sols|><|sot|>I love recursive errors!<|eot|><|sol|>https://i.redd.it/3t59sprofnp71.jpg<|eol|><|sor|>Any chance youre like 8 feet tall? Because thats one giant ass display<|eor|><|soopr|>It looks bigger in the picture. I think it's like 27"<|eoopr|><|sor|>Yeah that makes sense. I use a 22 horizontally and 15 laptop di... | 31 |
programminghorror | deadbeef1a4 | he8orvw | <|sols|><|sot|>I love recursive errors!<|eot|><|sol|>https://i.redd.it/3t59sprofnp71.jpg<|eol|><|sor|>I think you might have an npm error<|eor|><|sor|>What makes you say that?<|eor|><|sor|>Just a hunch<|eor|><|eols|><|endoftext|> | 25 |
programminghorror | it-was-walpole | ibynwj | <|sols|><|sot|>Oh the Horror<|eot|><|sol|>https://i.redd.it/n3m808bvpqh51.png<|eol|><|eols|><|endoftext|> | 2,408 |
programminghorror | SuperForever | g1z051p | <|sols|><|sot|>Oh the Horror<|eot|><|sol|>https://i.redd.it/n3m808bvpqh51.png<|eol|><|sor|>Python: I need idents!
C: I need semicols
Presenting you: C-Painthon, needs idents and semicols<|eor|><|eols|><|endoftext|> | 648 |
programminghorror | WhatForIamHere | g1yybx0 | <|sols|><|sot|>Oh the Horror<|eot|><|sol|>https://i.redd.it/n3m808bvpqh51.png<|eol|><|sor|>Why it's horror? It's should be in humor. Horror it's for phytonists only. ))<|eor|><|eols|><|endoftext|> | 160 |
programminghorror | 0x564A00 | g1z3p93 | <|sols|><|sot|>Oh the Horror<|eot|><|sol|>https://i.redd.it/n3m808bvpqh51.png<|eol|><|sor|> #define print(x) _Generic((x), \
long long: printf("%ld", x);,\
unsigned long long: printf("%lu", x);,\
float: printf("%f", x);,\
char: printf("%c", x);,... | 117 |
programminghorror | qh4os | g1z0tb8 | <|sols|><|sot|>Oh the Horror<|eot|><|sol|>https://i.redd.it/n3m808bvpqh51.png<|eol|><|sor|>Python: I need idents!
C: I need semicols
Presenting you: C-Painthon, needs idents and semicols<|eor|><|sor|>I like the lack of ambiguity when you consistently put semicolons, which you can do in python if you wanted to<|eor|><... | 96 |
programminghorror | qh4os | g1z4584 | <|sols|><|sot|>Oh the Horror<|eot|><|sol|>https://i.redd.it/n3m808bvpqh51.png<|eol|><|sor|>Python: I need idents!
C: I need semicols
Presenting you: C-Painthon, needs idents and semicols<|eor|><|sor|>I like the lack of ambiguity when you consistently put semicolons, which you can do in python if you wanted to<|eor|><... | 92 |
programminghorror | WheresTheSauce | g1z8e6u | <|sols|><|sot|>Oh the Horror<|eot|><|sol|>https://i.redd.it/n3m808bvpqh51.png<|eol|><|sor|>Python: I need idents!
C: I need semicols
Presenting you: C-Painthon, needs idents and semicols<|eor|><|sor|>I like the lack of ambiguity when you consistently put semicolons, which you can do in python if you wanted to<|eor|><... | 76 |
programminghorror | Fezzio | g1z3b5j | <|sols|><|sot|>Oh the Horror<|eot|><|sol|>https://i.redd.it/n3m808bvpqh51.png<|eol|><|sor|>The horror in this post here officer stands in the fact it is a sort of mix between C, python and ms-bash (because of the do at the end of for Loop)
Conclusion: please arrest him Officer.<|eor|><|eols|><|endoftext|> | 75 |
programminghorror | gwoplock | g1z03mv | <|sols|><|sot|>Oh the Horror<|eot|><|sol|>https://i.redd.it/n3m808bvpqh51.png<|eol|><|sor|>A few things.
1: from what i know of python, you need a : at the end of the for loop, not a do.
2: where the fuck are the curly braces? This won't compile without em<|eor|><|sor|>You dont need curly braces on single line block... | 59 |
programminghorror | elperroborrachotoo | g1z42uf | <|sols|><|sot|>Oh the Horror<|eot|><|sol|>https://i.redd.it/n3m808bvpqh51.png<|eol|><|sor|>Why it's horror? It's should be in humor. Horror it's for phytonists only. ))<|eor|><|sor|>And everyone knows they are scripters, not programmers!!!
*ducks*<|eor|><|eols|><|endoftext|> | 56 |
programminghorror | mcniac | g1z0m5h | <|sols|><|sot|>Oh the Horror<|eot|><|sol|>https://i.redd.it/n3m808bvpqh51.png<|eol|><|sor|>We trolled a friend years ago by adding a
#define a x
As part of a program he was working on. Took him quite a while to realize why was it no working <|eor|><|eols|><|endoftext|> | 44 |
programminghorror | inxaneninja | g1ywnv7 | <|sols|><|sot|>Oh the Horror<|eot|><|sol|>https://i.redd.it/n3m808bvpqh51.png<|eol|><|sor|>it's not even that bad, compiles to the same thing and is only just style, that being said though if you're working with a team this isn't good<|eor|><|eols|><|endoftext|> | 43 |
programminghorror | shinitakunai | g1z3psm | <|sols|><|sot|>Oh the Horror<|eot|><|sol|>https://i.redd.it/n3m808bvpqh51.png<|eol|><|sor|>Python: I need idents!
C: I need semicols
Presenting you: C-Painthon, needs idents and semicols<|eor|><|sor|>I like the lack of ambiguity when you consistently put semicolons, which you can do in python if you wanted to<|eor|><... | 39 |
programminghorror | cherry_professional | g1z7lfd | <|sols|><|sot|>Oh the Horror<|eot|><|sol|>https://i.redd.it/n3m808bvpqh51.png<|eol|><|sor|> #define print(x) _Generic((x), \
long long: printf("%ld", x);,\
unsigned long long: printf("%lu", x);,\
float: printf("%f", x);,\
char: printf("%c", x);,... | 38 |
programminghorror | qh4os | g1z6fmt | <|sols|><|sot|>Oh the Horror<|eot|><|sol|>https://i.redd.it/n3m808bvpqh51.png<|eol|><|sor|>Python: I need idents!
C: I need semicols
Presenting you: C-Painthon, needs idents and semicols<|eor|><|sor|>I like the lack of ambiguity when you consistently put semicolons, which you can do in python if you wanted to<|eor|><... | 32 |
programminghorror | Dachannien | g20iw53 | <|sols|><|sot|>Oh the Horror<|eot|><|sol|>https://i.redd.it/n3m808bvpqh51.png<|eol|><|sor|>We trolled a friend years ago by adding a
#define a x
As part of a program he was working on. Took him quite a while to realize why was it no working <|eor|><|sor|>There was an old MUD joke that involved something similar.
You... | 29 |
programminghorror | qh4os | g1z19bb | <|sols|><|sot|>Oh the Horror<|eot|><|sol|>https://i.redd.it/n3m808bvpqh51.png<|eol|><|sor|>A few things.
1: from what i know of python, you need a : at the end of the for loop, not a do.
2: where the fuck are the curly braces? This won't compile without em<|eor|><|sor|>You dont need curly braces on single line block... | 29 |
programminghorror | LevelSevenLaserLotus | g1ziwvt | <|sols|><|sot|>Oh the Horror<|eot|><|sol|>https://i.redd.it/n3m808bvpqh51.png<|eol|><|sor|>Python: I need idents!
C: I need semicols
Presenting you: C-Painthon, needs idents and semicols<|eor|><|sor|>I like the lack of ambiguity when you consistently put semicolons, which you can do in python if you wanted to<|eor|><... | 29 |
programminghorror | irqlnotdispatchlevel | g20hin2 | <|sols|><|sot|>Oh the Horror<|eot|><|sol|>https://i.redd.it/n3m808bvpqh51.png<|eol|><|sor|> #define print(x) _Generic((x), \
long long: printf("%ld", x);,\
unsigned long long: printf("%lu", x);,\
float: printf("%f", x);,\
char: printf("%c", x);,... | 28 |
programminghorror | helfiskaw | j7leb9 | <|sols|><|sot|>Got handed this at work. Theres a grand total of three lines of comments on this bad boy<|eot|><|sol|>https://i.redd.it/34vbyor8qxr51.jpg<|eol|><|eols|><|endoftext|> | 2,394 |
programminghorror | helfiskaw | g85irg4 | <|sols|><|sot|>Got handed this at work. Theres a grand total of three lines of comments on this bad boy<|eot|><|sol|>https://i.redd.it/34vbyor8qxr51.jpg<|eol|><|sor|>The three comments say 'this code is self documenting'<|eor|><|soopr|>Almost. One of them is TODO: fix this!! after a 200 line function<|eoopr|><|eols|><|... | 411 |
programminghorror | Daninatore | g85g8wi | <|sols|><|sot|>Got handed this at work. Theres a grand total of three lines of comments on this bad boy<|eot|><|sol|>https://i.redd.it/34vbyor8qxr51.jpg<|eol|><|sor|>I mean thats obv pretty huge but UI programming in Java is a bit bloated imo<|eor|><|eols|><|endoftext|> | 246 |
programminghorror | helfiskaw | g85jj4a | <|sols|><|sot|>Got handed this at work. Theres a grand total of three lines of comments on this bad boy<|eot|><|sol|>https://i.redd.it/34vbyor8qxr51.jpg<|eol|><|sor|>I mean thats obv pretty huge but UI programming in Java is a bit bloated imo<|eor|><|soopr|>Ill be the first to admit Im no expert at java, but surely the... | 153 |
programminghorror | FreeProGamer | g85n8px | <|sols|><|sot|>Got handed this at work. Theres a grand total of three lines of comments on this bad boy<|eot|><|sol|>https://i.redd.it/34vbyor8qxr51.jpg<|eol|><|sor|>I mean thats obv pretty huge but UI programming in Java is a bit bloated imo<|eor|><|soopr|>Ill be the first to admit Im no expert at java, but surely the... | 103 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.