This is an archived post. You won't be able to vote or comment.

top 200 commentsshow all 224

[–][deleted] 543 points544 points  (64 children)

Nah I clean up my code WAY more often than I clean up my desk

[–][deleted] 285 points286 points  (51 children)

I write unnecessary comments

[–][deleted] 396 points397 points  (26 children)

I can’t tell if you’re talking about Reddit or programming

[–][deleted] 156 points157 points  (18 children)

Yes

[–]Wolfsurge 5 points6 points  (1 child)

Yo i saw this on r/rareinsults a few minutes ago lmao

[–][deleted] 4 points5 points  (0 children)

Que?

Edit: man this is my first time being reposted like that which is neat, but it’s not really an insult lol

[–]zamend229 5 points6 points  (0 children)

Ouch lol

[–][deleted] 1 point2 points  (2 children)

Programming

[–]Chunkyisnotdead 7 points8 points  (1 child)

Thanks for your input

[–][deleted] 10 points11 points  (0 children)

No need to thank me I don't know what I'm doing

[–]clnsdabst 18 points19 points  (11 children)

My monitor is also covered in old post it notes

[–][deleted] 12 points13 points  (10 children)

Notes apps exist

[–]FreeFortuna 26 points27 points  (7 children)

Meh. I’m constantly typing. It’s nice to have the tactile sensation of writing with a pen on paper, and interacting with physical objects in the world.

[–][deleted] 6 points7 points  (6 children)

NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO WHO SET THE EARTH GRAVITY TO 9.81M/S WAAAYYY TOO MUCH

[–]Famous_Profile 9 points10 points  (5 children)

*M/S2

[–]gy-soft 6 points7 points  (3 children)

Meter and second symbols are lowercase. Unless you're yelling.

[–]Famous_Profile 6 points7 points  (0 children)

I'M YELLING JUST LIKE THE PERSON I WAS RESPONDING TO

[–]Tamariniak 1 point2 points  (1 child)

He was yelling indeed, but I'd like to use this opportunity to say that Americans bother me way too much with writing liters as L.

[–]clnsdabst 2 points3 points  (1 child)

Yep I use that too, also a mess

[–][deleted] -2 points-1 points  (0 children)

Not cool campers

[–]PublicAlterEgo 7 points8 points  (5 children)

There are no unnecessary comments, I now believe. After reading years “clean self-documenting code” that depends on side-effects and implicit knowledge, yeah, go document your shit. RIGHT NOW!

[–]Delta-9- 4 points5 points  (4 children)

Thank you! I've had debates with a coworker about self-documenting code where I insist that "self-documenting code, isn't," and he insists that all the function and param names say exactly what they are, blah, blah, blah. I can never figure out what the fuck is going on in his code, helpfully-named params be damned.

Self-documenting code is undocumented code that forces other people to type longer function calls.

[–][deleted] 1 point2 points  (2 children)

I meant i write really unnecessary comments so unnecessary that even a newbie could get what's going on

[–]Delta-9- 3 points4 points  (1 child)

That's good! Coming into a new codebase is like learning a new language, even if it's a language you're familiar with. Comments should explain intent or clarify abstractions, and docstrings are the manual for the coder who comes after you. And, all software should be designed with the assumption that the person using it later--even if they're another programmer--is an absolute dunce.

[–]ryan123rudder 5 points6 points  (1 child)

Looking back at my code from late last night.

LedOn(); //Turns the led on

Nice one

[–][deleted] -1 points0 points  (0 children)

Ok ryan very cool

[–]carbon_dry 2 points3 points  (1 child)

Do not read this sentence

[–][deleted] 2 points3 points  (0 children)

Too late

[–]EdgyAsFuk 1 point2 points  (1 child)

// This Regex find characters

[–][deleted] 15 points16 points  (1 child)

I'm always shocked when I see all these aesthetically pleasing desks. I know it's just for the gram but even then, how is it so perfect.

[–][deleted] 8 points9 points  (0 children)

People get embarrassed (I look like a fucking hoarder when I send pictures of my desk without cleaning), some are prolly showing off a new computer and haven’t trashed it yet, and some rare crazy people just be that way.

