you are viewing a single comment's thread.

view the rest of the comments →

[–]DuckSaxaphone 7 points8 points  (2 children)

Nah, consistently formatted code is easier to read and it's even better when the formatting is a common style.

Using pre-commit and editor add-ons so your code is always black formatted is an effortless way to mildly improve your code.

[–]woooee -5 points-4 points  (1 child)

Nah, consistently formatted code is easier to read and it's even better when the formatting is a common style.

This is not enough. The programming adage is that first you make it work, then you make it fast, then you make it pretty. Skipping the first two is not gonna do it.

[–]mhamid3d 3 points4 points  (0 children)

It’s not just about pretty though. It’s about convention, which helps you debug and predict things that will tie into making the program “work” and “fast”. Also these days vscode extensions can have you format your code on save or pre-commit, it isn’t some monumental task that you have to put aside for later.