subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programminghorror | cervenit | f7o4i9w | <|sols|><|sot|>Found on facebook<|eot|><|sol|>https://i.redd.it/ud7m23dvh1z31.png<|eol|><|sor|>I ... I ... I just can't. I just can't process how someone could go to the trouble of writing this function, *USING A FUNCTION THAT DOES* **EXACTLY WHAT HE WANTS TO DO** and not realize it...<|eor|><|sor|>Not true, one functi... | 45 |
programminghorror | moonlandings | f7oibau | <|sols|><|sot|>Found on facebook<|eot|><|sol|>https://i.redd.it/ud7m23dvh1z31.png<|eol|><|sor|>I ... I ... I just can't. I just can't process how someone could go to the trouble of writing this function, *USING A FUNCTION THAT DOES* **EXACTLY WHAT HE WANTS TO DO** and not realize it...<|eor|><|sor|>This usually happens... | 45 |
programminghorror | Svizel_pritula | f7nzxcj | <|sols|><|sot|>Found on facebook<|eot|><|sol|>https://i.redd.it/ud7m23dvh1z31.png<|eol|><|sor|> function customerCount() {
var rows = db.execute("SELECT * FROM Customers");
var count = 0;
for (var i=0; i<rows.length; i++) {
count++;
}
return count;
}<|eor|><|sor|>not relevan... | 40 |
programminghorror | Buchacho00 | f7njol9 | <|sols|><|sot|>Found on facebook<|eot|><|sol|>https://i.redd.it/ud7m23dvh1z31.png<|eol|><|sor|>Now I have seen everything. You mean THE facebook? This was in production code?<|eor|><|soopr|>No, I've found on a ironic programming italian facebook post<|eoopr|><|eols|><|endoftext|> | 38 |
programminghorror | reesespike | j1hk3w | <|sols|><|sot|>The most efficient possible use of a 3 monitor setup (scroll)<|eot|><|sol|>https://www.reddit.com/gallery/j1hk3w<|eol|><|eols|><|endoftext|> | 2,538 |
programminghorror | TheSchred | g6zklgi | <|sols|><|sot|>The most efficient possible use of a 3 monitor setup (scroll)<|eot|><|sol|>https://www.reddit.com/gallery/j1hk3w<|eol|><|sor|>Queue the Java class name memes lmao<|eor|><|eols|><|endoftext|> | 282 |
programminghorror | SauteedAppleSauce | g6z9955 | <|sols|><|sot|>The most efficient possible use of a 3 monitor setup (scroll)<|eot|><|sol|>https://www.reddit.com/gallery/j1hk3w<|eol|><|sor|>There is such a confident tone in his "yeah" it's scary.<|eor|><|eols|><|endoftext|> | 185 |
programminghorror | Famous_Profile | g7024ly | <|sols|><|sot|>The most efficient possible use of a 3 monitor setup (scroll)<|eot|><|sol|>https://www.reddit.com/gallery/j1hk3w<|eol|><|sor|>Queue the Java class name memes lmao<|eor|><|sor|> AbstractOverengineeredCrapBuilderFactory.java<|eor|><|eols|><|endoftext|> | 179 |
programminghorror | Famous_Profile | g702awl | <|sols|><|sot|>The most efficient possible use of a 3 monitor setup (scroll)<|eot|><|sol|>https://www.reddit.com/gallery/j1hk3w<|eol|><|sor|>Queue the Java class name memes lmao<|eor|><|sor|> AbstractOverengineeredCrapBuilderFactory.java<|eor|><|sor|>**I found links in your comment that were not hyperlinked:**
* [A... | 148 |
programminghorror | scat234 | g6znsnw | <|sols|><|sot|>The most efficient possible use of a 3 monitor setup (scroll)<|eot|><|sol|>https://www.reddit.com/gallery/j1hk3w<|eol|><|sor|>Turn your font size down for maximum efficiency. That's gonna make your friends really hate you.<|eor|><|eols|><|endoftext|> | 113 |
programminghorror | BimphyRedixler | g6zq93r | <|sols|><|sot|>The most efficient possible use of a 3 monitor setup (scroll)<|eot|><|sol|>https://www.reddit.com/gallery/j1hk3w<|eol|><|sor|>Turn your font size down for maximum efficiency. That's gonna make your friends really hate you.<|eor|><|sor|>^^^I'm ^^^a ^^^programmer!<|eor|><|eols|><|endoftext|> | 78 |
programminghorror | ilivoVovili | g6zypc6 | <|sols|><|sot|>The most efficient possible use of a 3 monitor setup (scroll)<|eot|><|sol|>https://www.reddit.com/gallery/j1hk3w<|eol|><|sor|>What language is this?
The syntax is foreign to me but the keywords remind me of Rust, so I'm guessing some kind of ML dialect.<|eor|><|soopr|>Ocaml<|eoopr|><|sor|>ocaml sounds p... | 61 |
programminghorror | LinkifyBot | g7025fm | <|sols|><|sot|>The most efficient possible use of a 3 monitor setup (scroll)<|eot|><|sol|>https://www.reddit.com/gallery/j1hk3w<|eol|><|sor|>Queue the Java class name memes lmao<|eor|><|sor|> AbstractOverengineeredCrapBuilderFactory.java<|eor|><|sor|>**I found links in your comment that were not hyperlinked:**
* [A... | 58 |
programminghorror | reesespike | g6zqs4k | <|sols|><|sot|>The most efficient possible use of a 3 monitor setup (scroll)<|eot|><|sol|>https://www.reddit.com/gallery/j1hk3w<|eol|><|sor|>What language is this?
The syntax is foreign to me but the keywords remind me of Rust, so I'm guessing some kind of ML dialect.<|eor|><|soopr|>Ocaml<|eoopr|><|eols|><|endoftext|> | 54 |
programminghorror | BertalanD | g6zq6hb | <|sols|><|sot|>The most efficient possible use of a 3 monitor setup (scroll)<|eot|><|sol|>https://www.reddit.com/gallery/j1hk3w<|eol|><|sor|>What language is this?
The syntax is foreign to me but the keywords remind me of Rust, so I'm guessing some kind of ML dialect.<|eor|><|eols|><|endoftext|> | 51 |
programminghorror | Grimtin10 | g70e3pp | <|sols|><|sot|>The most efficient possible use of a 3 monitor setup (scroll)<|eot|><|sol|>https://www.reddit.com/gallery/j1hk3w<|eol|><|sor|>Queue the Java class name memes lmao<|eor|><|sor|> AbstractOverengineeredCrapBuilderFactory.java<|eor|><|sor|>**I found links in your comment that were not hyperlinked:**
* [A... | 45 |
programminghorror | wayzata20 | g6zssrr | <|sols|><|sot|>The most efficient possible use of a 3 monitor setup (scroll)<|eot|><|sol|>https://www.reddit.com/gallery/j1hk3w<|eol|><|sor|>What language is this?
The syntax is foreign to me but the keywords remind me of Rust, so I'm guessing some kind of ML dialect.<|eor|><|soopr|>Ocaml<|eoopr|><|sor|>ocaml sounds p... | 32 |
programminghorror | TheOldTubaroo | g70mc7r | <|sols|><|sot|>The most efficient possible use of a 3 monitor setup (scroll)<|eot|><|sol|>https://www.reddit.com/gallery/j1hk3w<|eol|><|sor|>For some reason I decided to type this all out:
```
let make_row_assoc (hr:bool) (table:string list list) = if hr then let rec assoc_gen (leng:int) (acc:string list) = if leng = ... | 31 |
programminghorror | rangeDSP | g707zd1 | <|sols|><|sot|>The most efficient possible use of a 3 monitor setup (scroll)<|eot|><|sol|>https://www.reddit.com/gallery/j1hk3w<|eol|><|sor|>There is such a confident tone in his "yeah" it's scary.<|eor|><|sor|>Sounds like it's humor, though I honestly can't tell...<|eor|><|eols|><|endoftext|> | 28 |
programminghorror | orangeFluu | g6zt7nn | <|sols|><|sot|>The most efficient possible use of a 3 monitor setup (scroll)<|eot|><|sol|>https://www.reddit.com/gallery/j1hk3w<|eol|><|sor|>What language is this?
The syntax is foreign to me but the keywords remind me of Rust, so I'm guessing some kind of ML dialect.<|eor|><|soopr|>Ocaml<|eoopr|><|sor|>I thought it w... | 27 |
programminghorror | Dachannien | g6zqryz | <|sols|><|sot|>The most efficient possible use of a 3 monitor setup (scroll)<|eot|><|sol|>https://www.reddit.com/gallery/j1hk3w<|eol|><|sor|>The Leeroy Jenkins of programming<|eor|><|eols|><|endoftext|> | 23 |
programminghorror | Lewistrick | g7137kx | <|sols|><|sot|>The most efficient possible use of a 3 monitor setup (scroll)<|eot|><|sol|>https://www.reddit.com/gallery/j1hk3w<|eol|><|sor|>Turn your font size down for maximum efficiency. That's gonna make your friends really hate you.<|eor|><|sor|>^^^I'm ^^^a ^^^programmer!<|eor|><|sor|># What?<|eor|><|eols|><|endof... | 18 |
programminghorror | AttackOfTheThumbs | g6zuir1 | <|sols|><|sot|>The most efficient possible use of a 3 monitor setup (scroll)<|eot|><|sol|>https://www.reddit.com/gallery/j1hk3w<|eol|><|sor|>What language is this?
The syntax is foreign to me but the keywords remind me of Rust, so I'm guessing some kind of ML dialect.<|eor|><|soopr|>Ocaml<|eoopr|><|sor|>ocaml sounds p... | 18 |
programminghorror | Nicolello_iiiii | 10naa0o | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|eols|><|endoftext|> | 2,541 |
programminghorror | theg721 | j67vlqy | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|sor|>Why not:
if (leftd > rightd)
instead of:
if (max(rightd, leftd) == leftd)<|eor|><|eols|><|endoftext|> | 414 |
programminghorror | micro-amnesia | j67vidh | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|sor|>Never let 'em know your next move!<|eor|><|eols|><|endoftext|> | 233 |
programminghorror | jeanbonswaggy | j6805cq | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|sor|>Why not:
if (leftd > rightd)
instead of:
if (max(rightd, leftd) == leftd)<|eor|><|sor|>This is a bigger horror than the actual bug<|eor|><|eols|><|endoftext... | 208 |
programminghorror | nemis16 | j67qgi2 | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|sor|>Copy-paste issues, they happen quite often..<|eor|><|eols|><|endoftext|> | 156 |
programminghorror | btwiusearch | j68bnn2 | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|sor|>Why not:
if (leftd > rightd)
instead of:
if (max(rightd, leftd) == leftd)<|eor|><|sor|>Should be `>=` to get the same functionality.<|eor|><|eols|><|endofte... | 108 |
programminghorror | stevekez | j67x25f | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|sor|>Never let 'em know your next move!<|eor|><|sor|>I think we all know his next move is definitely left.<|eor|><|eols|><|endoftext|> | 80 |
programminghorror | TruthintheBones | j68layv | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|sor|>In the context of software bugs, is there a name for this kind of "wishful printing"?
We just had a problem at work because someone had something like logger.log("Pro... | 46 |
programminghorror | Cikappa2904 | j68a0fz | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|sor|>Why not:
if (leftd > rightd)
instead of:
if (max(rightd, leftd) == leftd)<|eor|><|sor|>bro reinvented the > operator<|eor|><|eols|><|endoftext|> | 44 |
programminghorror | Nicolello_iiiii | j687h1t | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|sor|>Why not:
if (leftd > rightd)
instead of:
if (max(rightd, leftd) == leftd)<|eor|><|soopr|>I dont even know lol<|eoopr|><|eols|><|endoftext|> | 43 |
programminghorror | centurijon | j682t6v | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|sor|>Why not:
if (leftd > rightd)
instead of:
if (max(rightd, leftd) == leftd)<|eor|><|sor|>Never directly compare your Ds<|eor|><|eols|><|endoftext|> | 43 |
programminghorror | lurking_not_working | j67ugrv | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|sor|>Copy-paste issues, they happen quite often..<|eor|><|sor|>Yeah I'd be lying if I said I'd never done this. Usually a rouge false that should be a true or even easier t... | 39 |
programminghorror | theg721 | j68gk4g | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|sor|>Why not:
if (leftd > rightd)
instead of:
if (max(rightd, leftd) == leftd)<|eor|><|sor|>Should be `>=` to get the same functionality.<|eor|><|sor|>Depends on... | 35 |
programminghorror | hamsterrage1 | j68i5g2 | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|sor|>Clearly this is a copy/paste error. This is probably the number one cause of software bugs; take a chunk of code and copy it x times over, then make a crucial change ... | 25 |
programminghorror | Defiant-Peace-493 | j68u0a1 | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|sor|>In the context of software bugs, is there a name for this kind of "wishful printing"?
We just had a problem at work because someone had something like logger.log("Pro... | 24 |
programminghorror | PranshuKhandal | j68msrb | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|sor|>Never let 'em know your next move!<|eor|><|sor|>I think we all know his next move is definitely left.<|eor|><|sor|>But they left the right move.<|eor|><|eols|><|endoft... | 24 |
programminghorror | danger_boi | j67xg6z | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|sor|>Well if you go left enough, youll go right. Approved, we need to get this release out today.<|eor|><|eols|><|endoftext|> | 23 |
programminghorror | jaerie | j68woq9 | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|sor|>Why not:
if (leftd > rightd)
instead of:
if (max(rightd, leftd) == leftd)<|eor|><|sor|>Should be `>=` to get the same functionality.<|eor|><|sor|>Depends on... | 20 |
programminghorror | Dannei | j683rfo | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|sor|>Why not:
if (leftd > rightd)
instead of:
if (max(rightd, leftd) == leftd)<|eor|><|sor|>Also something tells me that leftd and rightd could be booleans<|eor|... | 19 |
programminghorror | Handle-Flaky | j67yv5g | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|sor|>Why not:
if (leftd > rightd)
instead of:
if (max(rightd, leftd) == leftd)<|eor|><|sor|>Also something tells me that leftd and rightd could be booleans<|eor|... | 19 |
programminghorror | z500 | j69wa2w | <|sols|><|sot|>Last years code for an arduino robot. Now I understand why it wasnt working<|eot|><|sol|>https://i.redd.it/hwrzazihesea1.jpg<|eol|><|sor|>Why not:
if (leftd > rightd)
instead of:
if (max(rightd, leftd) == leftd)<|eor|><|soopr|>I dont even know lol<|eoopr|><|sor|>The shit you come up with when ... | 14 |
programminghorror | Trioculu5 | r7wcyi | <|sols|><|sot|>What I'm told to do by my university professor.....<|eot|><|sol|>https://i.redd.it/d0bluhr43b381.png<|eol|><|eols|><|endoftext|> | 2,534 |
programminghorror | Stegoratops | hn2dasn | <|sols|><|sot|>What I'm told to do by my university professor.....<|eot|><|sol|>https://i.redd.it/d0bluhr43b381.png<|eol|><|sor|>The obviously better solution would be:
return user != null ? user : null;
duh...<|eor|><|eols|><|endoftext|> | 741 |
programminghorror | marxist-reaganomics | hn2xuqu | <|sols|><|sot|>What I'm told to do by my university professor.....<|eot|><|sol|>https://i.redd.it/d0bluhr43b381.png<|eol|><|sor|>The obviously better solution would be:
return user != null ? user : null;
duh...<|eor|><|sor|>My professor took off points of you use ternary operators because they're "hard to read".<... | 316 |
programminghorror | i_am_adult_now | hn1yi5q | <|sols|><|sot|>What I'm told to do by my university professor.....<|eot|><|sol|>https://i.redd.it/d0bluhr43b381.png<|eol|><|sor|>[Explicit is better than implicit](https://www.python.org/dev/peps/pep-0020/) taken to the level of redundancy.<|eor|><|eols|><|endoftext|> | 299 |
programminghorror | RedstoneRusty | hn35928 | <|sols|><|sot|>What I'm told to do by my university professor.....<|eot|><|sol|>https://i.redd.it/d0bluhr43b381.png<|eol|><|sor|>The obviously better solution would be:
return user != null ? user : null;
duh...<|eor|><|sor|>My professor took off points of you use ternary operators because they're "hard to read".<... | 211 |
programminghorror | 0xjay | hn2jcqk | <|sols|><|sot|>What I'm told to do by my university professor.....<|eot|><|sol|>https://i.redd.it/d0bluhr43b381.png<|eol|><|sor|>The obviously better solution would be:
return user != null ? user : null;
duh...<|eor|><|sor|>```
return user ? user : null;
```<|eor|><|sor|>`return user ?? null;` <|eor|><|eols|><|en... | 166 |
programminghorror | chockospoko | hn27yr4 | <|sols|><|sot|>What I'm told to do by my university professor.....<|eot|><|sol|>https://i.redd.it/d0bluhr43b381.png<|eol|><|sor|>My university professor roasts me in code comments<|eor|><|eols|><|endoftext|> | 130 |
programminghorror | karan_gauswami | hn2gzkd | <|sols|><|sot|>What I'm told to do by my university professor.....<|eot|><|sol|>https://i.redd.it/d0bluhr43b381.png<|eol|><|sor|>The obviously better solution would be:
return user != null ? user : null;
duh...<|eor|><|sor|>```
return user ? user : null;
```<|eor|><|eols|><|endoftext|> | 114 |
programminghorror | PhoenixPaladin | hn2j7ow | <|sols|><|sot|>What I'm told to do by my university professor.....<|eot|><|sol|>https://i.redd.it/d0bluhr43b381.png<|eol|><|sor|>that explains all the bad code I saw in several repos, if people are taught wrong<|eor|><|sor|>I expect it's probably an freshman introductory programming course, and the professor just wante... | 113 |
programminghorror | northrupthebandgeek | hn488a5 | <|sols|><|sot|>What I'm told to do by my university professor.....<|eot|><|sol|>https://i.redd.it/d0bluhr43b381.png<|eol|><|sor|>The obviously better solution would be:
return user != null ? user : null;
duh...<|eor|><|sor|>My professor took off points of you use ternary operators because they're "hard to read".<... | 91 |
programminghorror | iXombie | hn2sxpz | <|sols|><|sot|>What I'm told to do by my university professor.....<|eot|><|sol|>https://i.redd.it/d0bluhr43b381.png<|eol|><|sor|>[Explicit is better than implicit](https://www.python.org/dev/peps/pep-0020/) taken to the level of redundancy.<|eor|><|sor|>Agreed. Absolutely redundant, but it explicitly acknowledges that ... | 88 |
programminghorror | great_site_not | hn3jzyv | <|sols|><|sot|>What I'm told to do by my university professor.....<|eot|><|sol|>https://i.redd.it/d0bluhr43b381.png<|eol|><|sor|>The obviously better solution would be:
return user != null ? user : null;
duh...<|eor|><|sor|>My professor took off points of you use ternary operators because they're "hard to read".<... | 81 |
programminghorror | TheBigGambling | hn2re5i | <|sols|><|sot|>What I'm told to do by my university professor.....<|eot|><|sol|>https://i.redd.it/d0bluhr43b381.png<|eol|><|sor|>The obviously better solution would be:
return user != null ? user : null;
duh...<|eor|><|sor|>```
return user ? user : null;
```<|eor|><|sor|>`return user ?? null;` <|eor|><|sor|>In wh... | 80 |
programminghorror | artemize | hn2e1ki | <|sols|><|sot|>What I'm told to do by my university professor.....<|eot|><|sol|>https://i.redd.it/d0bluhr43b381.png<|eol|><|sor|>Most professors and other academics are poor programmers outside a very small set of exceptions where the talent pool mostly comes from industry or heavily collaborates with industry / open s... | 72 |
programminghorror | Gloryboy811 | hn31v1v | <|sols|><|sot|>What I'm told to do by my university professor.....<|eot|><|sol|>https://i.redd.it/d0bluhr43b381.png<|eol|><|sor|>The obviously better solution would be:
return user != null ? user : null;
duh...<|eor|><|sor|>umm... no, it's just `return user` - were you being sarcastic? I couldn't tell.<|eor|><|so... | 66 |
programminghorror | RandomDrawingForYa | hn304u1 | <|sols|><|sot|>What I'm told to do by my university professor.....<|eot|><|sol|>https://i.redd.it/d0bluhr43b381.png<|eol|><|sor|>Most professors and other academics are poor programmers outside a very small set of exceptions where the talent pool mostly comes from industry or heavily collaborates with industry / open s... | 66 |
programminghorror | DE8inem | hn2vq6v | <|sols|><|sot|>What I'm told to do by my university professor.....<|eot|><|sol|>https://i.redd.it/d0bluhr43b381.png<|eol|><|sor|>The obviously better solution would be:
return user != null ? user : null;
duh...<|eor|><|sor|>```
return user ? user : null;
```<|eor|><|sor|>`return user ?? null;` <|eor|><|sor|>In wh... | 66 |
programminghorror | Trioculu5 | hn2k5ho | <|sols|><|sot|>What I'm told to do by my university professor.....<|eot|><|sol|>https://i.redd.it/d0bluhr43b381.png<|eol|><|sor|>that explains all the bad code I saw in several repos, if people are taught wrong<|eor|><|sor|>I expect it's probably an freshman introductory programming course, and the professor just wante... | 55 |
programminghorror | rd07-chan | rctjq5 | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|eols|><|endoftext|> | 2,536 |
programminghorror | rd07-chan | hnx1yv0 | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|sor|>Can I get an explanation for these, as someone who doesn't know C#?<|eor|><|soopr|> **Fixed** If you try to use this in your code, then it is likely that you need to be fixed. The fixed keyword is used for pinning. Im not sure ... | 293 |
programminghorror | supersharp | hnx0ljo | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|sor|>Can I get an explanation for these, as someone who doesn't know C#?<|eor|><|eols|><|endoftext|> | 254 |
programminghorror | ChickenF622 | hnx3fu5 | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|sor|>Can I get an explanation for these, as someone who doesn't know C#?<|eor|><|sor|>Here are the MSDN docs for each one. Some of them are for dealing with memory management directly. Some are for dealing with multi-threaded operati... | 209 |
programminghorror | the_pw_is_in_this_ID | hnxgnsq | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|sor|>Can I get an explanation for these, as someone who doesn't know C#?<|eor|><|soopr|> **Fixed** If you try to use this in your code, then it is likely that you need to be fixed. The fixed keyword is used for pinning. Im not sure ... | 196 |
programminghorror | null_reference_user | hnx82yg | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|sor|>My favorite C# comment I ever wrote:
```
// Time to get funky
unsafe
{
...
```<|eor|><|eols|><|endoftext|> | 160 |
programminghorror | AttackOfTheThumbs | hnxwgrd | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|sor|>Can I get an explanation for these, as someone who doesn't know C#?<|eor|><|sor|>Here are the MSDN docs for each one. Some of them are for dealing with memory management directly. Some are for dealing with multi-threaded operati... | 79 |
programminghorror | Tasgall | hnyzmv2 | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|sor|>Can I get an explanation for these, as someone who doesn't know C#?<|eor|><|sor|>Here are the MSDN docs for each one. Some of them are for dealing with memory management directly. Some are for dealing with multi-threaded operati... | 75 |
programminghorror | thealliedhacker | hnxg8f7 | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|sor|>(deleted)<|eor|><|eols|><|endoftext|> | 69 |
programminghorror | CaitaXD | hnxtk1l | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|sor|>Can I get an explanation for these, as someone who doesn't know C#?<|eor|><|soopr|> **Fixed** If you try to use this in your code, then it is likely that you need to be fixed. The fixed keyword is used for pinning. Im not sure ... | 55 |
programminghorror | FizixMan | hnxgs86 | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|sor|>Can I get an explanation for these, as someone who doesn't know C#?<|eor|><|soopr|> **Fixed** If you try to use this in your code, then it is likely that you need to be fixed. The fixed keyword is used for pinning. Im not sure ... | 50 |
programminghorror | MikeS159 | hnyv0d8 | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|sor|>Can I get an explanation for these, as someone who doesn't know C#?<|eor|><|sor|>Here are the MSDN docs for each one. Some of them are for dealing with memory management directly. Some are for dealing with multi-threaded operati... | 49 |
programminghorror | supersharp | hnx2v0e | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|sor|>Can I get an explanation for these, as someone who doesn't know C#?<|eor|><|soopr|> **Fixed** If you try to use this in your code, then it is likely that you need to be fixed. The fixed keyword is used for pinning. Im not sure ... | 43 |
programminghorror | Epicguru | hnxxbo9 | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|sor|>Can I get an explanation for these, as someone who doesn't know C#?<|eor|><|soopr|> **Fixed** If you try to use this in your code, then it is likely that you need to be fixed. The fixed keyword is used for pinning. Im not sure ... | 41 |
programminghorror | noobzilla | hnxboab | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|sor|>Can I get an explanation for these, as someone who doesn't know C#?<|eor|><|soopr|> **Fixed** If you try to use this in your code, then it is likely that you need to be fixed. The fixed keyword is used for pinning. Im not sure ... | 36 |
programminghorror | AyrA_ch | hnxbujy | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|sor|>Can I get an explanation for these, as someone who doesn't know C#?<|eor|><|soopr|> **Fixed** If you try to use this in your code, then it is likely that you need to be fixed. The fixed keyword is used for pinning. Im not sure ... | 36 |
programminghorror | drcforbin | hny18zq | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|sor|>Can I get an explanation for these, as someone who doesn't know C#?<|eor|><|sor|>Here are the MSDN docs for each one. Some of them are for dealing with memory management directly. Some are for dealing with multi-threaded operati... | 35 |
programminghorror | the_pw_is_in_this_ID | hnyv5cg | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|sor|>Can I get an explanation for these, as someone who doesn't know C#?<|eor|><|soopr|> **Fixed** If you try to use this in your code, then it is likely that you need to be fixed. The fixed keyword is used for pinning. Im not sure ... | 35 |
programminghorror | JaCraig | hnzc96t | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|sor|>I feel that OP is at that point in their career where they are highly opinionated about things without realizing that these things were added for specific reasons. I can think of use cases for every single keyword and even the @... | 29 |
programminghorror | brianjenkins94 | hnx2uho | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|sor|>- [`fixed`](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/fixed-statement)
- [`yield`](https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/yield)
- [`implicit`](https://docs.mi... | 28 |
programminghorror | pleasegetoffmycase | hnxznwt | <|sols|><|sot|>Cursed C# keywords<|eot|><|sol|>https://v.redd.it/r3xtrqyajl481<|eol|><|sor|>Can I get an explanation for these, as someone who doesn't know C#?<|eor|><|soopr|> **Fixed** If you try to use this in your code, then it is likely that you need to be fixed. The fixed keyword is used for pinning. Im not sure ... | 27 |
programminghorror | SirButcher | cry2ti | <|sols|><|sot|>Virgin Media uses the most secure technology ever<|eot|><|sol|>https://i.redd.it/apqdj2r0q2h31.png<|eol|><|eols|><|endoftext|> | 2,522 |
programminghorror | ivan0x32 | exaoj9u | <|sols|><|sot|>Virgin Media uses the most secure technology ever<|eot|><|sol|>https://i.redd.it/apqdj2r0q2h31.png<|eol|><|sor|>You know whats the saddest thing? This is likely a policy - some dumb fuck exec likely forced devs to implement storing passwords in plain text.<|eor|><|eols|><|endoftext|> | 526 |
programminghorror | UnarmedRobonaut | exass05 | <|sols|><|sot|>Virgin Media uses the most secure technology ever<|eot|><|sol|>https://i.redd.it/apqdj2r0q2h31.png<|eol|><|sor|>Its totally secure as hacking is illegal!<|eor|><|eols|><|endoftext|> | 345 |
programminghorror | SirButcher | exann4l | <|sols|><|sot|>Virgin Media uses the most secure technology ever<|eot|><|sol|>https://i.redd.it/apqdj2r0q2h31.png<|eol|><|soopr|>Sadly, as /u/tyw7 found it, it is real:
https://twitter.com/virginmedia/status/1162756227132198914<|eoopr|><|eols|><|endoftext|> | 238 |
programminghorror | poldi1405 | exayegz | <|sols|><|sot|>Virgin Media uses the most secure technology ever<|eot|><|sol|>https://i.redd.it/apqdj2r0q2h31.png<|eol|><|sor|>You know whats the saddest thing? This is likely a policy - some dumb fuck exec likely forced devs to implement storing passwords in plain text.<|eor|><|sor|>Dentist: Wow, Mr. Developer you gri... | 221 |
programminghorror | Compizfox | exazana | <|sols|><|sot|>Virgin Media uses the most secure technology ever<|eot|><|sol|>https://i.redd.it/apqdj2r0q2h31.png<|eol|><|sor|>Shit like this should be an actual crime.<|eor|><|sor|>It kinda is under the GDPR.
https://www.theregister.co.uk/2018/11/23/knuddels_fined_for_plain_text_passwords/<|eor|><|eols|><|endoftext|> | 165 |
programminghorror | YourMJK | exbwwqs | <|sols|><|sot|>Virgin Media uses the most secure technology ever<|eot|><|sol|>https://i.redd.it/apqdj2r0q2h31.png<|eol|><|sor|>You know whats the saddest thing? This is likely a policy - some dumb fuck exec likely forced devs to implement storing passwords in plain text.<|eor|><|sor|>I would quit immediately if someone... | 98 |
programminghorror | the_monkey_of_lies | exaweot | <|sols|><|sot|>Virgin Media uses the most secure technology ever<|eot|><|sol|>https://i.redd.it/apqdj2r0q2h31.png<|eol|><|sor|>The reply managed to first completely misunderstand the real problem and then somehow make it even worse by unbelievably flawed logic.<|eor|><|eols|><|endoftext|> | 95 |
programminghorror | Ulysses6 | exavu41 | <|sols|><|sot|>Virgin Media uses the most secure technology ever<|eot|><|sol|>https://i.redd.it/apqdj2r0q2h31.png<|eol|><|sor|>Its totally secure as hacking is illegal!<|eor|><|sor|>Absolutely, they won't hack it because that would be a crime! Our software is impenetrable!<|eor|><|eols|><|endoftext|> | 81 |
programminghorror | PM_ME_YOUR_APP_IDEA | exauxrd | <|sols|><|sot|>Virgin Media uses the most secure technology ever<|eot|><|sol|>https://i.redd.it/apqdj2r0q2h31.png<|eol|><|soopr|>Sadly, as /u/tyw7 found it, it is real:
https://twitter.com/virginmedia/status/1162756227132198914<|eoopr|><|sor|>Holy crap, even the reply is real!<|eor|><|eols|><|endoftext|> | 77 |
programminghorror | ergnui34tj8934t0 | exausa9 | <|sols|><|sot|>Virgin Media uses the most secure technology ever<|eot|><|sol|>https://i.redd.it/apqdj2r0q2h31.png<|eol|><|sor|>What's wrong with a good old POST request?<|eor|><|eols|><|endoftext|> | 70 |
programminghorror | nazadus | exbxo0p | <|sols|><|sot|>Virgin Media uses the most secure technology ever<|eot|><|sol|>https://i.redd.it/apqdj2r0q2h31.png<|eol|><|sor|>You know whats the saddest thing? This is likely a policy - some dumb fuck exec likely forced devs to implement storing passwords in plain text.<|eor|><|sor|>I would quit immediately if someone... | 67 |
programminghorror | inqul | exbjv8w | <|sols|><|sot|>Virgin Media uses the most secure technology ever<|eot|><|sol|>https://i.redd.it/apqdj2r0q2h31.png<|eol|><|sor|>I remember when I contacted with an internet supplier because I had issues using one of their API. The technician recommended me changing my password to avoid the "+" symbol that could be causi... | 64 |
programminghorror | mats852 | excji8x | <|sols|><|sot|>Virgin Media uses the most secure technology ever<|eot|><|sol|>https://i.redd.it/apqdj2r0q2h31.png<|eol|><|sor|>You know whats the saddest thing? This is likely a policy - some dumb fuck exec likely forced devs to implement storing passwords in plain text.<|eor|><|sor|>I would quit immediately if someone... | 45 |
programminghorror | herbiems89_2 | exb1syu | <|sols|><|sot|>Virgin Media uses the most secure technology ever<|eot|><|sol|>https://i.redd.it/apqdj2r0q2h31.png<|eol|><|sor|>Shit like this should be an actual crime.<|eor|><|sor|>It kinda is under the GDPR.
https://www.theregister.co.uk/2018/11/23/knuddels_fined_for_plain_text_passwords/<|eor|><|sor|>Anybody got ex... | 42 |
programminghorror | TheCactusPie | exav82s | <|sols|><|sot|>Virgin Media uses the most secure technology ever<|eot|><|sol|>https://i.redd.it/apqdj2r0q2h31.png<|eol|><|sor|>Is there a sub for things like these?
/r/plaintextoffenders is completely inactive.<|eor|><|sor|>I guess /r/programminghorror<|eor|><|eols|><|endoftext|> | 37 |
programminghorror | dirtyhappythoughts | exazxny | <|sols|><|sot|>Virgin Media uses the most secure technology ever<|eot|><|sol|>https://i.redd.it/apqdj2r0q2h31.png<|eol|><|sor|>Receiving the old password doesn't mean that they are storing it as plain text, they may have it encrypted as a classic digest.<|eor|><|sor|>Which is effectively the same mistake only marginall... | 36 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.