subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programminghorror | Reelix | gt57ojx | <|sols|><|sot|>Get colors and styles from your database with the db-connect property in CSS!<|eot|><|sol|>https://i.redd.it/yt5qcyltbmq61.png<|eol|><|sor|>Remember to check the date before taking something seriously<|eor|><|sor|>At the rate that CSS is progressing, I honestly wouldn't be surprised if db-* became a thin... | 13 |
programminghorror | khalidpro2 | gt4hh0t | <|sols|><|sot|>Get colors and styles from your database with the db-connect property in CSS!<|eot|><|sol|>https://i.redd.it/yt5qcyltbmq61.png<|eol|><|sor|>Can someone tell me how you get to show your code like this, I've seen it in many places. What kinds of application do you use to print it like this ?<|eor|><|sor|>c... | 10 |
programminghorror | mothzilla | gt4u5l6 | <|sols|><|sot|>Get colors and styles from your database with the db-connect property in CSS!<|eot|><|sol|>https://i.redd.it/yt5qcyltbmq61.png<|eol|><|sor|>If you put your styles in the database then you don't need to push code when admins want style fixes.
/s<|eor|><|eols|><|endoftext|> | 8 |
programminghorror | PsychoNinjaFN | fpu16c | <|sols|><|sot|>Nicest way to sort 3 numbers :)<|eot|><|sol|>https://i.redd.it/sjiyys3tp6p41.jpg<|eol|><|eols|><|endoftext|> | 1,349 |
programminghorror | ieperen3039 | flmzbx2 | <|sols|><|sot|>Nicest way to sort 3 numbers :)<|eot|><|sol|>https://i.redd.it/sjiyys3tp6p41.jpg<|eol|><|sor|>It is (close to) the most efficient way in terms of running time...<|eor|><|eols|><|endoftext|> | 543 |
programminghorror | kennethjor | fln1sue | <|sols|><|sot|>Nicest way to sort 3 numbers :)<|eot|><|sol|>https://i.redd.it/sjiyys3tp6p41.jpg<|eol|><|sor|>It is (close to) the most efficient way in terms of running time...<|eor|><|sor|>I wouldn't recommend doing this, but if you need to sort three numbers a lot and you *need* it to be as fast as possible, then thi... | 270 |
programminghorror | Findlaech | fln5xjl | <|sols|><|sot|>Nicest way to sort 3 numbers :)<|eot|><|sol|>https://i.redd.it/sjiyys3tp6p41.jpg<|eol|><|sor|>>une solution possible
Just not the one I would pick.<|eor|><|eols|><|endoftext|> | 126 |
programminghorror | lordlicorice | fln1zob | <|sols|><|sot|>Nicest way to sort 3 numbers :)<|eot|><|sol|>https://i.redd.it/sjiyys3tp6p41.jpg<|eol|><|sor|>It is (close to) the most efficient way in terms of running time...<|eor|><|sor|>This subreddit doesn't have a great track record lately for identifying actually bad code.<|eor|><|eols|><|endoftext|> | 121 |
programminghorror | snf | fln7kj1 | <|sols|><|sot|>Nicest way to sort 3 numbers :)<|eot|><|sol|>https://i.redd.it/sjiyys3tp6p41.jpg<|eol|><|sor|>Just curious, what would be the correct solution ?<|eor|><|sor|>For the specific case of 3 numbers? This code is just fine. It doesn't scale, however.<|eor|><|eols|><|endoftext|> | 107 |
programminghorror | WikiTextBot | fln1t9a | <|sols|><|sot|>Nicest way to sort 3 numbers :)<|eot|><|sol|>https://i.redd.it/sjiyys3tp6p41.jpg<|eol|><|sor|>It is (close to) the most efficient way in terms of running time...<|eor|><|sor|>I wouldn't recommend doing this, but if you need to sort three numbers a lot and you *need* it to be as fast as possible, then thi... | 106 |
programminghorror | webalorn | fln0rm1 | <|sols|><|sot|>Nicest way to sort 3 numbers :)<|eot|><|sol|>https://i.redd.it/sjiyys3tp6p41.jpg<|eol|><|sor|>It is (close to) the most efficient way in terms of running time...<|eor|><|sor|>You can't sort tree numbers with 2 comparisons, so a maximum of three comparisons is really efficient. This code is not that bad, ... | 103 |
programminghorror | vigbiorn | fln6yo4 | <|sols|><|sot|>Nicest way to sort 3 numbers :)<|eot|><|sol|>https://i.redd.it/sjiyys3tp6p41.jpg<|eol|><|sor|>>une solution possible
Just not the one I would pick.<|eor|><|sor|>To be fair, there were a lot of lectures I've seen where the book/professor introduce a messy and annoying, but correct way to do something. Jo... | 76 |
programminghorror | joonazan | fln5q3c | <|sols|><|sot|>Nicest way to sort 3 numbers :)<|eot|><|sol|>https://i.redd.it/sjiyys3tp6p41.jpg<|eol|><|sor|>It is (close to) the most efficient way in terms of running time...<|eor|><|sor|>I wouldn't recommend doing this, but if you need to sort three numbers a lot and you *need* it to be as fast as possible, then thi... | 71 |
programminghorror | ConspicuousPineapple | fln1n0y | <|sols|><|sot|>Nicest way to sort 3 numbers :)<|eot|><|sol|>https://i.redd.it/sjiyys3tp6p41.jpg<|eol|><|sor|>I feel like I wrote exactly that once...
still the name of the function irritates me
Edit: And the "Une solution possible" and the "Exercice". What kind of language is that? It's so close to English.
Edit 2: ... | 63 |
programminghorror | dirtsquared | flnabwi | <|sols|><|sot|>Nicest way to sort 3 numbers :)<|eot|><|sol|>https://i.redd.it/sjiyys3tp6p41.jpg<|eol|><|sor|>This looks like a learning exercise for understanding linearithmic sorting. There is nothing bad about it.<|eor|><|eols|><|endoftext|> | 62 |
programminghorror | YellowBunnyReddit | fln08bi | <|sols|><|sot|>Nicest way to sort 3 numbers :)<|eot|><|sol|>https://i.redd.it/sjiyys3tp6p41.jpg<|eol|><|sor|>I feel like I wrote exactly that once...
still the name of the function irritates me
Edit: And the "Une solution possible" and the "Exercice". What kind of language is that? It's so close to English.
Edit 2: ... | 54 |
programminghorror | ivgd | flnfjt0 | <|sols|><|sot|>Nicest way to sort 3 numbers :)<|eot|><|sol|>https://i.redd.it/sjiyys3tp6p41.jpg<|eol|><|sor|>Im pretty sure this is an exercise about learning nested ifs. I've given an exercise identical to this one to my students, except that it doesnt return an array, it just outputs the variables in the correct orde... | 53 |
programminghorror | barthvonries | flo0jof | <|sols|><|sot|>Nicest way to sort 3 numbers :)<|eot|><|sol|>https://i.redd.it/sjiyys3tp6p41.jpg<|eol|><|sor|>Just curious, what would be the correct solution ?<|eor|><|sor|>[deleted]<|eor|><|sor|>Well, as it is a teaching exercise, it may be pseudo-code, and a "sorted" function may not exist.<|eor|><|eols|><|endoftext|... | 41 |
programminghorror | ImAStupidFace | fln1kii | <|sols|><|sot|>Nicest way to sort 3 numbers :)<|eot|><|sol|>https://i.redd.it/sjiyys3tp6p41.jpg<|eol|><|sor|>I feel like I wrote exactly that once...
still the name of the function irritates me
Edit: And the "Une solution possible" and the "Exercice". What kind of language is that? It's so close to English.
Edit 2: ... | 40 |
programminghorror | porthos3 | flnqjiw | <|sols|><|sot|>Nicest way to sort 3 numbers :)<|eot|><|sol|>https://i.redd.it/sjiyys3tp6p41.jpg<|eol|><|sor|>Just curious, what would be the correct solution ?<|eor|><|sor|>I actually just failed my Google interview so I'm prepared to answer this!
There's several approaches, assuming you can't use any built in functio... | 37 |
programminghorror | ColdMan105 | fln40o9 | <|sols|><|sot|>Nicest way to sort 3 numbers :)<|eot|><|sol|>https://i.redd.it/sjiyys3tp6p41.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>"english is the only language"<|eor|><|eols|><|endoftext|> | 36 |
programminghorror | Zopieux | fln27qm | <|sols|><|sot|>Nicest way to sort 3 numbers :)<|eot|><|sol|>https://i.redd.it/sjiyys3tp6p41.jpg<|eol|><|sor|>[deleted]<|eor|><|sor|>It's not a typo, it's how you spell "order" in French since this image comes from a French book.<|eor|><|eols|><|endoftext|> | 34 |
programminghorror | AttackOfTheThumbs | flnm43w | <|sols|><|sot|>Nicest way to sort 3 numbers :)<|eot|><|sol|>https://i.redd.it/sjiyys3tp6p41.jpg<|eol|><|sor|>There's nothing wrong with this, and I wouldn't call it horrible either. What is your not horrible way of sorting three integers? It returns all possible solutions. And it will do it fast for this specific probl... | 33 |
programminghorror | mateusfccp | gcyiz6 | <|sols|><|sot|>How Flutter knows if the app is running on web or Dart VM<|eot|><|sol|>https://i.redd.it/uvooj7u7amw41.png<|eol|><|eols|><|endoftext|> | 1,346 |
programminghorror | TheThirdPerson_is | fpe67db | <|sols|><|sot|>How Flutter knows if the app is running on web or Dart VM<|eot|><|sol|>https://i.redd.it/uvooj7u7amw41.png<|eol|><|sor|>I honestly can't decide if that's horrifying or super clever.<|eor|><|eols|><|endoftext|> | 664 |
programminghorror | C0c04l4 | fpe6qiq | <|sols|><|sot|>How Flutter knows if the app is running on web or Dart VM<|eot|><|sol|>https://i.redd.it/uvooj7u7amw41.png<|eol|><|sor|>It's well commented. And it's probably the only way they found that worked reliably. Not horror to me.<|eor|><|eols|><|endoftext|> | 353 |
programminghorror | kingofallthesexy | fpe6iej | <|sols|><|sot|>How Flutter knows if the app is running on web or Dart VM<|eot|><|sol|>https://i.redd.it/uvooj7u7amw41.png<|eol|><|sor|>I honestly can't decide if that's horrifying or super clever.<|eor|><|sor|>It assumes that at no point the js engine will change, which is a bit scary<|eor|><|eols|><|endoftext|> | 348 |
programminghorror | caique_cp | fpe8dsn | <|sols|><|sot|>How Flutter knows if the app is running on web or Dart VM<|eot|><|sol|>https://i.redd.it/uvooj7u7amw41.png<|eol|><|sor|>I honestly can't decide if that's horrifying or super clever.<|eor|><|sor|>It assumes that at no point the js engine will change, which is a bit scary<|eor|><|sor|>Changing such a featu... | 192 |
programminghorror | bKSTEENN | fpee4xh | <|sols|><|sot|>How Flutter knows if the app is running on web or Dart VM<|eot|><|sol|>https://i.redd.it/uvooj7u7amw41.png<|eol|><|sor|>It's well commented. And it's probably the only way they found that worked reliably. Not horror to me.<|eor|><|sor|>I feel like the horror part OP is aiming at is the fact that this wor... | 137 |
programminghorror | Un-Unkn0wn | fpeaafe | <|sols|><|sot|>How Flutter knows if the app is running on web or Dart VM<|eot|><|sol|>https://i.redd.it/uvooj7u7amw41.png<|eol|><|sor|>I honestly can't decide if that's horrifying or super clever.<|eor|><|sor|>It assumes that at no point the js engine will change, which is a bit scary<|eor|><|sor|>If the engine decides... | 108 |
programminghorror | mormispos | fpe7dmc | <|sols|><|sot|>How Flutter knows if the app is running on web or Dart VM<|eot|><|sol|>https://i.redd.it/uvooj7u7amw41.png<|eol|><|sor|>Ive seen hacks like this before. Its not horrifying but it is a bandaid solution that might not work down the line<|eor|><|eols|><|endoftext|> | 102 |
programminghorror | elperroborrachotoo | fpehxsy | <|sols|><|sot|>How Flutter knows if the app is running on web or Dart VM<|eot|><|sol|>https://i.redd.it/uvooj7u7amw41.png<|eol|><|sor|>I honestly can't decide if that's horrifying or super clever.<|eor|><|sor|>It assumes that at no point the js engine will change, which is a bit scary<|eor|><|sor|>Changing such a featu... | 98 |
programminghorror | ShetlandJames | fpe8ufb | <|sols|><|sot|>How Flutter knows if the app is running on web or Dart VM<|eot|><|sol|>https://i.redd.it/uvooj7u7amw41.png<|eol|><|sor|>"JavaScript does not support integers" lol
Nicely explained.<|eor|><|sor|>What do they mean by this?<|eor|><|sor|>JavaScript treats all numbers as floating point numbers http://speaki... | 83 |
programminghorror | Letalight | fpe7mlx | <|sols|><|sot|>How Flutter knows if the app is running on web or Dart VM<|eot|><|sol|>https://i.redd.it/uvooj7u7amw41.png<|eol|><|sor|>"JavaScript does not support integers" lol
Nicely explained.<|eor|><|eols|><|endoftext|> | 77 |
programminghorror | Polantaris | fpe9j76 | <|sols|><|sot|>How Flutter knows if the app is running on web or Dart VM<|eot|><|sol|>https://i.redd.it/uvooj7u7amw41.png<|eol|><|sor|>Ive seen hacks like this before. Its not horrifying but it is a bandaid solution that might not work down the line<|eor|><|sor|>> Its not horrifying but it is a bandaid solution that mi... | 67 |
programminghorror | BornOnFeb2nd | fpeljel | <|sols|><|sot|>How Flutter knows if the app is running on web or Dart VM<|eot|><|sol|>https://i.redd.it/uvooj7u7amw41.png<|eol|><|sor|>I honestly can't decide if that's horrifying or super clever.<|eor|><|sor|>It assumes that at no point the js engine will change, which is a bit scary<|eor|><|sor|>If the engine decides... | 55 |
programminghorror | aresius423 | fpe81i3 | <|sols|><|sot|>How Flutter knows if the app is running on web or Dart VM<|eot|><|sol|>https://i.redd.it/uvooj7u7amw41.png<|eol|><|sor|>Ive seen hacks like this before. Its not horrifying but it is a bandaid solution that might not work down the line<|eor|><|sor|>It's only temporary, unless it works.<|eor|><|eols|><|end... | 50 |
programminghorror | persicsb | fpecgzm | <|sols|><|sot|>How Flutter knows if the app is running on web or Dart VM<|eot|><|sol|>https://i.redd.it/uvooj7u7amw41.png<|eol|><|sor|>"JavaScript does not support integers" lol
Nicely explained.<|eor|><|sor|>What do they mean by this?<|eor|><|sor|>JavaScript treats all numbers as floating point numbers http://speaki... | 46 |
programminghorror | YM_Industries | fpej0vf | <|sols|><|sot|>How Flutter knows if the app is running on web or Dart VM<|eot|><|sol|>https://i.redd.it/uvooj7u7amw41.png<|eol|><|sor|>I honestly can't decide if that's horrifying or super clever.<|eor|><|sor|>It assumes that at no point the js engine will change, which is a bit scary<|eor|><|sor|>I mean, JS hasn't cha... | 46 |
programminghorror | faiface | fpe8pwi | <|sols|><|sot|>How Flutter knows if the app is running on web or Dart VM<|eot|><|sol|>https://i.redd.it/uvooj7u7amw41.png<|eol|><|sor|>I think the real horror is that Dart works differently on different platforms.<|eor|><|eols|><|endoftext|> | 43 |
programminghorror | mateusfccp | fpe9zdu | <|sols|><|sot|>How Flutter knows if the app is running on web or Dart VM<|eot|><|sol|>https://i.redd.it/uvooj7u7amw41.png<|eol|><|sor|>I honestly can't decide if that's horrifying or super clever.<|eor|><|soopr|>Exactly what I though. It's a clever use of the horror JS is.<|eoopr|><|eols|><|endoftext|> | 42 |
programminghorror | droomph | fpejl7w | <|sols|><|sot|>How Flutter knows if the app is running on web or Dart VM<|eot|><|sol|>https://i.redd.it/uvooj7u7amw41.png<|eol|><|sor|>I honestly can't decide if that's horrifying or super clever.<|eor|><|sor|>It assumes that at no point the js engine will change, which is a bit scary<|eor|><|sor|>Changing such a featu... | 38 |
programminghorror | JasperNLxD | fpec96g | <|sols|><|sot|>How Flutter knows if the app is running on web or Dart VM<|eot|><|sol|>https://i.redd.it/uvooj7u7amw41.png<|eol|><|sor|>I think the real horror is that Dart works differently on different platforms.<|eor|><|sor|>I agree on the goal, but imagine that you're a language creator. If you ever want to design s... | 31 |
programminghorror | asselable | l1dwt9 | <|sols|><|sot|>not really bad code, but I wanted to share my regex emoticon<|eot|><|sol|>https://i.redd.it/v0pqfitxvic61.png<|eol|><|eols|><|endoftext|> | 1,345 |
programminghorror | LonelyContext | gjz21j1 | <|sols|><|sot|>not really bad code, but I wanted to share my regex emoticon<|eot|><|sol|>https://i.redd.it/v0pqfitxvic61.png<|eol|><|sor|>Asterisks? Are you really, hundred percent sure you want it to match `index":"_"`? Because that just sounds like a really subtle bug in the making, since the groups can return empty ... | 160 |
programminghorror | ozh | gjyw0ab | <|sols|><|sot|>not really bad code, but I wanted to share my regex emoticon<|eot|><|sol|>https://i.redd.it/v0pqfitxvic61.png<|eol|><|sor|>Go cheer up some regexp depressed coder on /r/ProgrammerHumor ;)<|eor|><|eols|><|endoftext|> | 142 |
programminghorror | Birion | gjywxlx | <|sols|><|sot|>not really bad code, but I wanted to share my regex emoticon<|eot|><|sol|>https://i.redd.it/v0pqfitxvic61.png<|eol|><|sor|>Asterisks? Are you really, hundred percent sure you want it to match `index":"_"`? Because that just sounds like a really subtle bug in the making, since the groups can return empty ... | 125 |
programminghorror | asselable | gjzlxo4 | <|sols|><|sot|>not really bad code, but I wanted to share my regex emoticon<|eot|><|sol|>https://i.redd.it/v0pqfitxvic61.png<|eol|><|sor|>Asterisks? Are you really, hundred percent sure you want it to match `index":"_"`? Because that just sounds like a really subtle bug in the making, since the groups can return empty ... | 76 |
programminghorror | throughactions | gjz2zbp | <|sols|><|sot|>not really bad code, but I wanted to share my regex emoticon<|eot|><|sol|>https://i.redd.it/v0pqfitxvic61.png<|eol|><|sor|>>not really bad code
*posts regex*<|eor|><|eols|><|endoftext|> | 65 |
programminghorror | asselable | gjzm55o | <|sols|><|sot|>not really bad code, but I wanted to share my regex emoticon<|eot|><|sol|>https://i.redd.it/v0pqfitxvic61.png<|eol|><|soopr|>Thanks for the love guys, did not expect to learn by posting this @_@
Edit:
Thanks to you guys I managed to avoid possible bugs which may have endangered possible intact braincell... | 25 |
programminghorror | prace86 | gjz5rkj | <|sols|><|sot|>not really bad code, but I wanted to share my regex emoticon<|eot|><|sol|>https://i.redd.it/v0pqfitxvic61.png<|eol|><|sor|>Asterisks? Are you really, hundred percent sure you want it to match `index":"_"`? Because that just sounds like a really subtle bug in the making, since the groups can return empty ... | 20 |
programminghorror | danbulant | gjzuir7 | <|sols|><|sot|>not really bad code, but I wanted to share my regex emoticon<|eot|><|sol|>https://i.redd.it/v0pqfitxvic61.png<|eol|><|sor|>>not really bad code
*posts regex*<|eor|><|sor|>regex isn't bad by itself though. What else do you want to check format or parse string?<|eor|><|eols|><|endoftext|> | 19 |
programminghorror | Birion | gjyymrn | <|sols|><|sot|>not really bad code, but I wanted to share my regex emoticon<|eot|><|sol|>https://i.redd.it/v0pqfitxvic61.png<|eol|><|sor|>Asterisks? Are you really, hundred percent sure you want it to match `index":"_"`? Because that just sounds like a really subtle bug in the making, since the groups can return empty ... | 16 |
programminghorror | racrisnapra666 | gjz7y82 | <|sols|><|sot|>not really bad code, but I wanted to share my regex emoticon<|eot|><|sol|>https://i.redd.it/v0pqfitxvic61.png<|eol|><|sor|>OP, I'd like to guide your attention to this post right [here](https://www.reddit.com/r/ProgrammerHumor/comments/l18hk2/they_sign_a_pact_with_the_devil/?utm_medium=android_app&utm_so... | 14 |
programminghorror | TimGreller | gk051iq | <|sols|><|sot|>not really bad code, but I wanted to share my regex emoticon<|eot|><|sol|>https://i.redd.it/v0pqfitxvic61.png<|eol|><|sor|>>not really bad code
*posts regex*<|eor|><|sor|>regex isn't bad by itself though. What else do you want to check format or parse string?<|eor|><|sor|>Implement a DFA for every parsi... | 11 |
programminghorror | MattVanAndel | gk14py0 | <|sols|><|sot|>not really bad code, but I wanted to share my regex emoticon<|eot|><|sol|>https://i.redd.it/v0pqfitxvic61.png<|eol|><|sor|>Asterisks? Are you really, hundred percent sure you want it to match `index":"_"`? Because that just sounds like a really subtle bug in the making, since the groups can return empty ... | 6 |
programminghorror | throughactions | gk09bwf | <|sols|><|sot|>not really bad code, but I wanted to share my regex emoticon<|eot|><|sol|>https://i.redd.it/v0pqfitxvic61.png<|eol|><|sor|>>not really bad code
*posts regex*<|eor|><|sor|>regex isn't bad by itself though. What else do you want to check format or parse string?<|eor|><|sor|>I joke, of course. I was just l... | 6 |
programminghorror | TimGreller | gk057ut | <|sols|><|sot|>not really bad code, but I wanted to share my regex emoticon<|eot|><|sol|>https://i.redd.it/v0pqfitxvic61.png<|eol|><|sor|>_In Soviet Russia code looks at you_<|eor|><|eols|><|endoftext|> | 5 |
programminghorror | 8asdqw731 | gk1oqfq | <|sols|><|sot|>not really bad code, but I wanted to share my regex emoticon<|eot|><|sol|>https://i.redd.it/v0pqfitxvic61.png<|eol|><|sor|>Asterisks? Are you really, hundred percent sure you want it to match `index":"_"`? Because that just sounds like a really subtle bug in the making, since the groups can return empty ... | 5 |
programminghorror | supercyp01 | mw679h | <|sols|><|sot|>Take a look at my little french c++ translation ! (when a joke goes too far)<|eot|><|sol|>https://i.redd.it/hhlrp5avkqu61.png<|eol|><|eols|><|endoftext|> | 1,342 |
programminghorror | loathingkernel | gvgj3vk | <|sols|><|sot|>Take a look at my little french c++ translation ! (when a joke goes too far)<|eot|><|sol|>https://i.redd.it/hhlrp5avkqu61.png<|eol|><|sor|>So `string` would be `chane_de_caractres_termine_par_un_zro_encapsul_dans_un_objet_avec_des_fonctions`?
^Be ^kind, ^it ^was ^google ^translate<|eor|><|eols|><|endoft... | 378 |
programminghorror | tencaig | gvh6n3t | <|sols|><|sot|>Take a look at my little french c++ translation ! (when a joke goes too far)<|eot|><|sol|>https://i.redd.it/hhlrp5avkqu61.png<|eol|><|sor|>So `string` would be `chane_de_caractres_termine_par_un_zro_encapsul_dans_un_objet_avec_des_fonctions`?
^Be ^kind, ^it ^was ^google ^translate<|eor|><|sor|>When you'... | 152 |
programminghorror | elzaidir | gvgel4q | <|sols|><|sot|>Take a look at my little french c++ translation ! (when a joke goes too far)<|eot|><|sol|>https://i.redd.it/hhlrp5avkqu61.png<|eol|><|sor|>integer c'est "entier", pas intgral.
char* c'est... Ouais en fait comme a c'est parfait change rien<|eor|><|eols|><|endoftext|> | 101 |
programminghorror | yhu420 | gvg9jp4 | <|sols|><|sot|>Take a look at my little french c++ translation ! (when a joke goes too far)<|eot|><|sol|>https://i.redd.it/hhlrp5avkqu61.png<|eol|><|sor|>Stupidly verbose as well, well done!<|eor|><|eols|><|endoftext|> | 93 |
programminghorror | PM_ME_A_STEAM_GIFT | gvhxgrh | <|sols|><|sot|>Take a look at my little french c++ translation ! (when a joke goes too far)<|eot|><|sol|>https://i.redd.it/hhlrp5avkqu61.png<|eol|><|sor|>So `string` would be `chane_de_caractres_termine_par_un_zro_encapsul_dans_un_objet_avec_des_fonctions`?
^Be ^kind, ^it ^was ^google ^translate<|eor|><|sor|>When you'... | 59 |
programminghorror | supercyp01 | gvg5v8i | <|sols|><|sot|>Take a look at my little french c++ translation ! (when a joke goes too far)<|eot|><|sol|>https://i.redd.it/hhlrp5avkqu61.png<|eol|><|soopr|>source code of the best github project: [https://github.com/Supercip971/Cpp-Translate](https://github.com/Supercip971/Cpp-Translate)<|eoopr|><|eols|><|endoftext|> | 54 |
programminghorror | doopdooperson | gvgqx3o | <|sols|><|sot|>Take a look at my little french c++ translation ! (when a joke goes too far)<|eot|><|sol|>https://i.redd.it/hhlrp5avkqu61.png<|eol|><|sor|>Lol if we called char pointers null-terminated string of characters, there would probably be fewer bugs in the world.<|eor|><|eols|><|endoftext|> | 33 |
programminghorror | obvious_apple | gvgs9yk | <|sols|><|sot|>Take a look at my little french c++ translation ! (when a joke goes too far)<|eot|><|sol|>https://i.redd.it/hhlrp5avkqu61.png<|eol|><|sor|>"#define 4x20_12 92"<|eor|><|eols|><|endoftext|> | 24 |
programminghorror | petosorus | gvgz000 | <|sols|><|sot|>Take a look at my little french c++ translation ! (when a joke goes too far)<|eot|><|sol|>https://i.redd.it/hhlrp5avkqu61.png<|eol|><|sor|>So `string` would be `chane_de_caractres_termine_par_un_zro_encapsul_dans_un_objet_avec_des_fonctions`?
^Be ^kind, ^it ^was ^google ^translate<|eor|><|sor|>Lol, it w... | 24 |
programminghorror | Sinestow | gvgcrx3 | <|sols|><|sot|>Take a look at my little french c++ translation ! (when a joke goes too far)<|eot|><|sol|>https://i.redd.it/hhlrp5avkqu61.png<|eol|><|sor|>Je sais pas si je dois tre imprsionn ou effray<|eor|><|eols|><|endoftext|> | 23 |
programminghorror | TrevorHuman | gvh2ah3 | <|sols|><|sot|>Take a look at my little french c++ translation ! (when a joke goes too far)<|eot|><|sol|>https://i.redd.it/hhlrp5avkqu61.png<|eol|><|soopr|>source code of the best github project: [https://github.com/Supercip971/Cpp-Translate](https://github.com/Supercip971/Cpp-Translate)<|eoopr|><|sor|>Monsieur ou made... | 22 |
programminghorror | EthanRDM | gvgrcmv | <|sols|><|sot|>Take a look at my little french c++ translation ! (when a joke goes too far)<|eot|><|sol|>https://i.redd.it/hhlrp5avkqu61.png<|eol|><|sor|>J'ai mal mon C++<|eor|><|eols|><|endoftext|> | 17 |
programminghorror | gmtime | gvggx5u | <|sols|><|sot|>Take a look at my little french c++ translation ! (when a joke goes too far)<|eot|><|sol|>https://i.redd.it/hhlrp5avkqu61.png<|eol|><|sor|>`chaine_de_caractere_c_terminant_par_un_zero` should just have been `caractere*`. `egal` should just be `=`. `est_faux` should have been `== faux`.
Or go all in and ... | 16 |
programminghorror | LauAtagan | gvh7lxw | <|sols|><|sot|>Take a look at my little french c++ translation ! (when a joke goes too far)<|eot|><|sol|>https://i.redd.it/hhlrp5avkqu61.png<|eol|><|sor|>So `string` would be `chane_de_caractres_termine_par_un_zro_encapsul_dans_un_objet_avec_des_fonctions`?
^Be ^kind, ^it ^was ^google ^translate<|eor|><|sor|>Wouldn't ... | 16 |
programminghorror | trigger_segfault | gvi0q3r | <|sols|><|sot|>Take a look at my little french c++ translation ! (when a joke goes too far)<|eot|><|sol|>https://i.redd.it/hhlrp5avkqu61.png<|eol|><|sor|>So `string` would be `chane_de_caractres_termine_par_un_zro_encapsul_dans_un_objet_avec_des_fonctions`?
^Be ^kind, ^it ^was ^google ^translate<|eor|><|sor|>When you'... | 15 |
programminghorror | oparisy | gvgv89o | <|sols|><|sot|>Take a look at my little french c++ translation ! (when a joke goes too far)<|eot|><|sol|>https://i.redd.it/hhlrp5avkqu61.png<|eol|><|sor|>This brings back horrendous memories of pseudo code expressed in French as a kid...<|eor|><|eols|><|endoftext|> | 14 |
programminghorror | Naeio_Galaxy | gvh9piz | <|sols|><|sot|>Take a look at my little french c++ translation ! (when a joke goes too far)<|eot|><|sol|>https://i.redd.it/hhlrp5avkqu61.png<|eol|><|sor|>So `string` would be `chane_de_caractres_termine_par_un_zro_encapsul_dans_un_objet_avec_des_fonctions`?
^Be ^kind, ^it ^was ^google ^translate<|eor|><|sor|>Wouldn't ... | 14 |
programminghorror | Sire_Renart | gvh4ujy | <|sols|><|sot|>Take a look at my little french c++ translation ! (when a joke goes too far)<|eot|><|sol|>https://i.redd.it/hhlrp5avkqu61.png<|eol|><|sor|>Je suppose que "example", 'intgral" et "charactre" c'est juste une mtaphore pour montrer l'amricanisation de notre langue. 10/10 une vritable uvre d'art.<|eor|><|eols... | 12 |
programminghorror | Naeio_Galaxy | gvha63n | <|sols|><|sot|>Take a look at my little french c++ translation ! (when a joke goes too far)<|eot|><|sol|>https://i.redd.it/hhlrp5avkqu61.png<|eol|><|sor|>integer c'est "entier", pas intgral.
char* c'est... Ouais en fait comme a c'est parfait change rien<|eor|><|sor|>C'est exactement ce que j'allais dire xD
T'a juste ... | 10 |
programminghorror | Myzel394 | lybcir | <|sols|><|sot|>"Of course we are using a linter!"<|eot|><|sol|>https://i.redd.it/yd5jkwrrj7l61.png<|eol|><|eols|><|endoftext|> | 1,336 |
programminghorror | annoyed_freelancer | gpsmaqg | <|sols|><|sot|>"Of course we are using a linter!"<|eot|><|sol|>https://i.redd.it/yd5jkwrrj7l61.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Speaking generally, I've known plenty of developers with an attitude of "don't touch old files". No room for boy scout principle cleanups.
Dunno though; in this case, one could just ad... | 107 |
programminghorror | stone_henge | gpsqe22 | <|sols|><|sot|>"Of course we are using a linter!"<|eot|><|sol|>https://i.redd.it/yd5jkwrrj7l61.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Speaking generally, I've known plenty of developers with an attitude of "don't touch old files". No room for boy scout principle cleanups.
Dunno though; in this case, one could just ad... | 51 |
programminghorror | juantreses | gptiuey | <|sols|><|sot|>"Of course we are using a linter!"<|eot|><|sol|>https://i.redd.it/yd5jkwrrj7l61.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Speaking generally, I've known plenty of developers with an attitude of "don't touch old files". No room for boy scout principle cleanups.
Dunno though; in this case, one could just ad... | 28 |
programminghorror | Xtrem532 | gpsyl4j | <|sols|><|sot|>"Of course we are using a linter!"<|eot|><|sol|>https://i.redd.it/yd5jkwrrj7l61.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Speaking generally, I've known plenty of developers with an attitude of "don't touch old files". No room for boy scout principle cleanups.
Dunno though; in this case, one could just ad... | 23 |
programminghorror | undieablecat | gpurx8b | <|sols|><|sot|>"Of course we are using a linter!"<|eot|><|sol|>https://i.redd.it/yd5jkwrrj7l61.png<|eol|><|sor|>```
/* eslint-disable eslint */
```<|eor|><|eols|><|endoftext|> | 20 |
programminghorror | Unrealist99 | gpstf5u | <|sols|><|sot|>"Of course we are using a linter!"<|eot|><|sol|>https://i.redd.it/yd5jkwrrj7l61.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Speaking generally, I've known plenty of developers with an attitude of "don't touch old files". No room for boy scout principle cleanups.
Dunno though; in this case, one could just ad... | 15 |
programminghorror | FallenWarrior2k | gptf54g | <|sols|><|sot|>"Of course we are using a linter!"<|eot|><|sol|>https://i.redd.it/yd5jkwrrj7l61.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Speaking generally, I've known plenty of developers with an attitude of "don't touch old files". No room for boy scout principle cleanups.
Dunno though; in this case, one could just ad... | 12 |
programminghorror | BeakerAU | gpt5n9o | <|sols|><|sot|>"Of course we are using a linter!"<|eot|><|sol|>https://i.redd.it/yd5jkwrrj7l61.png<|eol|><|sor|>I've seen this in generated code. Generating a service from an OpenApi spec will add linting rule exclusions at the top.<|eor|><|eols|><|endoftext|> | 9 |
programminghorror | intensely_human | gpt4lcy | <|sols|><|sot|>"Of course we are using a linter!"<|eot|><|sol|>https://i.redd.it/yd5jkwrrj7l61.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Speaking generally, I've known plenty of developers with an attitude of "don't touch old files". No room for boy scout principle cleanups.
Dunno though; in this case, one could just ad... | 9 |
programminghorror | douglasg14b | gptb5da | <|sols|><|sot|>"Of course we are using a linter!"<|eot|><|sol|>https://i.redd.it/yd5jkwrrj7l61.png<|eol|><|sor|>[deleted]<|eor|><|sor|>What's the point in disabling certain eslint rules?
Perhaps you don't want them, or you are using rules that require vanilla ones to be disabled (Such as typescript rules).
Or perhaps... | 8 |
programminghorror | intensely_human | gpue6nr | <|sols|><|sot|>"Of course we are using a linter!"<|eot|><|sol|>https://i.redd.it/yd5jkwrrj7l61.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Speaking generally, I've known plenty of developers with an attitude of "don't touch old files". No room for boy scout principle cleanups.
Dunno though; in this case, one could just ad... | 7 |
programminghorror | Loading_M_ | gpto7hf | <|sols|><|sot|>"Of course we are using a linter!"<|eot|><|sol|>https://i.redd.it/yd5jkwrrj7l61.png<|eol|><|sor|>[deleted]<|eor|><|sor|>Speaking generally, I've known plenty of developers with an attitude of "don't touch old files". No room for boy scout principle cleanups.
Dunno though; in this case, one could just ad... | 6 |
programminghorror | henkdepotvjis | ekrqtc | <|sols|><|sot|>Note to self: don't program when drunk<|eot|><|sol|>https://i.redd.it/ex8tc77bm4941.png<|eol|><|eols|><|endoftext|> | 1,334 |
programminghorror | IsVicky | fddb3zz | <|sols|><|sot|>Note to self: don't program when drunk<|eot|><|sol|>https://i.redd.it/ex8tc77bm4941.png<|eol|><|sor|>Some of my favorite code came from when i was drunk, granted it is undocumented and i have no idea how or why it works, but it does amazing things.<|eor|><|eols|><|endoftext|> | 307 |
programminghorror | AyrA_ch | fddfoif | <|sols|><|sot|>Note to self: don't program when drunk<|eot|><|sol|>https://i.redd.it/ex8tc77bm4941.png<|eol|><|sor|>Some of my favorite code came from when i was drunk, granted it is undocumented and i have no idea how or why it works, but it does amazing things.<|eor|><|sor|>> Some of my favorite code came from when i... | 144 |
programminghorror | NotWorthTheRead | fddjrih | <|sols|><|sot|>Note to self: don't program when drunk<|eot|><|sol|>https://i.redd.it/ex8tc77bm4941.png<|eol|><|sor|>Some of my favorite code came from when i was drunk, granted it is undocumented and i have no idea how or why it works, but it does amazing things.<|eor|><|sor|>> Some of my favorite code came from when i... | 72 |
programminghorror | alexge50 | fddbpoy | <|sols|><|sot|>Note to self: don't program when drunk<|eot|><|sol|>https://i.redd.it/ex8tc77bm4941.png<|eol|><|sor|>Some of my favorite code came from when i was drunk, granted it is undocumented and i have no idea how or why it works, but it does amazing things.<|eor|><|sor|>I have it on my bullet list, coding while o... | 62 |
programminghorror | itokolover | fddccxc | <|sols|><|sot|>Note to self: don't program when drunk<|eot|><|sol|>https://i.redd.it/ex8tc77bm4941.png<|eol|><|sor|>Some of my best code came from an acid trip.<|eor|><|eols|><|endoftext|> | 60 |
programminghorror | itokolover | fddizb3 | <|sols|><|sot|>Note to self: don't program when drunk<|eot|><|sol|>https://i.redd.it/ex8tc77bm4941.png<|eol|><|sor|>Some of my best code came from an acid trip.<|eor|><|sor|>Please do elaborate<|eor|><|sor|>Sure. So my first acid trip I went into it asking for a positive change in my life. As though LSD was a deity and... | 57 |
programminghorror | Last_Snowbender | fddcvnn | <|sols|><|sot|>Note to self: don't program when drunk<|eot|><|sol|>https://i.redd.it/ex8tc77bm4941.png<|eol|><|sor|>The different size text is tripy.<|eor|><|soopr|>Different size text?<|eoopr|><|sor|>message: and code: has a smaller font size.<|eor|><|sor|>That's a feature of the IDE, jetbrains-products do that to dis... | 48 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.