subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programminghorror | BigBowlUdon | hyuod3a | <|sols|><|sot|>Scripting languages must unite to calculate isEven<|eot|><|sol|>https://i.redd.it/lxvspy8slnk81.png<|eol|><|sor|>Appreciate the type hints, but why is function name not in snake case?<|eor|><|eols|><|endoftext|> | 62 |
programminghorror | entropicdrift | hyvsp8g | <|sols|><|sot|>Scripting languages must unite to calculate isEven<|eot|><|sol|>https://i.redd.it/lxvspy8slnk81.png<|eol|><|sor|>A brilliant use of pointless encapsulation. This may be horrific, but it's also art.<|eor|><|eols|><|endoftext|> | 61 |
programminghorror | Hydroblitz3307 | hyvlkv0 | <|sols|><|sot|>Scripting languages must unite to calculate isEven<|eot|><|sol|>https://i.redd.it/lxvspy8slnk81.png<|eol|><|sor|>Wow its fucking hideous<|eor|><|eols|><|endoftext|> | 48 |
programminghorror | gvidas2 | hyvtb5g | <|sols|><|sot|>Scripting languages must unite to calculate isEven<|eot|><|sol|>https://i.redd.it/lxvspy8slnk81.png<|eol|><|sor|>Appreciate the type hints, but why is function name not in snake case?<|eor|><|sor|>camelCase ftw<|eor|><|eols|><|endoftext|> | 23 |
programminghorror | poemsavvy | hyvy6bz | <|sols|><|sot|>Scripting languages must unite to calculate isEven<|eot|><|sol|>https://i.redd.it/lxvspy8slnk81.png<|eol|><|sor|>Here's an attempt at "is even" in Rust:
fn is_even(n: u32) -> bool {
let mut numerator: i64 = n as i64;
while numerator > 0 {
numerator -= 2;
}
... | 22 |
programminghorror | poemsavvy | hyvyns0 | <|sols|><|sot|>Scripting languages must unite to calculate isEven<|eot|><|sol|>https://i.redd.it/lxvspy8slnk81.png<|eol|><|sor|>Here's an attempt at "is even" in Rust:
fn is_even(n: u32) -> bool {
let mut numerator: i64 = n as i64;
while numerator > 0 {
numerator -= 2;
}
... | 22 |
programminghorror | poemsavvy | hyvzba7 | <|sols|><|sot|>Scripting languages must unite to calculate isEven<|eot|><|sol|>https://i.redd.it/lxvspy8slnk81.png<|eol|><|sor|>Here's an attempt at "is even" in Rust:
fn is_even(n: u32) -> bool {
let mut numerator: i64 = n as i64;
while numerator > 0 {
numerator -= 2;
}
... | 19 |
programminghorror | poemsavvy | hyvye8x | <|sols|><|sot|>Scripting languages must unite to calculate isEven<|eot|><|sol|>https://i.redd.it/lxvspy8slnk81.png<|eol|><|sor|>Here's an attempt at "is even" in Rust:
fn is_even(n: u32) -> bool {
let mut numerator: i64 = n as i64;
while numerator > 0 {
numerator -= 2;
}
... | 17 |
programminghorror | poemsavvy | hyvytgh | <|sols|><|sot|>Scripting languages must unite to calculate isEven<|eot|><|sol|>https://i.redd.it/lxvspy8slnk81.png<|eol|><|sor|>Here's an attempt at "is even" in Rust:
fn is_even(n: u32) -> bool {
let mut numerator: i64 = n as i64;
while numerator > 0 {
numerator -= 2;
}
... | 17 |
programminghorror | Jhuyt | hywk66j | <|sols|><|sot|>Scripting languages must unite to calculate isEven<|eot|><|sol|>https://i.redd.it/lxvspy8slnk81.png<|eol|><|sor|>Appreciate the type hints, but why is function name not in snake case?<|eor|><|sor|>camelCase ftw<|eor|><|sor|>*screams in python<|eor|><|eols|><|endoftext|> | 14 |
programminghorror | wojtek-graj | hyw8d69 | <|sols|><|sot|>Scripting languages must unite to calculate isEven<|eot|><|sol|>https://i.redd.it/lxvspy8slnk81.png<|eol|><|sor|>I love how the amount of backslashes required increases the deeper you go<|eor|><|soopr|>And their quantity increases exponentially!<|eoopr|><|eols|><|endoftext|> | 12 |
programminghorror | la_grandeur | hyw1eae | <|sols|><|sot|>Scripting languages must unite to calculate isEven<|eot|><|sol|>https://i.redd.it/lxvspy8slnk81.png<|eol|><|sor|>How is this programming horror? You definitely did not encounter this in the wild. Sad.<|eor|><|eols|><|endoftext|> | 10 |
programminghorror | h4ckt1c | hywx2rb | <|sols|><|sot|>Scripting languages must unite to calculate isEven<|eot|><|sol|>https://i.redd.it/lxvspy8slnk81.png<|eol|><|sor|>Why don't we wrap this whole thing in a bash script and dockerize it?!<|eor|><|eols|><|endoftext|> | 9 |
programminghorror | lor3nzzo | hyw3c0b | <|sols|><|sot|>Scripting languages must unite to calculate isEven<|eot|><|sol|>https://i.redd.it/lxvspy8slnk81.png<|eol|><|sor|>Here's an attempt at "is even" in Rust:
fn is_even(n: u32) -> bool {
let mut numerator: i64 = n as i64;
while numerator > 0 {
numerator -= 2;
}
... | 6 |
programminghorror | Jhuyt | hyxkxdt | <|sols|><|sot|>Scripting languages must unite to calculate isEven<|eot|><|sol|>https://i.redd.it/lxvspy8slnk81.png<|eol|><|sor|>Appreciate the type hints, but why is function name not in snake case?<|eor|><|sor|>camelCase ftw<|eor|><|sor|>*screams in python<|eor|><|sor|>Python <= js
Like why cant you do x++ or
if (x =... | 5 |
programminghorror | coffeewithalina | id9cv4 | <|sols|><|sot|>Well thanks for that information, I guess<|eot|><|sol|>https://i.redd.it/tulbp5jmi5i51.jpg<|eol|><|eols|><|endoftext|> | 817 |
programminghorror | 2Insaiyan | g2925y3 | <|sols|><|sot|>Well thanks for that information, I guess<|eot|><|sol|>https://i.redd.it/tulbp5jmi5i51.jpg<|eol|><|sor|>Who still uses XML.<|eor|><|sor|>Uh, I'd say most companies that aren't brand new<|eor|><|eols|><|endoftext|> | 49 |
programminghorror | pls-love-me | g290ijz | <|sols|><|sot|>Well thanks for that information, I guess<|eot|><|sol|>https://i.redd.it/tulbp5jmi5i51.jpg<|eol|><|sor|>Who still uses XML.<|eor|><|sor|>What is the hot stuff at the moment?<|eor|><|sor|>Well, JSON? SOAP is a thing of past, so not much reason to be forced to use XML. With REST, you can still use XML, but... | 39 |
programminghorror | pls-love-me | g28wmj1 | <|sols|><|sot|>Well thanks for that information, I guess<|eot|><|sol|>https://i.redd.it/tulbp5jmi5i51.jpg<|eol|><|sor|>Who still uses XML.<|eor|><|eols|><|endoftext|> | 37 |
programminghorror | anon38723918569 | g29a9hb | <|sols|><|sot|>Well thanks for that information, I guess<|eot|><|sol|>https://i.redd.it/tulbp5jmi5i51.jpg<|eol|><|sor|>You should censor with the shapes instead of the pencil or marker<|eor|><|sor|>If only they would make it easier to properly use the shapes for example they could finally save that I ALWAYS use a black... | 33 |
programminghorror | pls-love-me | g291l7a | <|sols|><|sot|>Well thanks for that information, I guess<|eot|><|sol|>https://i.redd.it/tulbp5jmi5i51.jpg<|eol|><|sor|>Who still uses XML.<|eor|><|sor|>What is the hot stuff at the moment?<|eor|><|sor|>Well, JSON? SOAP is a thing of past, so not much reason to be forced to use XML. With REST, you can still use XML, but... | 27 |
programminghorror | pqowie313 | g297xxl | <|sols|><|sot|>Well thanks for that information, I guess<|eot|><|sol|>https://i.redd.it/tulbp5jmi5i51.jpg<|eol|><|sor|>Who still uses XML.<|eor|><|sor|>What is the hot stuff at the moment?<|eor|><|sor|>Well, JSON? SOAP is a thing of past, so not much reason to be forced to use XML. With REST, you can still use XML, but... | 26 |
programminghorror | imdruknlol | g29adqp | <|sols|><|sot|>Well thanks for that information, I guess<|eot|><|sol|>https://i.redd.it/tulbp5jmi5i51.jpg<|eol|><|sor|>Who still uses XML.<|eor|><|sor|>maven pom.xml?<|eor|><|eols|><|endoftext|> | 24 |
programminghorror | diamondjim | g29z4zw | <|sols|><|sot|>Well thanks for that information, I guess<|eot|><|sol|>https://i.redd.it/tulbp5jmi5i51.jpg<|eol|><|sor|>You should censor with the shapes instead of the pencil or marker<|eor|><|sor|>Our entire tech stack is built on SOAP. Were not just using XML. Were smearing the worst parts of it all over our bodies a... | 9 |
programminghorror | pls-love-me | g29a1pv | <|sols|><|sot|>Well thanks for that information, I guess<|eot|><|sol|>https://i.redd.it/tulbp5jmi5i51.jpg<|eol|><|sor|>Who still uses XML.<|eor|><|sor|>Uh, I'd say most companies that aren't brand new<|eor|><|sor|>You're right. I've seen some xml in some old projects at my company.<|eor|><|eols|><|endoftext|> | 9 |
programminghorror | Koxiaet | g292w52 | <|sols|><|sot|>Well thanks for that information, I guess<|eot|><|sol|>https://i.redd.it/tulbp5jmi5i51.jpg<|eol|><|sor|>Who still uses XML.<|eor|><|sor|>What is the hot stuff at the moment?<|eor|><|sor|>Well, JSON? SOAP is a thing of past, so not much reason to be forced to use XML. With REST, you can still use XML, but... | 9 |
programminghorror | TheTruffi | g28zwtf | <|sols|><|sot|>Well thanks for that information, I guess<|eot|><|sol|>https://i.redd.it/tulbp5jmi5i51.jpg<|eol|><|sor|>Who still uses XML.<|eor|><|sor|>What is the hot stuff at the moment?<|eor|><|eols|><|endoftext|> | 8 |
programminghorror | DerCed | g296m5p | <|sols|><|sot|>Well thanks for that information, I guess<|eot|><|sol|>https://i.redd.it/tulbp5jmi5i51.jpg<|eol|><|sor|>Welcome to the Club. I recieved one aswell.<|eor|><|eols|><|endoftext|> | 5 |
programminghorror | TheTruffi | g2925ca | <|sols|><|sot|>Well thanks for that information, I guess<|eot|><|sol|>https://i.redd.it/tulbp5jmi5i51.jpg<|eol|><|sor|>Who still uses XML.<|eor|><|sor|>What is the hot stuff at the moment?<|eor|><|sor|>Well, JSON? SOAP is a thing of past, so not much reason to be forced to use XML. With REST, you can still use XML, but... | 5 |
programminghorror | LegendaryFroddo | ecer48 | <|sols|><|sot|>It's hard to check for undefined variables in JS<|eot|><|sol|>https://i.redd.it/0ifib3ag3f541.png<|eol|><|eols|><|endoftext|> | 821 |
programminghorror | PhilippTheProgrammer | fbb5nzf | <|sols|><|sot|>It's hard to check for undefined variables in JS<|eot|><|sol|>https://i.redd.it/0ifib3ag3f541.png<|eol|><|sor|>Checking for undefined in JavaScript isn't actually all that trivial. Are you using `if (variable == undefined)`? Sorry, but `undefined == null` returns true. The difference between null and und... | 226 |
programminghorror | voords | fbbed3v | <|sols|><|sot|>It's hard to check for undefined variables in JS<|eot|><|sol|>https://i.redd.it/0ifib3ag3f541.png<|eol|><|sor|>Checking for undefined in JavaScript isn't actually all that trivial. Are you using `if (variable == undefined)`? Sorry, but `undefined == null` returns true. The difference between null and und... | 172 |
programminghorror | LegendaryFroddo | fbat50w | <|sols|><|sot|>It's hard to check for undefined variables in JS<|eot|><|sol|>https://i.redd.it/0ifib3ag3f541.png<|eol|><|soopr|>For anyone wondering, this is in production and I only noticed it during peer reviewing somebody elses code which was going to make use of this<|eoopr|><|eols|><|endoftext|> | 119 |
programminghorror | Seblor | fbbfgt9 | <|sols|><|sot|>It's hard to check for undefined variables in JS<|eot|><|sol|>https://i.redd.it/0ifib3ag3f541.png<|eol|><|sor|>Checking for undefined in JavaScript isn't actually all that trivial. Are you using `if (variable == undefined)`? Sorry, but `undefined == null` returns true. The difference between null and und... | 105 |
programminghorror | ShellbertShellbach | fbbefci | <|sols|><|sot|>It's hard to check for undefined variables in JS<|eot|><|sol|>https://i.redd.it/0ifib3ag3f541.png<|eol|><|sor|>Checking for undefined in JavaScript isn't actually all that trivial. Are you using `if (variable == undefined)`? Sorry, but `undefined == null` returns true. The difference between null and und... | 64 |
programminghorror | Seblor | fbbfapt | <|sols|><|sot|>It's hard to check for undefined variables in JS<|eot|><|sol|>https://i.redd.it/0ifib3ag3f541.png<|eol|><|sor|>Checking for undefined in JavaScript isn't actually all that trivial. Are you using `if (variable == undefined)`? Sorry, but `undefined == null` returns true. The difference between null and und... | 54 |
programminghorror | tunczyko | fbbtmey | <|sols|><|sot|>It's hard to check for undefined variables in JS<|eot|><|sol|>https://i.redd.it/0ifib3ag3f541.png<|eol|><|sor|>Checking for undefined in JavaScript isn't actually all that trivial. Are you using `if (variable == undefined)`? Sorry, but `undefined == null` returns true. The difference between null and und... | 21 |
programminghorror | roxer123 | fbbrbtm | <|sols|><|sot|>It's hard to check for undefined variables in JS<|eot|><|sol|>https://i.redd.it/0ifib3ag3f541.png<|eol|><|sor|>you could try "npm install -g typescript"<|eor|><|eols|><|endoftext|> | 20 |
programminghorror | sQuar3x | fbbfhi3 | <|sols|><|sot|>It's hard to check for undefined variables in JS<|eot|><|sol|>https://i.redd.it/0ifib3ag3f541.png<|eol|><|sor|>Checking for undefined in JavaScript isn't actually all that trivial. Are you using `if (variable == undefined)`? Sorry, but `undefined == null` returns true. The difference between null and und... | 19 |
programminghorror | serg06 | fbdat7r | <|sols|><|sot|>It's hard to check for undefined variables in JS<|eot|><|sol|>https://i.redd.it/0ifib3ag3f541.png<|eol|><|sor|>Checking for undefined in JavaScript isn't actually all that trivial. Are you using `if (variable == undefined)`? Sorry, but `undefined == null` returns true. The difference between null and und... | 18 |
programminghorror | wagedomain | fbbexs7 | <|sols|><|sot|>It's hard to check for undefined variables in JS<|eot|><|sol|>https://i.redd.it/0ifib3ag3f541.png<|eol|><|sor|>Checking for undefined in JavaScript isn't actually all that trivial. Are you using `if (variable == undefined)`? Sorry, but `undefined == null` returns true. The difference between null and und... | 17 |
programminghorror | Earhacker | fbbu0i9 | <|sols|><|sot|>It's hard to check for undefined variables in JS<|eot|><|sol|>https://i.redd.it/0ifib3ag3f541.png<|eol|><|sor|>JavaScript never should have been allowed into the realms of real programming languages like C, C++ (C with objects), JAVA (C++ running on a virtual machine) etc etc.<|eor|><|sor|>Yeah we should... | 17 |
programminghorror | I_know_HTML | fbc7yuw | <|sols|><|sot|>It's hard to check for undefined variables in JS<|eot|><|sol|>https://i.redd.it/0ifib3ag3f541.png<|eol|><|soopr|>For anyone wondering, this is in production and I only noticed it during peer reviewing somebody elses code which was going to make use of this<|eoopr|><|sor|>amazing<|eor|><|eols|><|endoftext... | 15 |
programminghorror | HiddenKrypt | fbcco9y | <|sols|><|sot|>It's hard to check for undefined variables in JS<|eot|><|sol|>https://i.redd.it/0ifib3ag3f541.png<|eol|><|sor|>Checking for undefined in JavaScript isn't actually all that trivial. Are you using `if (variable == undefined)`? Sorry, but `undefined == null` returns true. The difference between null and und... | 15 |
programminghorror | ChemicalRascal | fbcfv8r | <|sols|><|sot|>It's hard to check for undefined variables in JS<|eot|><|sol|>https://i.redd.it/0ifib3ag3f541.png<|eol|><|sor|>Checking for undefined in JavaScript isn't actually all that trivial. Are you using `if (variable == undefined)`? Sorry, but `undefined == null` returns true. The difference between null and und... | 14 |
programminghorror | Earhacker | fbbtpgx | <|sols|><|sot|>It's hard to check for undefined variables in JS<|eot|><|sol|>https://i.redd.it/0ifib3ag3f541.png<|eol|><|sor|>Checking for undefined in JavaScript isn't actually all that trivial. Are you using `if (variable == undefined)`? Sorry, but `undefined == null` returns true. The difference between null and und... | 14 |
programminghorror | ShellbertShellbach | fbbeh1g | <|sols|><|sot|>It's hard to check for undefined variables in JS<|eot|><|sol|>https://i.redd.it/0ifib3ag3f541.png<|eol|><|sor|> const IfDefined = (s = '') => s;<|eor|><|eols|><|endoftext|> | 13 |
programminghorror | umop_aplsdn | fbdcia9 | <|sols|><|sot|>It's hard to check for undefined variables in JS<|eot|><|sol|>https://i.redd.it/0ifib3ag3f541.png<|eol|><|sor|>Checking for undefined in JavaScript isn't actually all that trivial. Are you using `if (variable == undefined)`? Sorry, but `undefined == null` returns true. The difference between null and und... | 12 |
programminghorror | inacatch22 | fbbpofn | <|sols|><|sot|>It's hard to check for undefined variables in JS<|eot|><|sol|>https://i.redd.it/0ifib3ag3f541.png<|eol|><|sor|>Why would you ever need to check for undefined specifically? Undefined is a falsy type, way easier to just check with `if (!s)`<|eor|><|sor|>There's a lot of places I've seen if (!variable) chec... | 10 |
programminghorror | AyrA_ch | alquzo | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|eols|><|endoftext|> | 819 |
programminghorror | DervishiD | efg78be | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|sor|>I can't even imagine something that should be represented by that.<|eor|><|eols|><|endoftext|> | 163 |
programminghorror | AyrA_ch | efg7aru | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|soopr|>What you see here is a database model I have to work with this week.
- Yes, it really is only at 6% zoom.
- PDF takes about 3 seconds to render on a Core i7. It's vector based.
- It misses about 20% of all ta... | 137 |
programminghorror | AyrA_ch | efg7hm6 | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|sor|>I can't even imagine something that should be represented by that.<|eor|><|soopr|>It's a software for car dealerships, part vendors and shops<|eoopr|><|eols|><|endoftext|> | 117 |
programminghorror | mfcneri | efgb51o | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|sor|>I can't even imagine something that should be represented by that.<|eor|><|soopr|>It's a software for car dealerships, part vendors and shops<|eoopr|><|sor|>That explains it, one of my clients still uses a parad... | 58 |
programminghorror | Thriven | efglccg | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|soopr|>What you see here is a database model I have to work with this week.
- Yes, it really is only at 6% zoom.
- PDF takes about 3 seconds to render on a Core i7. It's vector based.
- It misses about 20% of all ta... | 46 |
programminghorror | HughMunguz | efgctjn | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|sor|>This could be worth millions someday as modern art.<|eor|><|eols|><|endoftext|> | 45 |
programminghorror | mfcneri | efgdhkt | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|sor|>I can't even imagine something that should be represented by that.<|eor|><|soopr|>It's a software for car dealerships, part vendors and shops<|eoopr|><|sor|>That explains it, one of my clients still uses a parad... | 28 |
programminghorror | lucidspoon | efgehvp | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|sor|>I worked at a place that used sparse columns as a way for end users to essentially create their own columns in the main table. It eventually had well over 4,000 columns, so you couldn't even see the whole thing ... | 25 |
programminghorror | survivingtheworkday | efgxual | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|sor|>I can't even imagine something that should be represented by that.<|eor|><|soopr|>It's a software for car dealerships, part vendors and shops<|eoopr|><|sor|>That explains it, one of my clients still uses a parad... | 21 |
programminghorror | ThePsion5 | efgxg4p | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|sor|>I can't even imagine something that should be represented by that.<|eor|><|soopr|>It's a software for car dealerships, part vendors and shops<|eoopr|><|sor|>That explains it, one of my clients still uses a parad... | 18 |
programminghorror | AtomicSpectrum | efgf7a4 | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|sor|>Here, we only use natural, home-grown databases. Those artificial "reasonable" models are unhealthy! <|eor|><|eols|><|endoftext|> | 16 |
programminghorror | Avamander | efgf693 | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|sor|>How do you generate that graph? The database I'm working on is as big but no foreign key.. And another one is over a hundred tabels so they could generate some pretty graph<|eor|><|sor|>Jesus, no foreign keys.<|... | 16 |
programminghorror | mikeputerbaugh | efgshyp | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|sor|>I thought that some of the ones I've worked with in my career have been bad, but at least they were capable of being represented in Euclidean space.<|eor|><|eols|><|endoftext|> | 13 |
programminghorror | Thriven | efh65on | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|soopr|>What you see here is a database model I have to work with this week.
- Yes, it really is only at 6% zoom.
- PDF takes about 3 seconds to render on a Core i7. It's vector based.
- It misses about 20% of all ta... | 13 |
programminghorror | Thriven | efh8xgv | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|soopr|>What you see here is a database model I have to work with this week.
- Yes, it really is only at 6% zoom.
- PDF takes about 3 seconds to render on a Core i7. It's vector based.
- It misses about 20% of all ta... | 13 |
programminghorror | AyrA_ch | efgwbgw | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|soopr|>What you see here is a database model I have to work with this week.
- Yes, it really is only at 6% zoom.
- PDF takes about 3 seconds to render on a Core i7. It's vector based.
- It misses about 20% of all ta... | 12 |
programminghorror | AyrA_ch | efhcgs8 | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|soopr|>What you see here is a database model I have to work with this week.
- Yes, it really is only at 6% zoom.
- PDF takes about 3 seconds to render on a Core i7. It's vector based.
- It misses about 20% of all ta... | 12 |
programminghorror | mfcneri | efgvmpi | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|sor|>I can't even imagine something that should be represented by that.<|eor|><|soopr|>It's a software for car dealerships, part vendors and shops<|eoopr|><|sor|>That explains it, one of my clients still uses a parad... | 12 |
programminghorror | AyrA_ch | efhmxil | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|soopr|>What you see here is a database model I have to work with this week.
- Yes, it really is only at 6% zoom.
- PDF takes about 3 seconds to render on a Core i7. It's vector based.
- It misses about 20% of all ta... | 12 |
programminghorror | arimhan | efgjj58 | <|sols|><|sot|>"Historically Grown" Database Model<|eot|><|sol|>https://i.imgur.com/j9d2fgX.png<|eol|><|sor|>How do you generate that graph? The database I'm working on is as big but no foreign key.. And another one is over a hundred tabels so they could generate some pretty graph<|eor|><|sor|>Jesus, no foreign keys.<|... | 11 |
programminghorror | ATE47 | 13eh29t | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|eols|><|endoftext|> | 824 |
programminghorror | safull | jjpvxfy | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|sor|>TIL you can use r/programminghorror for code review<|eor|><|eols|><|endoftext|> | 595 |
programminghorror | Heavy-Razzmatazz-610 | jjptx9k | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|sor|>At least tell what the variable does. What keeps you from naming it should_continue or toggle_continue?<|eor|><|eol... | 453 |
programminghorror | arienh4 | jjpx752 | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|sor|>TIL you can use r/programminghorror for code review<|eor|><|sor|>Just a great implementation of [Cunningham's Law](... | 325 |
programminghorror | Handle-Flaky | jjptbf6 | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|sor|>Have you considered if statements?
Wtf is is false<|eor|><|eols|><|endoftext|> | 318 |
programminghorror | Agile_Voice_2643 | jjq3btd | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|sor|>Have you considered if statements?
Wtf is is false<|eor|><|sor|>the 'is_false' got me laughing. is_false = true me... | 159 |
programminghorror | Heavy-Razzmatazz-610 | jjpu4sn | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|sor|>At least tell what the variable does. What keeps you from naming it should_continue or toggle_continue?<|eor|><|sor... | 115 |
programminghorror | alvarez_tomas | jjpxe0s | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|sor|>Back to basics, use ifs.<|eor|><|eols|><|endoftext|> | 71 |
programminghorror | _huppenzuppen | jjro25q | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|sor|>At least tell what the variable does. What keeps you from naming it should_continue or toggle_continue?<|eor|><|sor... | 59 |
programminghorror | WolfOfYoitsu | jjpzx28 | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|sor|>Can you use goto? :D<|eor|><|soopr|>even if it was working, it would be a big no :D
Edit: not working because its ... | 58 |
programminghorror | Phlm_br | jjpxhc4 | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|sor|>Sleepy-ass me read the title as
>I'm working with a *company* that doesn't support "continue" if it's in a switch... | 56 |
programminghorror | ATE47 | jjq0e6a | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|sor|>Can you use goto? :D<|eor|><|soopr|>even if it was working, it would be a big no :D
Edit: not working because its ... | 55 |
programminghorror | SquidsAlien | jjq9jh3 | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|sor|>You *really* need to try harder with your variable names...<|eor|><|eols|><|endoftext|> | 53 |
programminghorror | n0tKamui | jjq72d3 | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|sor|>TIL you can use r/programminghorror for code review<|eor|><|sor|>Just a great implementation of [Cunningham's Law](... | 40 |
programminghorror | chris-fry | jjq3jv3 | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|sor|>Have you considered if statements?
Wtf is is false<|eor|><|sor|>not is_true, of course<|eor|><|eols|><|endoftext|> | 36 |
programminghorror | ATE47 | jjq04rr | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|sor|>Can you use goto? :D<|eor|><|soopr|>even if it was working, it would be a big no :D
Edit: not working because its ... | 34 |
programminghorror | ATE47 | jjptx7t | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|sor|>Have you considered if statements?
Wtf is is false<|eor|><|soopr|>I have considered to implement better jump opera... | 32 |
programminghorror | mikat7 | jjpx19i | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|sor|>Can you use goto? :D<|eor|><|eols|><|endoftext|> | 31 |
programminghorror | orgkhnargh | jjqaqha | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|sor|>This is fine logically. The only thing bad about it is the naming. If you called the flag that determines whether t... | 26 |
programminghorror | Digitizer4096 | jjq6l9b | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|sor|>TIL you can use r/programminghorror for code review<|eor|><|sor|>Just a great implementation of [Cunningham's Law](... | 24 |
programminghorror | CardiologistOk2760 | jjqjr9r | <|sols|><|sot|>I'm working with a compiler that doesn't support "continue" if it's in a switch, so I wrote this thing... (I'm not proud of it)<|eot|><|sol|>https://i.redd.it/ct2u0rqtw5za1.png<|eol|><|sor|>Have you considered if statements?
Wtf is is false<|eor|><|sor|>Should have used isnt_false = true, that would hav... | 22 |
programminghorror | k_ekse | wz9uu3 | <|sols|><|sot|>name creativity lvl > 9000<|eot|><|sol|>https://i.redd.it/x8s0a41euak91.jpg<|eol|><|eols|><|endoftext|> | 819 |
programminghorror | Familiar_Ad_8919 | im1vrqw | <|sols|><|sot|>name creativity lvl > 9000<|eot|><|sol|>https://i.redd.it/x8s0a41euak91.jpg<|eol|><|sor|>when i was trying to design a custom memory model for my "language" i ended up calling the data just data
(int)memory[x].data.data.data lol<|eor|><|eols|><|endoftext|> | 132 |
programminghorror | ThePharros | im1xoj7 | <|sols|><|sot|>name creativity lvl > 9000<|eot|><|sol|>https://i.redd.it/x8s0a41euak91.jpg<|eol|><|sor|>when i was trying to design a custom memory model for my "language" i ended up calling the data just data
(int)memory[x].data.data.data lol<|eor|><|sor|>found the python module dev<|eor|><|eols|><|endoftext|> | 74 |
programminghorror | garethbrownsays | im1tych | <|sols|><|sot|>name creativity lvl > 9000<|eot|><|sol|>https://i.redd.it/x8s0a41euak91.jpg<|eol|><|sor|>nonce <|eor|><|eols|><|endoftext|> | 64 |
programminghorror | SpicyTamata | im2au9s | <|sols|><|sot|>name creativity lvl > 9000<|eot|><|sol|>https://i.redd.it/x8s0a41euak91.jpg<|eol|><|sor|>nonce <|eor|><|sor|>Spot the brit.<|eor|><|eols|><|endoftext|> | 40 |
programminghorror | MereInterest | im2ph1w | <|sols|><|sot|>name creativity lvl > 9000<|eot|><|sol|>https://i.redd.it/x8s0a41euak91.jpg<|eol|><|sor|>No one's gonna talk about the "hasValidValid" variable cut off by the screenshot?<|eor|><|sor|>I'm trying to think of the context where that would be relevant. "We're tracking how often customers make invalid orders... | 38 |
programminghorror | elreniel2020 | im1kax6 | <|sols|><|sot|>name creativity lvl > 9000<|eot|><|sol|>https://i.redd.it/x8s0a41euak91.jpg<|eol|><|sor|>What's the point of Json encryption/decryption?<|eor|><|eols|><|endoftext|> | 30 |
programminghorror | Jegnzc | im1povr | <|sols|><|sot|>name creativity lvl > 9000<|eot|><|sol|>https://i.redd.it/x8s0a41euak91.jpg<|eol|><|sor|>What's the point of Json encryption/decryption?<|eor|><|sor|>That's what I was thinking, isn't JSON 'encrypted' by default by HTTPs protocol?<|eor|><|eols|><|endoftext|> | 20 |
programminghorror | backfire10z | im2r68t | <|sols|><|sot|>name creativity lvl > 9000<|eot|><|sol|>https://i.redd.it/x8s0a41euak91.jpg<|eol|><|sor|>nonce <|eor|><|sor|>Blimey weve got a nonce in our midst<|eor|><|eols|><|endoftext|> | 15 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.