subreddit stringclasses 7
values | author stringlengths 3 20 | id stringlengths 5 7 | content stringlengths 67 30.4k | score int64 0 140k |
|---|---|---|---|---|
programminghorror | Horyv | fjzm8cv | <|sols|><|sot|>Who needs comments when you can just name the variable as the comment?<|eot|><|sol|>https://i.redd.it/ayn5mqtiuil41.png<|eol|><|sor|>Objective-C: None can rival my naming style.
PHP: Hold my beer.<|eor|><|sor|>PHP - where one naming style is not enough, and having 4, or better yet 5 different naming s... | 23 |
programminghorror | Xadnem | fjzidx6 | <|sols|><|sot|>Who needs comments when you can just name the variable as the comment?<|eot|><|sol|>https://i.redd.it/ayn5mqtiuil41.png<|eol|><|sor|>I do like descriptive variable names, though.<|eor|><|sor|>But not that descriptive.<|eor|><|sor|>If I had to pick between this, and that variable being named something lik... | 23 |
programminghorror | wibblewafs | fjz4bax | <|sols|><|sot|>Who needs comments when you can just name the variable as the comment?<|eot|><|sol|>https://i.redd.it/ayn5mqtiuil41.png<|eol|><|sor|>Java developer: I don't see the problem here? NVM, it should be a collection not an array. People are so dumb! \s<|eor|><|sor|>Could do with some more bean factories, too.<... | 21 |
programminghorror | RiddSann | fjz3h1e | <|sols|><|sot|>Who needs comments when you can just name the variable as the comment?<|eot|><|sol|>https://i.redd.it/ayn5mqtiuil41.png<|eol|><|sor|>What type of business is this for?<|eor|><|sor|>Hell's delivery system I'd guess ?<|eor|><|eols|><|endoftext|> | 19 |
programminghorror | ThatCheesyPotato | fjz5onv | <|sols|><|sot|>Who needs comments when you can just name the variable as the comment?<|eot|><|sol|>https://i.redd.it/ayn5mqtiuil41.png<|eol|><|sor|>What type of business is this for?<|eor|><|soopr|>Oil.<|eoopr|><|eols|><|endoftext|> | 13 |
programminghorror | Fedzbar | fjz9cs1 | <|sols|><|sot|>Who needs comments when you can just name the variable as the comment?<|eot|><|sol|>https://i.redd.it/ayn5mqtiuil41.png<|eol|><|sor|>That might be a bit over the top, but I tend to prefer longer variable and function names over comments. It just makes it much more readable.<|eor|><|eols|><|endoftext|> | 12 |
programminghorror | dibbly_dobblies | fjzwb1c | <|sols|><|sot|>Who needs comments when you can just name the variable as the comment?<|eot|><|sol|>https://i.redd.it/ayn5mqtiuil41.png<|eol|><|sor|>I do like descriptive variable names, though.<|eor|><|sor|>But not that descriptive.<|eor|><|sor|>If I had to pick between this, and that variable being named something lik... | 12 |
programminghorror | loofy2 | fjzipxt | <|sols|><|sot|>Who needs comments when you can just name the variable as the comment?<|eot|><|sol|>https://i.redd.it/ayn5mqtiuil41.png<|eol|><|soopr|>Yep, this website is getting a full rewrite. Nothing worth saving.<|eoopr|><|sor|>beware of next gen applications<|eor|><|eols|><|endoftext|> | 11 |
programminghorror | society2-com | fk0iaog | <|sols|><|sot|>Who needs comments when you can just name the variable as the comment?<|eot|><|sol|>https://i.redd.it/ayn5mqtiuil41.png<|eol|><|sor|>I do like descriptive variable names, though.<|eor|><|sor|>But not that descriptive.<|eor|><|sor|>If I had to pick between this, and that variable being named something lik... | 10 |
programminghorror | Skullruss | rxi8c2 | <|sols|><|sot|>If not null 3 times... twice WITHIN the first check.<|eot|><|sol|>https://i.redd.it/8o1vm7k0e3a81.png<|eol|><|eols|><|endoftext|> | 933 |
programminghorror | Curtmister25 | hri9j8a | <|sols|><|sot|>If not null 3 times... twice WITHIN the first check.<|eot|><|sol|>https://i.redd.it/8o1vm7k0e3a81.png<|eol|><|sor|>Those cf's are just so shifty; can never be too sure!<|eor|><|eols|><|endoftext|> | 178 |
programminghorror | aka_julie | hrin7xp | <|sols|><|sot|>If not null 3 times... twice WITHIN the first check.<|eot|><|sol|>https://i.redd.it/8o1vm7k0e3a81.png<|eol|><|sor|>Those cf's are just so shifty; can never be too sure!<|eor|><|sor|>Ikr!! One time I was working with cfs and I'm telling you it was null......I checked! I double checked!! And you wouldn't b... | 62 |
programminghorror | schil227 | hrj2nrm | <|sols|><|sot|>If not null 3 times... twice WITHIN the first check.<|eot|><|sol|>https://i.redd.it/8o1vm7k0e3a81.png<|eol|><|sor|>Just finished up makin' the code multithreaded, boss<|eor|><|eols|><|endoftext|> | 56 |
programminghorror | clearlybaffled | hrigc7g | <|sols|><|sot|>If not null 3 times... twice WITHIN the first check.<|eot|><|sol|>https://i.redd.it/8o1vm7k0e3a81.png<|eol|><|sor|>This is where the `?.` operator in groovy really shines.<|eor|><|eols|><|endoftext|> | 52 |
programminghorror | Glassounds | hrimaq3 | <|sols|><|sot|>If not null 3 times... twice WITHIN the first check.<|eot|><|sol|>https://i.redd.it/8o1vm7k0e3a81.png<|eol|><|sor|>My guess: the first check was added after the inner checks, and they forgot to remove the inner checks once they were redundant. There might be more code below that relies on the first check... | 48 |
programminghorror | LevelSevenLaserLotus | hrie27z | <|sols|><|sot|>If not null 3 times... twice WITHIN the first check.<|eot|><|sol|>https://i.redd.it/8o1vm7k0e3a81.png<|eol|><|sor|>Those cf's are just so shifty; can never be too sure!<|eor|><|soopr|>Is it even real?<|eoopr|><|sor|>I have no idea. Where did you find it?<|eor|><|soopr|>My job. There's tons of this garba... | 46 |
programminghorror | Skullruss | hriaafp | <|sols|><|sot|>If not null 3 times... twice WITHIN the first check.<|eot|><|sol|>https://i.redd.it/8o1vm7k0e3a81.png<|eol|><|sor|>Those cf's are just so shifty; can never be too sure!<|eor|><|soopr|>Is it even real?<|eoopr|><|sor|>I have no idea. Where did you find it?<|eor|><|soopr|>My job. There's tons of this garba... | 42 |
programminghorror | clearlybaffled | hrihz0d | <|sols|><|sot|>If not null 3 times... twice WITHIN the first check.<|eot|><|sol|>https://i.redd.it/8o1vm7k0e3a81.png<|eol|><|sor|>This is where the `?.` operator in groovy really shines.<|eor|><|sor|>Nodejs has that now, too.<|eor|><|sor|>[https://en.wikipedia.org/wiki/Safe\_navigation\_operator](https://en.wikipedia.o... | 28 |
programminghorror | Skullruss | hri9lll | <|sols|><|sot|>If not null 3 times... twice WITHIN the first check.<|eot|><|sol|>https://i.redd.it/8o1vm7k0e3a81.png<|eol|><|sor|>Those cf's are just so shifty; can never be too sure!<|eor|><|soopr|>Is it even real?<|eoopr|><|eols|><|endoftext|> | 24 |
programminghorror | Curtmister25 | hrib4k9 | <|sols|><|sot|>If not null 3 times... twice WITHIN the first check.<|eot|><|sol|>https://i.redd.it/8o1vm7k0e3a81.png<|eol|><|sor|>Those cf's are just so shifty; can never be too sure!<|eor|><|soopr|>Is it even real?<|eoopr|><|sor|>I have no idea. Where did you find it?<|eor|><|soopr|>My job. There's tons of this garba... | 24 |
programminghorror | LevelSevenLaserLotus | hriqwlz | <|sols|><|sot|>If not null 3 times... twice WITHIN the first check.<|eot|><|sol|>https://i.redd.it/8o1vm7k0e3a81.png<|eol|><|sor|>Those cf's are just so shifty; can never be too sure!<|eor|><|soopr|>Is it even real?<|eoopr|><|sor|>I have no idea. Where did you find it?<|eor|><|soopr|>My job. There's tons of this garba... | 24 |
programminghorror | Studnicky | hrih3sb | <|sols|><|sot|>If not null 3 times... twice WITHIN the first check.<|eot|><|sol|>https://i.redd.it/8o1vm7k0e3a81.png<|eol|><|sor|>This is where the `?.` operator in groovy really shines.<|eor|><|sor|>Nodejs has that now, too.<|eor|><|eols|><|endoftext|> | 22 |
programminghorror | Curtmister25 | hria6c4 | <|sols|><|sot|>If not null 3 times... twice WITHIN the first check.<|eot|><|sol|>https://i.redd.it/8o1vm7k0e3a81.png<|eol|><|sor|>Those cf's are just so shifty; can never be too sure!<|eor|><|soopr|>Is it even real?<|eoopr|><|sor|>I have no idea. Where did you find it?<|eor|><|eols|><|endoftext|> | 22 |
programminghorror | FlipItPizZa12 | hrimkop | <|sols|><|sot|>If not null 3 times... twice WITHIN the first check.<|eot|><|sol|>https://i.redd.it/8o1vm7k0e3a81.png<|eol|><|sor|>Seems they have faced a lot of null pointer exceptions in their life and now have PTSD from all those production crashes<|eor|><|eols|><|endoftext|> | 20 |
programminghorror | Rederdex | hrisgyu | <|sols|><|sot|>If not null 3 times... twice WITHIN the first check.<|eot|><|sol|>https://i.redd.it/8o1vm7k0e3a81.png<|eol|><|sor|>This is where the `?.` operator in groovy really shines.<|eor|><|sor|>It's a thing in .NET as well<|eor|><|eols|><|endoftext|> | 19 |
programminghorror | Curtmister25 | hrisdkj | <|sols|><|sot|>If not null 3 times... twice WITHIN the first check.<|eot|><|sol|>https://i.redd.it/8o1vm7k0e3a81.png<|eol|><|sor|>Those cf's are just so shifty; can never be too sure!<|eor|><|sor|>Ikr!! One time I was working with cfs and I'm telling you it was null......I checked! I double checked!! And you wouldn't b... | 18 |
programminghorror | fishvoidy | hripbju | <|sols|><|sot|>If not null 3 times... twice WITHIN the first check.<|eot|><|sol|>https://i.redd.it/8o1vm7k0e3a81.png<|eol|><|sor|>Those cf's are just so shifty; can never be too sure!<|eor|><|soopr|>Is it even real?<|eoopr|><|sor|>I have no idea. Where did you find it?<|eor|><|soopr|>My job. There's tons of this garba... | 17 |
programminghorror | Skullruss | hrj2x0f | <|sols|><|sot|>If not null 3 times... twice WITHIN the first check.<|eot|><|sol|>https://i.redd.it/8o1vm7k0e3a81.png<|eol|><|sor|>Just finished up makin' the code multithreaded, boss<|eor|><|soopr|>Perfect, now time to tell the exec that the database is linked up to the mainframe where the multithreaded cores on the se... | 15 |
programminghorror | fishvoidy | hrj8z41 | <|sols|><|sot|>If not null 3 times... twice WITHIN the first check.<|eot|><|sol|>https://i.redd.it/8o1vm7k0e3a81.png<|eol|><|soopr|>Is it even real?<|eoopr|><|sor|>I have no idea. Where did you find it?<|eor|><|soopr|>My job. There's tons of this garbage, just bloat everywhere. And that's when it's legible code.<|eoop... | 10 |
programminghorror | 1008oh | eaox2y | <|sols|><|sot|>Testing in production never gets old<|eot|><|sol|>https://i.redd.it/ckxlmrmwsn441.jpg<|eol|><|eols|><|endoftext|> | 929 |
programminghorror | MySpl33n | faxk053 | <|sols|><|sot|>Testing in production never gets old<|eot|><|sol|>https://i.redd.it/ckxlmrmwsn441.jpg<|eol|><|sor|>> Why did you select the test role?
I wanted to see if it worked.
> You're hired.<|eor|><|eols|><|endoftext|> | 97 |
programminghorror | 1008oh | fayg654 | <|sols|><|sot|>Testing in production never gets old<|eot|><|sol|>https://i.redd.it/ckxlmrmwsn441.jpg<|eol|><|sor|>> Why did you select the test role?
I wanted to see if it worked.
> You're hired.<|eor|><|soopr|>It's kinda sad because on one side I really wanna select it but on the other side I'm quite interested in t... | 53 |
programminghorror | Reverp | faywozt | <|sols|><|sot|>Testing in production never gets old<|eot|><|sol|>https://i.redd.it/ckxlmrmwsn441.jpg<|eol|><|sor|>> Why did you select the test role?
I wanted to see if it worked.
> You're hired.<|eor|><|soopr|>It's kinda sad because on one side I really wanna select it but on the other side I'm quite interested in t... | 36 |
programminghorror | veganWalker | favxosw | <|sols|><|sot|>Testing in production never gets old<|eot|><|sol|>https://i.redd.it/ckxlmrmwsn441.jpg<|eol|><|sor|>The one and only type of testing the suits usually accept.<|eor|><|eols|><|endoftext|> | 26 |
programminghorror | Mr_Redstoner | fazgowu | <|sols|><|sot|>Testing in production never gets old<|eot|><|sol|>https://i.redd.it/ckxlmrmwsn441.jpg<|eol|><|sor|>> Why did you select the test role?
I wanted to see if it worked.
> You're hired.<|eor|><|soopr|>It's kinda sad because on one side I really wanna select it but on the other side I'm quite interested in t... | 20 |
programminghorror | zrnkv | faynsno | <|sols|><|sot|>Testing in production never gets old<|eot|><|sol|>https://i.redd.it/ckxlmrmwsn441.jpg<|eol|><|sor|>Everybody has a test environment, the smart ones have an additional dedicated production as well.<|eor|><|eols|><|endoftext|> | 9 |
programminghorror | GiuNBender | s7313k | <|sols|><|sot|>My buddy just sent me this. His colleague used a white .png as background<|eot|><|sol|>https://i.redd.it/62entq95ghc81.jpg<|eol|><|eols|><|endoftext|> | 923 |
programminghorror | lordheart | ht7dqqa | <|sols|><|sot|>My buddy just sent me this. His colleague used a white .png as background<|eot|><|sol|>https://i.redd.it/62entq95ghc81.jpg<|eol|><|sor|>I hate website designers that do stuff like this. Ive had whole sites using images to make a colored background and it makes my dark mode plugin break<|eor|><|eols|><|en... | 315 |
programminghorror | nekokattt | ht7kjf2 | <|sols|><|sot|>My buddy just sent me this. His colleague used a white .png as background<|eot|><|sol|>https://i.redd.it/62entq95ghc81.jpg<|eol|><|sor|>I hate website designers that do stuff like this. Ive had whole sites using images to make a colored background and it makes my dark mode plugin break<|eor|><|sor|>At le... | 207 |
programminghorror | mr-sandcastle | ht7szvp | <|sols|><|sot|>My buddy just sent me this. His colleague used a white .png as background<|eot|><|sol|>https://i.redd.it/62entq95ghc81.jpg<|eol|><|sor|>oh, responsive design is no topic I guess?<|eor|><|eols|><|endoftext|> | 55 |
programminghorror | FayaWasTaken | ht917g4 | <|sols|><|sot|>My buddy just sent me this. His colleague used a white .png as background<|eot|><|sol|>https://i.redd.it/62entq95ghc81.jpg<|eol|><|sor|>"Oh, you want it blue?" \*pulls up Colors/blue.png\*<|eor|><|eols|><|endoftext|> | 54 |
programminghorror | Secure_Obligation_87 | ht7zpjd | <|sols|><|sot|>My buddy just sent me this. His colleague used a white .png as background<|eot|><|sol|>https://i.redd.it/62entq95ghc81.jpg<|eol|><|sor|>The modal header is off by a pixel or two at the top left , im not a designer but that shit just gets to me.<|eor|><|eols|><|endoftext|> | 51 |
programminghorror | SirQuackTheDuck | ht8s00p | <|sols|><|sot|>My buddy just sent me this. His colleague used a white .png as background<|eot|><|sol|>https://i.redd.it/62entq95ghc81.jpg<|eol|><|sor|>Is this a result of some sort of generator?<|eor|><|sor|>Thats what Im thinking, looks like bootstrap
edit: it's jquery ui<|eor|><|sor|>> edit: it's jquery ui
That exp... | 49 |
programminghorror | r0ut66 | ht8g8nl | <|sols|><|sot|>My buddy just sent me this. His colleague used a white .png as background<|eot|><|sol|>https://i.redd.it/62entq95ghc81.jpg<|eol|><|sor|>r/suddenlycaralho<|eor|><|eols|><|endoftext|> | 37 |
programminghorror | thebritisharecome | hta3wf5 | <|sols|><|sot|>My buddy just sent me this. His colleague used a white .png as background<|eot|><|sol|>https://i.redd.it/62entq95ghc81.jpg<|eol|><|sor|>I hate website designers that do stuff like this. Ive had whole sites using images to make a colored background and it makes my dark mode plugin break<|eor|><|sor|>This ... | 26 |
programminghorror | schleepercell | ht8kt0r | <|sols|><|sot|>My buddy just sent me this. His colleague used a white .png as background<|eot|><|sol|>https://i.redd.it/62entq95ghc81.jpg<|eol|><|sor|>Is this a result of some sort of generator?<|eor|><|sor|>Thats what Im thinking, looks like bootstrap
edit: it's jquery ui<|eor|><|eols|><|endoftext|> | 25 |
programminghorror | _clydebruckman | ht91zba | <|sols|><|sot|>My buddy just sent me this. His colleague used a white .png as background<|eot|><|sol|>https://i.redd.it/62entq95ghc81.jpg<|eol|><|sor|>oh, responsive design is no topic I guess?<|eor|><|sor|>Honestly you could do this just fine and make it responsive. Not saying you shouldbut scaling doesnt matter for a... | 24 |
programminghorror | flooronthefour | ht8jlnu | <|sols|><|sot|>My buddy just sent me this. His colleague used a white .png as background<|eot|><|sol|>https://i.redd.it/62entq95ghc81.jpg<|eol|><|sor|>Is this a result of some sort of generator?<|eor|><|eols|><|endoftext|> | 16 |
programminghorror | 6b86b3ac03c167320d93 | htawzwc | <|sols|><|sot|>My buddy just sent me this. His colleague used a white .png as background<|eot|><|sol|>https://i.redd.it/62entq95ghc81.jpg<|eol|><|sor|>I hate website designers that do stuff like this. Ive had whole sites using images to make a colored background and it makes my dark mode plugin break<|eor|><|sor|>apply... | 12 |
programminghorror | kowdermesiter | ht8g31m | <|sols|><|sot|>My buddy just sent me this. His colleague used a white .png as background<|eot|><|sol|>https://i.redd.it/62entq95ghc81.jpg<|eol|><|sor|>40100px, just to be sure.<|eor|><|eols|><|endoftext|> | 11 |
programminghorror | thebritisharecome | hta3mua | <|sols|><|sot|>My buddy just sent me this. His colleague used a white .png as background<|eot|><|sol|>https://i.redd.it/62entq95ghc81.jpg<|eol|><|sor|>That's just jQuery UI not something your buddy coded, it was done that way to provide support for the gradient in older browsers.
Less relevant these days, but it's pro... | 10 |
programminghorror | devenitions | htasdml | <|sols|><|sot|>My buddy just sent me this. His colleague used a white .png as background<|eot|><|sol|>https://i.redd.it/62entq95ghc81.jpg<|eol|><|sor|>I hate website designers that do stuff like this. Ive had whole sites using images to make a colored background and it makes my dark mode plugin break<|eor|><|sor|>Thats... | 10 |
programminghorror | celloiof | ht8vbuu | <|sols|><|sot|>My buddy just sent me this. His colleague used a white .png as background<|eot|><|sol|>https://i.redd.it/62entq95ghc81.jpg<|eol|><|sor|>Unreleated but it sent me a flashback of 4 gif files to generate round corners <|eor|><|eols|><|endoftext|> | 8 |
programminghorror | hellra1zer666 | htc2004 | <|sols|><|sot|>My buddy just sent me this. His colleague used a white .png as background<|eot|><|sol|>https://i.redd.it/62entq95ghc81.jpg<|eol|><|sor|>I hate website designers that do stuff like this. Ive had whole sites using images to make a colored background and it makes my dark mode plugin break<|eor|><|sor|>This ... | 7 |
programminghorror | thebritisharecome | htc3alc | <|sols|><|sot|>My buddy just sent me this. His colleague used a white .png as background<|eot|><|sol|>https://i.redd.it/62entq95ghc81.jpg<|eol|><|sor|>I hate website designers that do stuff like this. Ive had whole sites using images to make a colored background and it makes my dark mode plugin break<|eor|><|sor|>This ... | 6 |
programminghorror | polish_niceguy | 6lwnj6 | <|sols|><|sot|>_<|eot|><|sol|>https://i.redd.it/cozohvgr2h7z.png<|eol|><|eols|><|endoftext|> | 928 |
programminghorror | thelostsoul622 | djxam94 | <|sols|><|sot|>_<|eot|><|sol|>https://i.redd.it/cozohvgr2h7z.png<|eol|><|sor|>OP's Resume:
Known Programming Languages:
C, Unicode<|eor|><|eols|><|endoftext|> | 116 |
programminghorror | mlloyd | djx9kgq | <|sols|><|sot|>_<|eot|><|sol|>https://i.redd.it/cozohvgr2h7z.png<|eol|><|sor|>So do you just write this using regular syntax first and then do a search/replace all? I bet you could... <|eor|><|eols|><|endoftext|> | 81 |
programminghorror | DJDarkViper | djxf25u | <|sols|><|sot|>_<|eot|><|sol|>https://i.redd.it/cozohvgr2h7z.png<|eol|><|sor|>http://www.emojicode.org/<|eor|><|eols|><|endoftext|> | 73 |
programminghorror | devperez | djxakis | <|sols|><|sot|>_<|eot|><|sol|>https://i.redd.it/cozohvgr2h7z.png<|eol|><|sor|>So do you just write this using regular syntax first and then do a search/replace all? I bet you could... <|eor|><|sor|>Probs. But writing it isn't the fun part. It's the reactions.<|eor|><|eols|><|endoftext|> | 56 |
programminghorror | real_jeeger | djxw3i9 | <|sols|><|sot|>_<|eot|><|sol|>https://i.redd.it/cozohvgr2h7z.png<|eol|><|sor|>Hm, is there a way to redefine space to ? <|eor|><|eols|><|endoftext|> | 55 |
programminghorror | zomgitsduke | djxyafj | <|sols|><|sot|>_<|eot|><|sol|>https://i.redd.it/cozohvgr2h7z.png<|eol|><|sor|>Biggest problem I see is that the emoji are not the same width as the rest of the characters, there should be way too properly monospace it<|eor|><|sor|>We need fixedemoji font!<|eor|><|eols|><|endoftext|> | 39 |
programminghorror | Mr_Weeble | djxgbkn | <|sols|><|sot|>_<|eot|><|sol|>https://i.redd.it/cozohvgr2h7z.png<|eol|><|sor|>Biggest problem I see is that the emoji are not the same width as the rest of the characters, there should be way too properly monospace it<|eor|><|eols|><|endoftext|> | 38 |
programminghorror | Cherveny2 | djxl1nm | <|sols|><|sot|>_<|eot|><|sol|>https://i.redd.it/cozohvgr2h7z.png<|eol|><|sor|>Still easier to read than PERL /s <|eor|><|eols|><|endoftext|> | 26 |
programminghorror | EmperorArthur | djxs6v8 | <|sols|><|sot|>_<|eot|><|sol|>https://i.redd.it/cozohvgr2h7z.png<|eol|><|sor|>So do you just write this using regular syntax first and then do a search/replace all? I bet you could... <|eor|><|sor|>You know what would make it even greater?
\#define <common word in string> = <common operation>
Then if they try to do a... | 26 |
programminghorror | DnA_1120 | djxn0qn | <|sols|><|sot|>_<|eot|><|sol|>https://i.redd.it/cozohvgr2h7z.png<|eol|><|sor|>OP's Resume:
Known Programming Languages:
C, Unicode<|eor|><|sor|>*C++
/s<|eor|><|eols|><|endoftext|> | 26 |
programminghorror | balenol | dkdhwtq | <|sols|><|sot|>_<|eot|><|sol|>https://i.redd.it/cozohvgr2h7z.png<|eol|><|sor|>http://www.emojicode.org/<|eor|><|sor|>god why<|eor|><|eols|><|endoftext|> | 23 |
programminghorror | mudpizza | dlu3r37 | <|sols|><|sot|>_<|eot|><|sol|>https://i.redd.it/cozohvgr2h7z.png<|eol|><|sor|>Biggest problem I see is that the emoji are not the same width as the rest of the characters, there should be way too properly monospace it<|eor|><|sor|>We need fixedemoji font!<|eor|><|sor|>Great idea ! Let's call them "Smileys"
:-)... | 20 |
programminghorror | SnowdensOfYesteryear | djxl610 | <|sols|><|sot|>_<|eot|><|sol|>https://i.redd.it/cozohvgr2h7z.png<|eol|><|sor|>OP's Resume:
Known Programming Languages:
C, Unicode<|eor|><|sor|>> C,
You just triggered me<|eor|><|eols|><|endoftext|> | 19 |
programminghorror | YouFeedTheFish | djxx701 | <|sols|><|sot|>_<|eot|><|sol|>https://i.redd.it/cozohvgr2h7z.png<|eol|><|sor|>Still easier to read than PERL /s <|eor|><|sor|>Sarcasm tag not necessary. Is true.<|eor|><|eols|><|endoftext|> | 17 |
programminghorror | Gollum999 | djxrp2j | <|sols|><|sot|>_<|eot|><|sol|>https://i.redd.it/cozohvgr2h7z.png<|eol|><|sor|>TIL some C++ compilers support unicode<|eor|><|eols|><|endoftext|> | 13 |
programminghorror | henrebotha | dk2bemy | <|sols|><|sot|>_<|eot|><|sol|>https://i.redd.it/cozohvgr2h7z.png<|eol|><|sor|>Hm, is there a way to redefine space to ? <|eor|><|sor|>Asking the real questions<|eor|><|eols|><|endoftext|> | 11 |
programminghorror | FullPtrDereference | djxidyc | <|sols|><|sot|>_<|eot|><|sol|>https://i.redd.it/cozohvgr2h7z.png<|eol|><|sor|>`g++ -E`<|eor|><|eols|><|endoftext|> | 6 |
programminghorror | BCMM | djxx70d | <|sols|><|sot|>_<|eot|><|sol|>https://i.redd.it/cozohvgr2h7z.png<|eol|><|sor|>What compiler supports this? Last time I tried it in GCC it didn't wanna build.<|eor|><|eols|><|endoftext|> | 5 |
programminghorror | arienh4 | djxwru0 | <|sols|><|sot|>_<|eot|><|sol|>https://i.redd.it/cozohvgr2h7z.png<|eol|><|sor|>[deleted]<|eor|><|sor|>But did you notice that cherry prints watermelon? Did you?<|eor|><|eols|><|endoftext|> | 5 |
programminghorror | Emergency_Bedroom_96 | 120q4un | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|eols|><|endoftext|> | 923 |
programminghorror | DFYX | jditdpn | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|sor|>Intersting edge case: when all input elements are identical, line 28 is a division by zero.<|eor|><|eols|><|endoftext|> | 509 |
programminghorror | oli-g | jdj3z8j | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|sor|>Intersting edge case: when all input elements are identical, line 28 is a division by zero.<|eor|><|sor|>This guy code reviews.<|eor|><|eols|><|endoftext|> | 334 |
programminghorror | DFYX | jdjd4fc | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|sor|>Intersting edge case: when all input elements are identical, line 28 is a division by zero.<|eor|><|sor|>This guy code reviews.<|eor|><|sor|>In my old team, some colleagues refused to let me review their cod... | 269 |
programminghorror | iKozay214 | jdihq78 | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|sor|>Quantum sorting algorithm
O(1) or O()
You never know unless you run it.<|eor|><|eols|><|endoftext|> | 209 |
programminghorror | shayanzafar | jdjom81 | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|sor|>Intersting edge case: when all input elements are identical, line 28 is a division by zero.<|eor|><|sor|>This guy code reviews.<|eor|><|sor|>In my old team, some colleagues refused to let me review their cod... | 96 |
programminghorror | DFYX | jdio9p5 | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|sor|>Quantum sorting algorithm
O(1) or O()
You never know unless you run it.<|eor|><|sor|>Best case is O(n) as it has to iterate over the input (twice actually)
**Edit:** worst case is O(n^2) because the whil... | 87 |
programminghorror | v_maria | jdig3a3 | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|sor|>O(???)<|eor|><|eols|><|endoftext|> | 80 |
programminghorror | DFYX | jdis6jf | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|sor|>O(???)<|eor|><|sor|>should be O(2n) but not sure if this counts if it isn't sorted after <|eor|><|sor|>That's not how O-notation works. O(2n) is the same as O(n). As per my other comment, for an array where ... | 76 |
programminghorror | mikewirkijowski | jdjw4zg | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|sor|>Intersting edge case: when all input elements are identical, line 28 is a division by zero.<|eor|><|sor|>This guy code reviews.<|eor|><|sor|>In my old team, some colleagues refused to let me review their cod... | 69 |
programminghorror | BarfingOnYourFace | jdikqs2 | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|sor|>Fast sometimes<|eor|><|eols|><|endoftext|> | 68 |
programminghorror | joshuakb2 | jdjc13s | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|sor|>Okay, I tried the equivalent of this code in JS, and surprisingly enough, for very simple inputs (1..10 shuffled, for instance) it actually works. But if the array contains duplicate values, you start to run... | 45 |
programminghorror | moronic_programmer | jdkz1r0 | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|sor|>Intersting edge case: when all input elements are identical, line 28 is a division by zero.<|eor|><|sor|>Or if the input has length 1<|eor|><|sor|>In which case all input elements are identical anyway<|eor|>... | 43 |
programminghorror | DFYX | jdirnm2 | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|sor|>Quantum sorting algorithm
O(1) or O()
You never know unless you run it.<|eor|><|sor|>Best case is O(n) as it has to iterate over the input (twice actually)
**Edit:** worst case is O(n^2) because the whil... | 40 |
programminghorror | UltraPoci | jdlu09g | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|sor|>O(???)<|eor|><|sor|>O(mg)<|eor|><|eols|><|endoftext|> | 34 |
programminghorror | TheOnlyVig | jdiytfl | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|sor|>Ideal when you want code that almost works<|eor|><|eols|><|endoftext|> | 33 |
programminghorror | btwiusearch | jdixk9q | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|sor|>Broke: actually benchmarking your program
Woke: it can be fast sometimes<|eor|><|eols|><|endoftext|> | 32 |
programminghorror | O5MO | jdj5lcj | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|sor|>The best thing is that its not said its fast, itf fast *sometimes* meaning that you can get a slow and unfinished result XD<|eor|><|eols|><|endoftext|> | 28 |
programminghorror | arnemcnuggets | jdjzozs | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|sor|>Intersting edge case: when all input elements are identical, line 28 is a division by zero.<|eor|><|sor|>Or if the input has length 1<|eor|><|eols|><|endoftext|> | 28 |
programminghorror | ii-___-ii | jdipsho | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|sor|>Quantum sorting algorithm
O(1) or O()
You never know unless you run it.<|eor|><|sor|>Best case is O(n) as it has to iterate over the input (twice actually)
**Edit:** worst case is O(n^2) because the whil... | 25 |
programminghorror | skantanio | jdiuhwb | <|sols|><|sot|>For all your "almost sorting" needs<|eot|><|sol|>https://i.redd.it/e4qmdj6kvppa1.png<|eol|><|sor|>Terrific idea: Newtonian iteration based sorting algorithm that costs 1 token per 100 iterations and you can buy packs of tokens from an online store ($19.99 for 50 tokens, etc)<|eor|><|eols|><|endoftext|> | 23 |
programminghorror | jakobitz | x9riv6 | <|sols|><|sot|>Spotted in the wild, ouch!<|eot|><|sol|>https://i.redd.it/s1t7drpb4tm91.png<|eol|><|eols|><|endoftext|> | 924 |
programminghorror | IrdniX | inpk48t | <|sols|><|sot|>Spotted in the wild, ouch!<|eot|><|sol|>https://i.redd.it/s1t7drpb4tm91.png<|eol|><|sor|>I was staring at the highlighted line for a few seconds before I noticed the first line in the form element...<|eor|><|eols|><|endoftext|> | 682 |
programminghorror | user0015 | inq0fbt | <|sols|><|sot|>Spotted in the wild, ouch!<|eot|><|sol|>https://i.redd.it/s1t7drpb4tm91.png<|eol|><|sor|>I was staring at the highlighted line for a few seconds before I noticed the first line in the form element...<|eor|><|sor|>Same here. My reaction was: "This is a regular password input field. What is wrong? This loo... | 374 |
programminghorror | SeintianMaster | inpnbov | <|sols|><|sot|>Spotted in the wild, ouch!<|eot|><|sol|>https://i.redd.it/s1t7drpb4tm91.png<|eol|><|sor|>The more you read its lines, the worse it gets lol
Firstly, Notice the action argument of the form tag: "login.php?login=yes", why should they use this url parameter?
Secondly, look into the button tag classes at t... | 192 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.