DEV Community

Discussion on: What’s overrated?

Collapse
 
molly profile image
Molly Struve (she/her)

Syntax opinions.

Seriously, if the code works and you can read who cares how many spaces or tabs it has? Who cares if there are hash rockets? If the compilers don't care, we shouldn't either

Collapse
 
almenon profile image
Almenon

It's not exactly a opinion though - it's a fact that in python no semicolons and brackets means less typing needed :P

Collapse
 
georgecoldham profile image
George

I love code formatters. I like writing my js without semicolons, so what? Its all made to look identical as soon as I commit!

As long as the formatter keeps the logic, and is readable. I couldnt care less.

Collapse
 
jsn1nj4 profile image
Elliot Derhay

Before I totally agree, I do have to ask if this would cause a lot of extra white space changes to appear in shared code. That would be my only issue.

Other than that, yeah, I don't care for arguing over personal white space preferences, so long as there's some kind of agreement or compromise within a team.

Collapse
 
skydevht profile image
Holy-Elie Scaïde • Edited

I have strong opinions on syntax because it helps me manipulate code faster. I like typing Tab to indent but I like it that all my whitespace is space so I can move the cursor inside (something I rarely do, btw). I like semicolons after my line because I've started with C and it's a habit now.
I won't argue about syntax opinions and I'm more than happy to follow the one the team decided. But my own is just so comfortable.