Hacker News new | past | comments | ask | show | jobs | submit login

> Go has a standard code style, everyone agrees to use the same format and all our code becomes easier to read and standardized.

I like VS Code's default code style for TypeScript, but partly because it is not too opinionated about whitespace (though it gets close).

But after 10 years, I finally went back to manual CSS formatting. I just can't write CSS without the option of single-line rulesets.

gofmt doesn't (or at least didn't) allow single-line blocks ever. This is just too opinionated, and for that reason it will one day change, even if that day is 20 years from now.

Having a standard is fine. But software is not just technical, it's an art too.




> This is just too opinionated, and for that reason it will one day change, even if that day is 20 years from now.

Would you be willing to make a Long Bet about it? https://longbets.org


Interesting site, I bet it won't last more than 20 more years.

I've been both right and wrong about long term predictions often enough that I've learned to just stop caring about it. (But I am right in this case.)




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

Search: