this post was submitted on 28 Aug 2024
523 points (96.9% liked)

Programmer Humor

32041 readers
977 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 35 points 3 weeks ago (2 children)

To be fair, this is also how VS looks when you open a project fresh from the clone. Or after updating .net versions. .NET is awful about losing references and then claiming thousands of errors. Sometimes just running the build will fix it by relinking the DLLs it couldn't find.

But also yes, VS with a team can be "fun" if people don't sync their formatting settings. I once had a junior that kept converting spaces to tabs on every file he'd touch. You'd get it fixed and then he'd screw up his settings again with a VS update or something.

[–] [email protected] 12 points 3 weeks ago

Try programming in Dart. Dart's static analyser and package manager will go nuts 0.0001 seconds before the fucking packages load

[–] [email protected] 10 points 3 weeks ago (1 children)
[–] [email protected] 2 points 3 weeks ago (1 children)
[–] [email protected] 8 points 3 weeks ago (1 children)

Tabs > spaces

Tabs does allow you to set the spacing you need.
Spaces are like hardcoding passwords

[–] [email protected] 4 points 3 weeks ago (3 children)

Yeah, tabs are larger spaces, what's your point?

/s

You may be right, but I still have an unreasonable hate for tabs in code

[–] [email protected] 12 points 3 weeks ago (1 children)

And I for spaces.

Let's hate both and be mad at the client?

[–] [email protected] 4 points 3 weeks ago

I like the way you think.

[–] [email protected] 5 points 3 weeks ago

Tabs for indenting and spaces for aligning. There. Everybody wins and loses.

This way the code always looks aligned and if you prefer 4 spaces for a tab instead of 2 or 3 or 8 you can just set it in your IDE.

Crisis averted!

[–] [email protected] 1 points 2 weeks ago

Both tabs and spaces are stupid.

It's ridiculous that in 2024, code formatting is still embedded in the source instead of being a style you apply.