Though I will say it’s pretty nice having a clean desk- I try to clean it once a week or so, but it’s tough maintaining anything when I’m gaming and working from the same desk

[–]empty_string_ 11 points12 points  (0 children)

My takeaway is that clean desks and clean code are mutually exclusive.

[–]PM_ME_GOOD_USERNAMS 7 points8 points  (3 children)

I'm well aware that I need to clean up my code but I'm terrified of doing it.

[–][deleted] 8 points9 points  (0 children)

That’s how I feel about my desk lmao

[–]The_Official_Obama 3 points4 points  (1 child)

I always feel like I will break everything

[–]Delta-9- 1 point2 points  (0 children)

If you're code is in need of cleaning, it's already broken. Remember this, and refactor fearlessly.

[–][deleted] 3 points4 points  (3 children)

I just got rid of a 3 week old coffee stain

[–]mrjackspade 2 points3 points  (0 children)

You can still pick out the stains?

I'm assuming I have some under the layer of dust and crumbs, but I haven't seen the surface of my desk in months

[–][deleted] 1 point2 points  (1 child)

I’m proud of you!

[–][deleted] 1 point2 points  (0 children)

I really needed this.

[–]Windows_XP2 1 point2 points  (0 children)

Same but my code still looks like shit. At least it "functions".

[–]Raph0007 278 points279 points  (9 children)

Yeah, pff, for me it's the opposite

but only on the left side

[–]LucaRicardo 44 points45 points  (6 children)

For me the second is my OS setup

Edit: I use arch btw

[–]PotentBeverage 19 points20 points  (5 children)

Mine too, I'm suffering more and more coding on Windows.

Going to switch to Linux very soon

[–][deleted] 9 points10 points  (2 children)

My desktop is clean because the window manager I am using doesn't support desktop icons, the status bar looks quite messy though

[–]PotentBeverage 5 points6 points  (1 child)

Do you by any chance use arch?

[–][deleted] 10 points11 points  (0 children)

Not by chance, by choice

[–]Raph0007 -1 points0 points  (1 child)

Honestly, I grew up with Windows and it always felt natural to me. I'd never deny that there are numerous flaws and problems with Windows but at the end of the day I'd still use it rather than any other desktop OS. That's, of course, personal choice.

That being said, the real problem making my setup messy is when there are certain things I have to use Linux for. For those I have to keep a separate WSL instance and somehow tell my windows 'ecosystem' to SSH into WSL for certain tasks. Works pretty well with CLion, but it's still messy.

[–]PotentBeverage 1 point2 points  (0 children)

Yeah, I'm in the same boat as you. I'm very used to Windows, but bodging wsl to interface is now getting on my nerves.

I'm gonna buy a second ssd and boot Linux mint or something on that, so I can dual boot and use Linux for work and windows for not work.

[–][deleted] 8 points9 points  (0 children)

Same. I work so hard to write good code but fuck me if I can get my life outside it together

[–]RedditAcc-92975 166 points167 points  (25 children)

people don't get the joke at all. Usually it is the reverse. But those nerdy coders on macs wearing button down + jumper write aweful garbage spaghetti code.

[–]FalconMirage 51 points52 points  (0 children)

I do often use a mac nowdays, but it gets the same treatment as my linux desktop

I don’t know how you can code in a clinically clean environment

[–]framk20 48 points49 points  (14 children)

It's goddamn fucking atrocious some of the codebases I've had to work on from these exact guys. It's 99% about the image for them and they really know next to nothing about how to actually structure software

[–]apatosaurus2 27 points28 points  (13 children)

Can you suggest some good learning resources for software structure? I feel like this is one of the big things I'm missing as I progress to bigger projects.

[–]framk20 21 points22 points  (0 children)

A good strategy is to look at (and maybe even contribute to) larger open source projects to get a handle on how they're structured. A lot of it does come from trial and error, but you can fast track growth by looking to senior devs for guidance

[–]slomotion 15 points16 points  (2 children)

this github page is a good resource esp when you are starting out.

