Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

One of the hardest things for me is (or was) consistent styles, because I'd change something with every new project, and several projects down the line, everything was different.

Somehow I was too hard on myself (or should I say perfectionistic?)

But,... I found a cure :) Developing JavaScript (ES6) means I have access to all sort of tools and one of the best out there is Eslint. On top of that, I use AirBnbs rules and no more issues - all I have to do is take someone else's directions and be happy with them. No more styling OCD :)



hah -- i found the same result with gofmt, golint, and go vet


Agree 100%. JetBrains tooling is fantastic for enforcing consistent style. The little squiggles and red and orange marks compel people to fix their shit, the way spellcheckers do. To the point that I almost want to pay out of my pocket for subscriptions for my coworkers.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: