top | item 37694763

(no title)

marqueewinq | 2 years ago

Another purpose of code, as in software, is to be readable (aside from being executable). There's a million ways to do the formatting, and i would prefer people to use linter when they write code (hopefully, the same linter i'm using).

Those languages enforce a standard syntactic structure; there are less ways to write unreadable code, which is a good thing.

discuss

order

lolinder|2 years ago

I prefer the middle ground taken by Go and others—have a standard formatter that is part of the language that everyone agrees to use, but don't make that syntactically relevant. That way you get readable code without individual coders ever having to manually fiddle with indentation levels, which is a source of endless problems when copy/pasting.

pkage|2 years ago

Agreed, top comments smacks of gatekeeping. I work in both Python(ic) languages and in C/C++, both have their strengths and weaknesses. No need to start flame wars.