subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programminghorror | RFC793 | gv7pf6t | <|sols|><|sot|>I'll leave this here, credits: stackoverflow<|eot|><|sol|>https://i.redd.it/eji3zoqca9u61.jpg<|eol|><|sor|>The real question is, if he's successfully targeting these elements by the nth-child in the first place, why does he need to add those classes?<|eor|><|sor|>Because I was using an image for each num... | 10 |
programminghorror | Wittyname_McDingus | uk9w7l | <|sols|><|sot|>Simple and efficient way to construct an identity matrix<|eot|><|sol|>https://i.imgur.com/kxPsWrM.png<|eol|><|eols|><|endoftext|> | 862 |
programminghorror | Sharlinator | i7nw1jb | <|sols|><|sot|>Simple and efficient way to construct an identity matrix<|eot|><|sol|>https://i.imgur.com/kxPsWrM.png<|eol|><|sor|>Exercise: count all the ways this is undefined behavior (there are at least three *obvious* ways)<|eor|><|eols|><|endoftext|> | 175 |
programminghorror | schmirsich | i7o25y6 | <|sols|><|sot|>Simple and efficient way to construct an identity matrix<|eot|><|sol|>https://i.imgur.com/kxPsWrM.png<|eol|><|sor|>Exercise: count all the ways this is undefined behavior (there are at least three *obvious* ways)<|eor|><|sor|>Help me out. I actually just see a violation of strict aliasing rules (accessin... | 48 |
programminghorror | blitzkrieg987 | i7nw7fv | <|sols|><|sot|>Simple and efficient way to construct an identity matrix<|eot|><|sol|>https://i.imgur.com/kxPsWrM.png<|eol|><|sor|>Now ask him to do the same with a 50x50 matrix<|eor|><|eols|><|endoftext|> | 43 |
programminghorror | daqwes | i7o8o6c | <|sols|><|sot|>Simple and efficient way to construct an identity matrix<|eot|><|sol|>https://i.imgur.com/kxPsWrM.png<|eol|><|sor|>Now ask him to do the same with a 50x50 matrix<|eor|><|sor|>simple, write a python script that generates the c++ code<|eor|><|eols|><|endoftext|> | 35 |
programminghorror | Ue_MistakeNot | i7ntxw1 | <|sols|><|sot|>Simple and efficient way to construct an identity matrix<|eot|><|sol|>https://i.imgur.com/kxPsWrM.png<|eol|><|soopr|>Here's a compiler explorer link if you want to experience the greatness firsthand.
https://godbolt.org/z/PxGYs8j67<|eoopr|><|sor|>Thank you, but no, I'm good.<|eor|><|eols|><|endoftext|> | 33 |
programminghorror | Wittyname_McDingus | i7ns1ev | <|sols|><|sot|>Simple and efficient way to construct an identity matrix<|eot|><|sol|>https://i.imgur.com/kxPsWrM.png<|eol|><|soopr|>Here's a compiler explorer link if you want to experience the greatness firsthand.
https://godbolt.org/z/PxGYs8j67<|eoopr|><|eols|><|endoftext|> | 27 |
programminghorror | Sharlinator | i7o5nmg | <|sols|><|sot|>Simple and efficient way to construct an identity matrix<|eot|><|sol|>https://i.imgur.com/kxPsWrM.png<|eol|><|sor|>Exercise: count all the ways this is undefined behavior (there are at least three *obvious* ways)<|eor|><|sor|>Curious. I can maybe identify the const to non-const one, and maybe a wrong flo... | 26 |
programminghorror | Wittyname_McDingus | i7o6rgr | <|sols|><|sot|>Simple and efficient way to construct an identity matrix<|eot|><|sol|>https://i.imgur.com/kxPsWrM.png<|eol|><|sor|>Exercise: count all the ways this is undefined behavior (there are at least three *obvious* ways)<|eor|><|sor|>Curious. I can maybe identify the const to non-const one, and maybe a wrong flo... | 22 |
programminghorror | f0rki | i7o54q4 | <|sols|><|sot|>Simple and efficient way to construct an identity matrix<|eot|><|sol|>https://i.imgur.com/kxPsWrM.png<|eol|><|sor|>Wouldn't modifying this after initialization be potentially bad since you're getting rid of const?<|eor|><|sor|>Yes, any write access would likely segfault.<|eor|><|eols|><|endoftext|> | 19 |
programminghorror | SBolo | i7nu7ye | <|sols|><|sot|>Simple and efficient way to construct an identity matrix<|eot|><|sol|>https://i.imgur.com/kxPsWrM.png<|eol|><|sor|>Can't imagine a more straightforward way than this one.<|eor|><|eols|><|endoftext|> | 17 |
programminghorror | nekokattt | i7orlcn | <|sols|><|sot|>Simple and efficient way to construct an identity matrix<|eot|><|sol|>https://i.imgur.com/kxPsWrM.png<|eol|><|sor|>What is a identity matrix?<|eor|><|sor|>This
1
1 0
0 1
1 0 0
0 1 0
0 0 1
1 0 0 0
0 1 0 0
0 0 1 0
0 0 0 1
1 0 0 0 0
0 1 0 0 0
0 0 1 ... | 15 |
programminghorror | natalialt | i7nvzf7 | <|sols|><|sot|>Simple and efficient way to construct an identity matrix<|eot|><|sol|>https://i.imgur.com/kxPsWrM.png<|eol|><|sor|>Wouldn't modifying this after initialization be potentially bad since you're getting rid of const?<|eor|><|eols|><|endoftext|> | 12 |
programminghorror | Sharlinator | i7o6ajt | <|sols|><|sot|>Simple and efficient way to construct an identity matrix<|eot|><|sol|>https://i.imgur.com/kxPsWrM.png<|eol|><|sor|>Exercise: count all the ways this is undefined behavior (there are at least three *obvious* ways)<|eor|><|sor|>Help me out. I actually just see a violation of strict aliasing rules (accessin... | 12 |
programminghorror | natalialt | i7o59il | <|sols|><|sot|>Simple and efficient way to construct an identity matrix<|eot|><|sol|>https://i.imgur.com/kxPsWrM.png<|eol|><|sor|>Wouldn't modifying this after initialization be potentially bad since you're getting rid of const?<|eor|><|sor|>Yes, any write access would likely segfault.<|eor|><|sor|>You could always con... | 9 |
programminghorror | RapidCatLauncher | i7pfmjg | <|sols|><|sot|>Simple and efficient way to construct an identity matrix<|eot|><|sol|>https://i.imgur.com/kxPsWrM.png<|eol|><|sor|>What is a identity matrix?<|eor|><|sor|>**In linear algebra, the identity matrix of size
n
{\displaystyle n}
is the
n
... | 9 |
programminghorror | ivancea | i7o28yd | <|sols|><|sot|>Simple and efficient way to construct an identity matrix<|eot|><|sol|>https://i.imgur.com/kxPsWrM.png<|eol|><|sor|>Exercise: count all the ways this is undefined behavior (there are at least three *obvious* ways)<|eor|><|sor|>Curious. I can maybe identify the const to non-const one, and maybe a wrong flo... | 8 |
programminghorror | birdman9k | i7ok8st | <|sols|><|sot|>Simple and efficient way to construct an identity matrix<|eot|><|sol|>https://i.imgur.com/kxPsWrM.png<|eol|><|sor|>What would be the correct way to do this<|eor|><|sor|>For an arbitrary matrix, store an array, multidimensional if you want (or just make sure you know how many items it should have per row)... | 8 |
programminghorror | CAPSLOCK_USERNAME | i7pfdst | <|sols|><|sot|>Simple and efficient way to construct an identity matrix<|eot|><|sol|>https://i.imgur.com/kxPsWrM.png<|eol|><|sor|>Exercise: count all the ways this is undefined behavior (there are at least three *obvious* ways)<|eor|><|sor|>Help me out. I actually just see a violation of strict aliasing rules (accessin... | 8 |
programminghorror | curtmack | i7qqozv | <|sols|><|sot|>Simple and efficient way to construct an identity matrix<|eot|><|sol|>https://i.imgur.com/kxPsWrM.png<|eol|><|sor|>Exercise: count all the ways this is undefined behavior (there are at least three *obvious* ways)<|eor|><|sor|>Help me out. I actually just see a violation of strict aliasing rules (accessin... | 8 |
programminghorror | TechnoPeasantDennis | d6za7o | <|sols|><|sot|>My mechanical engineer coworker wrote this<|eot|><|sol|>https://i.redd.it/gamdxvyfosn31.png<|eol|><|eols|><|endoftext|> | 863 |
programminghorror | floridabot_ | f0wennx | <|sols|><|sot|>My mechanical engineer coworker wrote this<|eot|><|sol|>https://i.redd.it/gamdxvyfosn31.png<|eol|><|sor|>this is some kind of art<|eor|><|eols|><|endoftext|> | 199 |
programminghorror | Marzhall | f0wla0i | <|sols|><|sot|>My mechanical engineer coworker wrote this<|eot|><|sol|>https://i.redd.it/gamdxvyfosn31.png<|eol|><|sor|>Engineer-written code is second only to Scientific code in being awful. It's very clearly written with a "just get it working" mentality, which is the hump that compsci majors have to work over in the... | 156 |
programminghorror | alexeiz | f0ws3zk | <|sols|><|sot|>My mechanical engineer coworker wrote this<|eot|><|sol|>https://i.redd.it/gamdxvyfosn31.png<|eol|><|sor|>Engineer-written code is second only to Scientific code in being awful. It's very clearly written with a "just get it working" mentality, which is the hump that compsci majors have to work over in the... | 114 |
programminghorror | Famous_Profile | f0wfhzv | <|sols|><|sot|>My mechanical engineer coworker wrote this<|eot|><|sol|>https://i.redd.it/gamdxvyfosn31.png<|eol|><|sor|>Thats gross.
But probably has less to do with him being a mechanical engineer and more to do with not learning basic stuff.
^(I'm a mechanical engineer myself)<|eor|><|eols|><|endoftext|> | 113 |
programminghorror | _370HSSV_ | f0wftm4 | <|sols|><|sot|>My mechanical engineer coworker wrote this<|eot|><|sol|>https://i.redd.it/gamdxvyfosn31.png<|eol|><|sor|>This some elite level inefficiency<|eor|><|eols|><|endoftext|> | 64 |
programminghorror | Marzhall | f0wtwdb | <|sols|><|sot|>My mechanical engineer coworker wrote this<|eot|><|sol|>https://i.redd.it/gamdxvyfosn31.png<|eol|><|sor|>Engineer-written code is second only to Scientific code in being awful. It's very clearly written with a "just get it working" mentality, which is the hump that compsci majors have to work over in the... | 63 |
programminghorror | syh7 | f0wq7iw | <|sols|><|sot|>My mechanical engineer coworker wrote this<|eot|><|sol|>https://i.redd.it/gamdxvyfosn31.png<|eol|><|sor|>Is there a better way to do this? On first glance, I don't see a better one other than inserting a few else's.<|eor|><|eols|><|endoftext|> | 35 |
programminghorror | TechnoPeasantDennis | f0wgs5e | <|sols|><|sot|>My mechanical engineer coworker wrote this<|eot|><|sol|>https://i.redd.it/gamdxvyfosn31.png<|eol|><|sor|>What language is this? I've never seen 2darray[x, y].<|eor|><|soopr|>This is C#, which has both standard multidimensional arrays (shown here) and jagged arrays (which has the more common syntax).<|eoo... | 34 |
programminghorror | Bob-Kerman | f0x18tb | <|sols|><|sot|>My mechanical engineer coworker wrote this<|eot|><|sol|>https://i.redd.it/gamdxvyfosn31.png<|eol|><|sor|>Is there a better way to do this? On first glance, I don't see a better one other than inserting a few else's.<|eor|><|sor|>It looks like it's initializing some arrays. x, y, z, xt, yt, and zt. All o... | 33 |
programminghorror | Loading_M_ | f0x0wnm | <|sols|><|sot|>My mechanical engineer coworker wrote this<|eot|><|sol|>https://i.redd.it/gamdxvyfosn31.png<|eol|><|sor|>Is there a better way to do this? On first glance, I don't see a better one other than inserting a few else's.<|eor|><|sor|>The code could be written without the I and j variables and the for loops, I... | 25 |
programminghorror | GioVoi | f0wljl0 | <|sols|><|sot|>My mechanical engineer coworker wrote this<|eot|><|sol|>https://i.redd.it/gamdxvyfosn31.png<|eol|><|sor|>This some elite level inefficiency<|eor|><|sor|>Whoever wrote this didnt even use else.. WOW<|eor|><|sor|>Yes they did<|eor|><|sor|>They used else for a single if statement. The first. Else usually go... | 25 |
programminghorror | 404_1337 | f0wgd2j | <|sols|><|sot|>My mechanical engineer coworker wrote this<|eot|><|sol|>https://i.redd.it/gamdxvyfosn31.png<|eol|><|sor|>What language is this? I've never seen 2darray[x, y].<|eor|><|eols|><|endoftext|> | 23 |
programminghorror | spinicist | f0yo45j | <|sols|><|sot|>My mechanical engineer coworker wrote this<|eot|><|sol|>https://i.redd.it/gamdxvyfosn31.png<|eol|><|sor|>Engineer-written code is second only to Scientific code in being awful. It's very clearly written with a "just get it working" mentality, which is the hump that compsci majors have to work over in the... | 22 |
programminghorror | Marzhall | f0xlfdh | <|sols|><|sot|>My mechanical engineer coworker wrote this<|eot|><|sol|>https://i.redd.it/gamdxvyfosn31.png<|eol|><|sor|>Engineer-written code is second only to Scientific code in being awful. It's very clearly written with a "just get it working" mentality, which is the hump that compsci majors have to work over in the... | 21 |
programminghorror | NoNameRequiredxD | f0wi9pn | <|sols|><|sot|>My mechanical engineer coworker wrote this<|eot|><|sol|>https://i.redd.it/gamdxvyfosn31.png<|eol|><|sor|>This some elite level inefficiency<|eor|><|sor|>Whoever wrote this didnt even use else.. WOW<|eor|><|eols|><|endoftext|> | 17 |
programminghorror | Not_a_tasty_fish | f0weryz | <|sols|><|sot|>My mechanical engineer coworker wrote this<|eot|><|sol|>https://i.redd.it/gamdxvyfosn31.png<|eol|><|sor|>This may be one of the worst things I've ever seen<|eor|><|eols|><|endoftext|> | 16 |
programminghorror | hyperGuy92 | f0yd2zv | <|sols|><|sot|>My mechanical engineer coworker wrote this<|eot|><|sol|>https://i.redd.it/gamdxvyfosn31.png<|eol|><|sor|>Engineer-written code is second only to Scientific code in being awful. It's very clearly written with a "just get it working" mentality, which is the hump that compsci majors have to work over in the... | 15 |
programminghorror | theg721 | f0wil6u | <|sols|><|sot|>My mechanical engineer coworker wrote this<|eot|><|sol|>https://i.redd.it/gamdxvyfosn31.png<|eol|><|sor|>This some elite level inefficiency<|eor|><|sor|>Whoever wrote this didnt even use else.. WOW<|eor|><|sor|>Yes they did<|eor|><|eols|><|endoftext|> | 15 |
programminghorror | dumbasPL | dxoe1p | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|eols|><|endoftext|> | 861 |
programminghorror | Whiskeyfueledhemi | f7u6qx2 | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|sor|>When you get paid per line of code submitted<|eor|><|eols|><|endoftext|> | 305 |
programminghorror | dumbasPL | f7tsevj | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|soopr|>This function goes all the way to the bottom of the class. And the one above does literally the same but in reverse. All of the PIDs are a 1 to 1 conversion. the numerical value is n... | 146 |
programminghorror | corobo | f7v2zfj | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|sor|>When you get paid per line of code submitted<|eor|><|sor|>Yeah I get the feeling this was written after management decided LOC was a good way to measure performance<|eor|><|eols|><|end... | 107 |
programminghorror | dumbasPL | f7u7lmv | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|sor|>Is this ... hand optimization? It's gotta be, right? Sometimes it's worth it to unroll loops or to auto generate code to avoid creating strings on the fly for that tiny extra bit of pr... | 98 |
programminghorror | corobo | f7vv1uo | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|sor|>When you get paid per line of code submitted<|eor|><|sor|>Yeah I get the feeling this was written after management decided LOC was a good way to measure performance<|eor|><|sor|>Wait, ... | 75 |
programminghorror | WAUthethird | f7vml5b | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|sor|>When you get paid per line of code submitted<|eor|><|sor|>Yeah I get the feeling this was written after management decided LOC was a good way to measure performance<|eor|><|sor|>Wait, ... | 68 |
programminghorror | h4xrk1m | f7ufo4r | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|sor|>Is this ... hand optimization? It's gotta be, right? Sometimes it's worth it to unroll loops or to auto generate code to avoid creating strings on the fly for that tiny extra bit of pr... | 62 |
programminghorror | Papa_Furanku | f7tyyfa | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|sor|>kill it with fire<|eor|><|eols|><|endoftext|> | 59 |
programminghorror | h4xrk1m | f7u5vi4 | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|sor|>Is this ... hand optimization? It's gotta be, right? Sometimes it's worth it to unroll loops or to auto generate code to avoid creating strings on the fly for that tiny extra bit of pr... | 46 |
programminghorror | TheRedmanCometh | f7ueqkm | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|sor|>I'm pretty sure the compiler did this as a result of ahead-of-time optimization. You see this all the time in java bytecode and C# CIL<|eor|><|eols|><|endoftext|> | 44 |
programminghorror | dumbasPL | f7uu78y | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|sor|>Is this ... hand optimization? It's gotta be, right? Sometimes it's worth it to unroll loops or to auto generate code to avoid creating strings on the fly for that tiny extra bit of pr... | 34 |
programminghorror | dumbasPL | f7u6dod | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|sor|>Just curious, what happens when `pid` is `5` or `8` through `3073`?<|eor|><|soopr|>`return string.Empty;`
or `return 0;` in case of ConvertPidFromStringToInt<|eoopr|><|eols|><|endoftex... | 30 |
programminghorror | crocodile_red | f7u3pnq | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|sor|>Not sure I understood the calculator part. Is it just there or did I miss the joke?<|eor|><|sor|>in default part, int value is converted to hex by each switch statement thus int:3074 (... | 29 |
programminghorror | leftofzen | f7wyzle | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|sor|>When you get paid per line of code submitted<|eor|><|sor|>Yeah I get the feeling this was written after management decided LOC was a good way to measure performance<|eor|><|sor|>Wait, ... | 28 |
programminghorror | DXPower | f7uhv84 | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|sor|>I'm pretty sure the compiler did this as a result of ahead-of-time optimization. You see this all the time in java bytecode and C# CIL<|eor|><|sor|>I would say no because of the double... | 26 |
programminghorror | dumbasPL | f7u7xyk | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|sor|>Someone should crosspost this on r/pcgaming or r/pcmasterrace if it hasn't been already.<|eor|><|soopr|>Most people out there won't understand what does this even mean.<|eoopr|><|eols|... | 26 |
programminghorror | GamesMaxed | f7v3nak | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|sor|>Is this ... hand optimization? It's gotta be, right? Sometimes it's worth it to unroll loops or to auto generate code to avoid creating strings on the fly for that tiny extra bit of pr... | 24 |
programminghorror | jordanbtucker | f7u57lr | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|sor|>[deleted]<|eor|><|sor|>You don't need a hash table to convert a number to a hex string.<|eor|><|eols|><|endoftext|> | 23 |
programminghorror | cat_police_officer | f7wheez | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|sor|>I'm pretty sure the compiler did this as a result of ahead-of-time optimization. You see this all the time in java bytecode and C# CIL<|eor|><|sor|>I would say no because of the double... | 22 |
programminghorror | ChemicalRascal | f7wdigy | <|sols|><|sot|>and you wonder why CORSAIR iCUE folder is almost 600MB big<|eot|><|sol|>https://i.redd.it/g37h5rn1t9z31.png<|eol|><|sor|>When you get paid per line of code submitted<|eor|><|sor|>Yeah I get the feeling this was written after management decided LOC was a good way to measure performance<|eor|><|sor|>Wait, ... | 22 |
programminghorror | Nsber | skcovd | <|sols|><|sot|>May I present to you: Superbasic++ - A programming language in german<|eot|><|sol|>https://i.redd.it/w7lqv5ge1tf81.png<|eol|><|eols|><|endoftext|> | 852 |
programminghorror | Neo_Ex0 | hvkqjzl | <|sols|><|sot|>May I present to you: Superbasic++ - A programming language in german<|eot|><|sol|>https://i.redd.it/w7lqv5ge1tf81.png<|eol|><|sor|>das ist fucking ekelhaft<|eor|><|eols|><|endoftext|> | 189 |
programminghorror | JonathanTheZero | hvl1svz | <|sols|><|sot|>May I present to you: Superbasic++ - A programming language in german<|eot|><|sol|>https://i.redd.it/w7lqv5ge1tf81.png<|eol|><|sor|>The keywords are in German while the code is in English... I always thought the other way around was weird but this is just... disgusting<|eor|><|eols|><|endoftext|> | 152 |
programminghorror | Beneficial-Reward712 | hvkafsc | <|sols|><|sot|>May I present to you: Superbasic++ - A programming language in german<|eot|><|sol|>https://i.redd.it/w7lqv5ge1tf81.png<|eol|><|sor|>Will not compile if you are not using capital letters. Also, imagine the compiler/other errors.<|eor|><|eols|><|endoftext|> | 112 |
programminghorror | timihimself | hvlwaoi | <|sols|><|sot|>May I present to you: Superbasic++ - A programming language in german<|eot|><|sol|>https://i.redd.it/w7lqv5ge1tf81.png<|eol|><|sor|>Will not compile if you are not using capital letters. Also, imagine the compiler/other errors.<|eor|><|sor|>Error on line 19: 'das' is not the correct article for 'Preis' i... | 111 |
programminghorror | ISeeTheFnords | hvm7jqp | <|sols|><|sot|>May I present to you: Superbasic++ - A programming language in german<|eot|><|sol|>https://i.redd.it/w7lqv5ge1tf81.png<|eol|><|sor|>Will not compile if you are not using capital letters. Also, imagine the compiler/other errors.<|eor|><|sor|>There are no warnings. Everything is an error.<|eor|><|eols|><|... | 51 |
programminghorror | HobblingCobbler | hvk9iqp | <|sols|><|sot|>May I present to you: Superbasic++ - A programming language in german<|eot|><|sol|>https://i.redd.it/w7lqv5ge1tf81.png<|eol|><|sor|>Its in Germanglish<|eor|><|eols|><|endoftext|> | 46 |
programminghorror | Sqeezo | hvmm5km | <|sols|><|sot|>May I present to you: Superbasic++ - A programming language in german<|eot|><|sol|>https://i.redd.it/w7lqv5ge1tf81.png<|eol|><|sor|>Let me present you git commands in German
https://github.com/danielauener/git-auf-deutsch
Or even in bavarian
https://github.com/danielauener/git-auf-deutsch/blob/master/... | 36 |
programminghorror | KamehlionHD | hvl21e7 | <|sols|><|sot|>May I present to you: Superbasic++ - A programming language in german<|eot|><|sol|>https://i.redd.it/w7lqv5ge1tf81.png<|eol|><|sor|>das ist fucking ekelhaft<|eor|><|sor|>in der tat<|eor|><|eols|><|endoftext|> | 31 |
programminghorror | hesapmakinesi | hvlhzzp | <|sols|><|sot|>May I present to you: Superbasic++ - A programming language in german<|eot|><|sol|>https://i.redd.it/w7lqv5ge1tf81.png<|eol|><|sor|>What is wrong with regular BASIC?<|eor|><|sor|>Not German enough.<|eor|><|eols|><|endoftext|> | 26 |
programminghorror | gothicVI | hvkcwbe | <|sols|><|sot|>May I present to you: Superbasic++ - A programming language in german<|eot|><|sol|>https://i.redd.it/w7lqv5ge1tf81.png<|eol|><|sor|>Its in Germanglish<|eor|><|sor|>Denglis(c)h<|eor|><|eols|><|endoftext|> | 25 |
programminghorror | enjakuro | hvm9roe | <|sols|><|sot|>May I present to you: Superbasic++ - A programming language in german<|eot|><|sol|>https://i.redd.it/w7lqv5ge1tf81.png<|eol|><|sor|>Will not compile if you are not using capital letters. Also, imagine the compiler/other errors.<|eor|><|sor|>Mei mei mei was sehe ich denn da? Sie haben die Klammer auf Zeil... | 22 |
programminghorror | ancientstraits | hvkf9a9 | <|sols|><|sot|>May I present to you: Superbasic++ - A programming language in german<|eot|><|sol|>https://i.redd.it/w7lqv5ge1tf81.png<|eol|><|sor|>honestly this looks like a nice language. I'd program in it if diareses was optional<|eor|><|eols|><|endoftext|> | 20 |
programminghorror | eloel- | hvl5lnz | <|sols|><|sot|>May I present to you: Superbasic++ - A programming language in german<|eot|><|sol|>https://i.redd.it/w7lqv5ge1tf81.png<|eol|><|sor|>Its in Germanglish<|eor|><|sor|>>Its in Germanglish
That's called Dutch<|eor|><|eols|><|endoftext|> | 20 |
programminghorror | Bansaiii | hvo930q | <|sols|><|sot|>May I present to you: Superbasic++ - A programming language in german<|eot|><|sol|>https://i.redd.it/w7lqv5ge1tf81.png<|eol|><|sor|>The keywords are in German while the code is in English... I always thought the other way around was weird but this is just... disgusting<|eor|><|sor|>Throw in a mix of Germ... | 19 |
programminghorror | enjakuro | hvm9l0b | <|sols|><|sot|>May I present to you: Superbasic++ - A programming language in german<|eot|><|sol|>https://i.redd.it/w7lqv5ge1tf81.png<|eol|><|sor|>NEIN
​
My mother tongue is German but this is just wrong<|eor|><|eols|><|endoftext|> | 18 |
programminghorror | Kasufert | hvmsx3a | <|sols|><|sot|>May I present to you: Superbasic++ - A programming language in german<|eot|><|sol|>https://i.redd.it/w7lqv5ge1tf81.png<|eol|><|sor|>Lets make a language with German keywords
So what is going to be based on? Java? C++? Python?
...
Oh God No...<|eor|><|eols|><|endoftext|> | 16 |
programminghorror | terablast | hvklv7t | <|sols|><|sot|>May I present to you: Superbasic++ - A programming language in german<|eot|><|sol|>https://i.redd.it/w7lqv5ge1tf81.png<|eol|><|sor|>honestly this looks like a nice language. I'd program in it if diareses was optional<|eor|><|sor|>Why are you against accents in code, they're cool!
My dream is that my job... | 16 |
programminghorror | Ok_Detective5953 | hvk4oju | <|sols|><|sot|>May I present to you: Superbasic++ - A programming language in german<|eot|><|sol|>https://i.redd.it/w7lqv5ge1tf81.png<|eol|><|sor|>*Das ist gut code*<|eor|><|eols|><|endoftext|> | 14 |
programminghorror | covid-what | w1bk7f | <|sols|><|sot|>You can never be too sure<|eot|><|sol|>https://i.redd.it/abfit827q5c91.jpg<|eol|><|eols|><|endoftext|> | 853 |
programminghorror | MegaBatchGames | igjhq2i | <|sols|><|sot|>You can never be too sure<|eot|><|sol|>https://i.redd.it/abfit827q5c91.jpg<|eol|><|sor|>The `? true : false` is just adding insult to injury.<|eor|><|eols|><|endoftext|> | 217 |
programminghorror | Digitizer4096 | igjfel2 | <|sols|><|sot|>You can never be too sure<|eot|><|sol|>https://i.redd.it/abfit827q5c91.jpg<|eol|><|sor|> even_numbers = ['illion']
Lol<|eor|><|eols|><|endoftext|> | 119 |
programminghorror | Jvansch1 | igjct3i | <|sols|><|sot|>You can never be too sure<|eot|><|sol|>https://i.redd.it/abfit827q5c91.jpg<|eol|><|sor|>If this is in production, whoever approved this PR should be fired.<|eor|><|eols|><|endoftext|> | 117 |
programminghorror | -Necros- | igjyoyt | <|sols|><|sot|>You can never be too sure<|eot|><|sol|>https://i.redd.it/abfit827q5c91.jpg<|eol|><|sor|>wtf did i just read, this looks like something coming from a github copilot instance trained on meth and cocaine<|eor|><|eols|><|endoftext|> | 67 |
programminghorror | WJMazepas | igjhf7g | <|sols|><|sot|>You can never be too sure<|eot|><|sol|>https://i.redd.it/abfit827q5c91.jpg<|eol|><|sor|>If this is in production, whoever approved this PR should be fired.<|eor|><|sor|>I'm pretty sure this place doesn't have a PR culture<|eor|><|eols|><|endoftext|> | 63 |
programminghorror | mirapalheta | igktbvl | <|sols|><|sot|>You can never be too sure<|eot|><|sol|>https://i.redd.it/abfit827q5c91.jpg<|eol|><|sor|>The `? true : false` is just adding insult to injury.<|eor|><|sor|>thats classic, its the shitty code flag<|eor|><|eols|><|endoftext|> | 48 |
programminghorror | PapieszxD | igjp4w9 | <|sols|><|sot|>You can never be too sure<|eot|><|sol|>https://i.redd.it/abfit827q5c91.jpg<|eol|><|sor|>silly checks aside, the real crime here is not using camel casing for the function name.<|eor|><|eols|><|endoftext|> | 37 |
programminghorror | Isvara | igjlo21 | <|sols|><|sot|>You can never be too sure<|eot|><|sol|>https://i.redd.it/abfit827q5c91.jpg<|eol|><|sor|> even_numbers = ['illion']
Lol<|eor|><|sor|>Hey, don't knock itthat's worth three points!<|eor|><|eols|><|endoftext|> | 36 |
programminghorror | tangerinelion | igktqv5 | <|sols|><|sot|>You can never be too sure<|eot|><|sol|>https://i.redd.it/abfit827q5c91.jpg<|eol|><|sor|>The `? true : false` is just adding insult to injury.<|eor|><|sor|>thats classic, its the shitty code flag<|eor|><|sor|>`a ? false : true` is also a nice one when you don't recognize `!a`
Also fun to throw in some `a... | 36 |
programminghorror | _Pho_ | igjmur0 | <|sols|><|sot|>You can never be too sure<|eot|><|sol|>https://i.redd.it/abfit827q5c91.jpg<|eol|><|sor|>```
function isnumbereven(number) {
if (number % 2) == 0 {
return true
}
return false
}
```<|eor|><|sor|> const isEven = n => !(n % 2)<|eor|><|eols|><|endoftext|> | 27 |
programminghorror | _Pho_ | igjmmpd | <|sols|><|sot|>You can never be too sure<|eot|><|sol|>https://i.redd.it/abfit827q5c91.jpg<|eol|><|sor|>If this is in production, whoever approved this PR should be fired.<|eor|><|sor|>You think whoever wrote this is using version control?<|eor|><|eols|><|endoftext|> | 24 |
programminghorror | Ferociousfeind | igjqk1e | <|sols|><|sot|>You can never be too sure<|eot|><|sol|>https://i.redd.it/abfit827q5c91.jpg<|eol|><|sor|>silly checks aside, the real crime here is not using camel casing for the function name.<|eor|><|sor|>No, it's the `X ? false : true` bits<|eor|><|eols|><|endoftext|> | 22 |
programminghorror | ronin668 | igjaic1 | <|sols|><|sot|>You can never be too sure<|eot|><|sol|>https://i.redd.it/abfit827q5c91.jpg<|eol|><|sor|>Holy shit.<|eor|><|eols|><|endoftext|> | 18 |
programminghorror | BostonBadger15 | igk0y3w | <|sols|><|sot|>You can never be too sure<|eot|><|sol|>https://i.redd.it/abfit827q5c91.jpg<|eol|><|sor|>LMAO at multiple checks for extra even number validation<|eor|><|eols|><|endoftext|> | 16 |
programminghorror | BlackHatSlacker | igju459 | <|sols|><|sot|>You can never be too sure<|eot|><|sol|>https://i.redd.it/abfit827q5c91.jpg<|eol|><|sor|>This has to be some kind of leaning exercise...? Pls?<|eor|><|eols|><|endoftext|> | 15 |
programminghorror | PapieszxD | igjt4kc | <|sols|><|sot|>You can never be too sure<|eot|><|sol|>https://i.redd.it/abfit827q5c91.jpg<|eol|><|sor|>silly checks aside, the real crime here is not using camel casing for the function name.<|eor|><|sor|>No, it's the `X ? false : true` bits<|eor|><|sor|>Ok, I didn't get that far.
Seems like there are multiple crimes ... | 15 |
programminghorror | leopardspotte | igjxrd5 | <|sols|><|sot|>You can never be too sure<|eot|><|sol|>https://i.redd.it/abfit827q5c91.jpg<|eol|><|sor|>If this is in production, whoever approved this PR should be fired.<|eor|><|sor|>I'm pretty sure this place doesn't have a PR culture<|eor|><|sor|>PR?<|eor|><|sor|>Pull request.<|eor|><|eols|><|endoftext|> | 13 |
programminghorror | Secret-Professor-564 | igjun6m | <|sols|><|sot|>You can never be too sure<|eot|><|sol|>https://i.redd.it/abfit827q5c91.jpg<|eol|><|sor|>If this is in production, whoever approved this PR should be fired.<|eor|><|sor|>I'm pretty sure this place doesn't have a PR culture<|eor|><|sor|>PR?<|eor|><|eols|><|endoftext|> | 11 |
programminghorror | RCoder01 | igm0o66 | <|sols|><|sot|>You can never be too sure<|eot|><|sol|>https://i.redd.it/abfit827q5c91.jpg<|eol|><|sor|>The `? true : false` is just adding insult to injury.<|eor|><|sor|>thats classic, its the shitty code flag<|eor|><|sor|>`a ? false : true` is also a nice one when you don't recognize `!a`
Also fun to throw in some `a... | 11 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.