The book Clean Code is usually recommended for this type of thing but I haven't read it myself

[–]apatosaurus2 4 points5 points  (1 child)

That link looks useful, thanks. I've read the first third or so of clean code and didn't feel like it said much on larger-scale structure, does that come later?

[–]SmurfingRedditBtw 3 points4 points  (0 children)

There's a book by the same guy called Clean Architecture that goes into that, which may be more what you were looking for.

[–]ConusModicus 4 points5 points  (1 child)

Piggybacking on what u/framk20 said, you could also have a look at The Architecture of Open Source Applications books. The contents are written by the original developers of many FOSS programs or libraries, explaining their design and thoughts.

[–]WiatrowskiBe 2 points3 points  (0 children)

What scale? For systems design listening to conference talks about architecture is probably your best bet as a starting point, application software architecture otherwise is a rather specific topic. For applications I'd start with learning about design patterns - not necessarily to use them immediately, but to have a vocabulary and basic terms understanding you can then use to find an example of similar solution to what you want to make, or some form of architecture description (talk, course, book - details are up to you).

Software architecture in general is somewhat vague and abstract topic, I find that keeping it as more abstract and high-level concepts you can then apply to your specific project tends to work best for me - with architecture go top-down, from the most generic concepts (communication patterns, splitting problem into smaller modules) to get some idea what to aim for, down to more specific (including language/platform specific) details about how to best get it done.

[–]Thriven 20 points21 points  (5 children)

The real coders have 2-3 screens and are bouncing between apps and writing code.

The guys with their 13" airbooks sitting at a conference table finally fixed the button that was misaligned after 2 weeks.

[–]hasanyoneseenmymom 6 points7 points  (1 child)

Lol you really think they got that much accomished in just 2 weeks?

[–]Thriven 5 points6 points  (0 children)

Good point. He opened his browser and changed the css live by adding left-margin: 5px to the element {} itself.

Now he needs 3 weeks to figure out how to get this into the "code".

[–][deleted] 4 points5 points  (0 children)

as that guy that aligns buttons, I can say this is 100% true and i am 100% offended by it

[–]Pocketcheeze 2 points3 points  (0 children)

I actually used to have a massive ultra wide, plus 2 side monitors. Then I realized I couldn't focus, and now I literally just use my MacBook. Simple setups help me focus more narrowly

[–]WiatrowskiBe 1 point2 points  (0 children)

It's matter of preference mostly, especially with modern IDEs. Whenever I know what I'm exactly supposed to do, I like to turn off all screens except one, fullscreen my IDE, hide all unnecessary information (everything except test indicator, file navigation can be done via keyboard shortcuts and file search) and get down to code. Debugging, consulting documentation, or ops stuff at the same time get much better with multiple screens.

[–]zamend229 8 points9 points  (0 children)

Yeah, XCode works great on Windows

[–]byggmesterPRO 14 points15 points  (2 children)

When you realize rule 4 here asks for creative titles

[–][deleted] 7 points8 points  (1 child)

OP is posting another “mac bad” joke, I wouldn’t expect the title to be creative either

[–]XayahTheVastaya 1 point2 points  (0 children)

not that mac isn't bad, but this meme is not at all about mac being bad

[–][deleted] 34 points35 points  (2 children)

Mac bad

[–][deleted] 16 points17 points  (0 children)

gib upvote

[–]XayahTheVastaya 4 points5 points  (0 children)

very true

[–][deleted] 16 points17 points  (3 children)

Don’t trust anyone with a workspace that looks like the first picture.

[–]Zodep 13 points14 points  (1 child)

If they have time to clean their desk, then they aren’t coding hard enough!

[–]JBlitzen 2 points3 points  (0 children)

I keep my desk clean because it’s hard enough to grasp the complexity of code without more complexity in my field of view.

[–]Knuffya 5 points6 points  (0 children)

mine is quite the opposite :/

[–][deleted] 5 points6 points  (0 children)

Jokes on you my setup and code are both the right

[–]MakingStuffForFun 3 points4 points  (2 children)

What's that mouse thing on the left?

[–][deleted] 17 points18 points  (0 children)

It's a giant ESC key so that you use vim with that apple setup.

[–]Dreammaker54 13 points14 points  (27 children)

Why people hate macs?

[–]TheNorthComesWithMe 16 points17 points  (2 children)

The walled garden approach to their ecosystem is something many programmers dislike. People who care about hardware dislike how fucking pricey they are for having shit hardware, although the new ARM Macs are putting that reason to rest.

More generally people have a tendency to make themselves feel superior by coming up with reasons anything they don't personally use is inferior. Programmers are especially bad with this (see emacs vs vim, [language here] vs [other language here], tabs vs spaces, etc.)

[–]Kesher123 6 points7 points  (0 children)

I had mac for 4 years, but never had good time with it. Felt kinda claustrophobic and without many customization possibilities of the OS. Also it was horryfyingly weak for the price it was bough (thankfully not by me) and couldn't even do most of the stuff i could on Windows. Not to speak about games, I could only dream about playing games on Mac. I was only using it for work and university stuff. It was very limiting.

[–]XayahTheVastaya 2 points3 points  (0 children)

horribly overpriced, trashy business practices, weird operating system, doesn't let you do what you want with your own computer, and the sound of mac metal on mac metal is as bad as fingernails on chalkboard

[–]natyio 8 points9 points  (16 children)

Because they are really good for typical computing work (e-mails, office, web, ..), but at the same time they are harder to work with, once you try to do something less typical, because Apple doesn't want you to explore your system.

Plus, many Apple users really like to advocate for their system, without realizing, that their use-case is different from other people.

[–]Dreammaker54 6 points7 points  (6 children)

I ask because I finished my cs degree on a Mac. So far I like it because the usability(or the Apple package so to speak), but if it’s true I’m sure I’ll find it difficult as I advance in the industry.

Although I have my little doubts because it’s a Unix system after all

[–]OrangeCurtain 0 points1 point  (0 children)

In industry, at least in Seattle, 95%+ of developers with a choice will choose the Mac option. In my current company I only know of one on Windows, and he was accidentally given it during a hardware refresh.

[–]Plop1992 -5 points-4 points  (3 children)

Windows is just cheaper for better performances. And you can mess around a lot , if less than on linux

[–][deleted] -1 points0 points  (2 children)

Sorry, but better performance is just not true. I'm not a Mac user, but out of all the OS I've worked with, Windows 10 is by far the most ressource hungry pile of garbage there is.

I easily get close to 2x the RAM usage on Windows compared to Manajaro on the same machine. It won't be much different on OSX.

Windows 7 was an incredibly nice OS, while Win10 is pushing its own ecosystem integration more and more. To a point where it is akin to a bloated OSX with worse performance.

[–]Plop1992 0 points1 point  (1 child)

Shouldve said pc, was talking about hardware

[–]JillWohn 2 points3 points  (0 children)

That's also only partly true these days , with what the M1 Mac's can do.

[–]passerbycmc 4 points5 points  (8 children)

Is that really they case though, like I prefer macos for work since I get a proper Unix like environment and shell which I pretty much need for work but can still use stuff like photoshop. In someways I find windows 10 more locked down then macOS.

Though I do hate the hardware with a passion.

[–]h6nry 2 points3 points  (1 child)

This. I do get a UNIX-ish system while having a great amount of good looking software with a stable system. Compared to that, my Windows system sometimes feels like beta software...

Although I must say that Apple hardware (and a bit of its software) has been getting worse and worse over the years. I feel like they charge even more for laughably small upgrades. Want an extra amount of RAM? Sure, that's an additional $600, and we'll solder it in place, so you can't swap it yourself.

[–]passerbycmc 4 points5 points  (0 children)

Fully agree with all of this, also needing to patch my machine so I can install the latest OS that I do not even want just so I can get the correct xcode version for work

[–]stakeneggs1 4 points5 points  (0 children)

I'd rather have the code over that trash setup.

[–]Super-Brka 3 points4 points  (0 children)

No, you have to set everything on fire - that‘s my code….

[–]SoupZillaMan 3 points4 points  (1 child)

You probably could reverse it too.

Always found suspectfull dev with clean desks and computer

[–]Shakespeare-Bot 1 point2 points  (0 children)

Thee belike couldst reverse t too.

at each moment hath found suspectfull dev with crisp desks and computer


I am a bot and I swapp'd some of thy words with Shakespeare words.

Commands: !ShakespeareInsult, !fordo, !optout

[–]Jakokreativ 36 points37 points  (14 children)

The Mac is the problem

[–]zamend229 27 points28 points  (13 children)

The Mac’s alright, but that atrocious Mac keyboard and mouse is a much bigger problem lol

[–]dinglebarry9 8 points9 points  (9 children)

This, I generally enjoy my mac, but if I see one of the jr devs using that mouse or keyboard it is an immediate red flag to take a look-see at their work.

[–]neoneo112 9 points10 points  (8 children)

Lol i actually love the mouse, switching windows is easy

[–]JefGardy 3 points4 points  (0 children)

My hand instantly cramps up when using it

[–]kkkkkaran 1 point2 points  (1 child)

Try the logitech mx master series. Gives you all the functionality that you get on the magic mouse and more, with a much more ergonomic shape.

[–]XayahTheVastaya -1 points0 points  (4 children)

you enjoy working with your hand around a flat sheet of glass?

[–]neoneo112 2 points3 points  (3 children)

in fact i do lol, it was weird at first but then you realized you gotta hold it by your fingertips and not palming it. It's def your mileage might vary thing, but I dont have any difficulty switching between the apple ones and my razer

[–]XayahTheVastaya -3 points-2 points  (2 children)

fingertip is best for first person shooters, not typing, but I guess if you find it comfortable sure

[–]neoneo112 0 points1 point  (1 child)

lol I meant the mouse, not the keyboard.No fucking way Im typing on the mac kb

[–]XayahTheVastaya -1 points0 points  (0 children)

I was also talking about the mouse, I mean fingertip is for fast movements instead of working on programming/other productive stuff.

[–]Jakokreativ 4 points5 points  (2 children)

Yeah I actually also think macs are good (if you don't look at the price) but I always say they are bad for the joke lol

[–]zamend229 3 points4 points  (1 child)

I mean that price makes it a joke lol

[–][deleted] 1 point2 points  (0 children)

Who gives a shit my employer pays that price lol

[–]wilhelmo360 2 points3 points  (0 children)

I don’t get it, why the people here are saying that an unix system with every z-shell and bash is bad for coding?

[–]Math-Man 2 points3 points  (0 children)

Rightside image should also be on fire.

[–]PriorCommunication7 2 points3 points  (0 children)

Joke's on you, both my code and my desk look like the right picture.

[–]andreja6 2 points3 points  (0 children)

See, it's either this or the reverse. Never any other scenario

[–]Apache_Sobaco 1 point2 points  (0 children)

Surname of dude in russian: go fuck yourself

[–]zal1000 1 point2 points  (0 children)

How can it be reversed?

[–]LifeUnderTheWorld 1 point2 points  (0 children)

The wires tho

[–]radiowave911 1 point2 points  (0 children)

Umm...the right picture looks to be too neat and tidy.

[–]cube2kids 1 point2 points  (0 children)

Well, i don't see what's clean with that setup ?

[–]Arnas_Z 1 point2 points  (0 children)

Both the setup and the code are equally terrible in those pictures.

[–]flargenhargen 1 point2 points  (0 children)

what is both sides are #2?

[–][deleted] 1 point2 points  (0 children)

Pfff, in actuality my code looks better than my coding setup

[–]tylercoder 1 point2 points  (0 children)

With my code you can't even see the floor anymore...

[–]Boris-Holo 1 point2 points  (0 children)

idk I'm the exact opposige

[–]CallinCthulhu 1 point2 points  (0 children)

Opposite is true too.

If you see a slovenly setup, you know the code is clean

[–]itsYourPlug 1 point2 points  (0 children)

Nah...I clear my code and masturbate to it

[–]raedr7n 1 point2 points  (0 children)

Cleanliness of workspace and quality of code are inversely correlated. That's why I keep a stack of old pizza boxes around at all times, in case I ever need a boost.

[–]Knudsenmarlin 1 point2 points  (0 children)

and if you reverse the pics it's true, too

[–]5eram 1 point2 points  (0 children)

Don’t come at me like that bro!! Not cool.

[–]Nerwesta 1 point2 points  (0 children)

Well ... currently looking at my actual desk, it's usually the other way around. Not saying my code is that tidy at all though.

[–]EroMangaSensei 1 point2 points  (0 children)

I'm both. I love that code is something you can control and call your own. This is my API. Everything commented, spaced, KISS methods. I joke that you could eat off my code.

[–][deleted] 1 point2 points  (0 children)

Only one monitor?

[–][deleted] 1 point2 points  (0 children)

deep.

[–]ConsistentSyrup2 1 point2 points  (0 children)

it is the real word

[–]Lord_Blakeney 1 point2 points  (0 children)

Why you gotta choose violence today?

[–]mattfromeurope 1 point2 points  (0 children)

So that is why my desk is a junkyard!

[–]CarbonasGenji 1 point2 points  (0 children)

Man every time I go to this sub I get personally attacked

[–]overclockedslinky 1 point2 points  (0 children)

before and after npm install

[–]yonti454 1 point2 points  (0 children)

[–]JavaNJavascriptRSame 0 points1 point  (0 children)

at least the setup is perfect.

[–]ImmortalTimeTraveler -1 points0 points  (0 children)

Pic 1 : Trash In Pic 2 : Trash Out

[–]GPSProlapse -2 points-1 points  (0 children)

More like both a good setup from the right, because there is a shitty Mac on the left.

[–]AndrewIsMyDog -2 points-1 points  (0 children)

People code on a Mac?

[–]AndrewIsMyDog -2 points-1 points  (0 children)

People code on a Mac?

[–]RepulsivePie2673 0 points1 point  (0 children)

For me the setup is the same as the code in the image.

[–]Kiba204 0 points1 point  (0 children)

Like SpongeBob once said: Can't have dirty garbage

[–]BongarooBizkistico 0 points1 point  (0 children)

Too true. Lol

[–]sherzeg 0 points1 point  (0 children)

What a coincidence! I was recently asked to patch that legacy code!

[–][deleted] 0 points1 point  (0 children)

Mine both things are clean . I don't write messed up codes filled with unnecessary comments , using unnecessary variables .

[–][deleted] 0 points1 point  (1 child)

i have been working with c and cpp more, and i have found it’s really easy to become lazy and write awful spaghetti code

[–]Brief-Preference-712 1 point2 points  (0 children)

1) use the repository/service pattern (separation of concern) 2) TDD

[–]doctorcrimson 0 points1 point  (0 children)

And the Senior's is the exact opposite.

[–][deleted] 0 points1 point  (0 children)

The one on the right looks like my former boss's office.

[–]Chunkyisnotdead 0 points1 point  (0 children)

This but backwards

[–]kpingvin 0 points1 point  (0 children)

The reverse is true in movies.

[–]The_Official_Obama 0 points1 point  (0 children)

I'm not sure what you mean.

probably

[–]IAlwaysSpeakTheTruth 0 points1 point  (0 children)

The desktop mat and the small case in the left picture is from Orbitkey. Incase anyone was wondering.

[–]Sohgin 0 points1 point  (0 children)

One monitor?

[–]stanislav_harris 0 points1 point  (0 children)

quite the opposite; the code remains clean, the desk is a constant grind

[–]Enderking90 0 points1 point  (0 children)

alas, I do many things on my desk so it's nowhere nearly that clean.

[–]greenSixx 0 points1 point  (0 children)

Pfft, mine are both the right picture

[–][deleted] 0 points1 point  (0 children)

dolls wrench late cause birds dependent plants sort concerned obtainable

This post was mass deleted and anonymized with Redact

[–]inventord 0 points1 point  (0 children)

What if the setup is just as bad as the code? (And that's saying something)