4 ms·
Not all languages have good linting/autoformatting support (although luckilt they're rarer these days). For example: R.
by Coding_Cat 8y ago
Not all languages have good linting/autoformatting support (although luckilt they're rarer these days). For example: R.
- bluntfang 8y agoThis is a discussion to be had before coding starts on a project. Do you care about style? If yes, choose a language that cares about style.
- com2kid 8y agoNot always possible if the requirements of the project dictate the language.
- wereHamster 8y agoBuild that tool yourself if one doesn't exist yet. The whole community will thank you for it.
- zeckalpha 8y agohttps://cran.r-project.org/web/packages/formatR/index.html https://cran.r-project.org/web/packages/formatR/index.html
- Coding_Cat 8y agoWe looked at it for our project, but it didn't work for us. Too little configuration & it made sections of code completely unreadable. I miss clang-format...
- galkk 8y agoGoogle's internal Java formatter doesn't (didn't) have _any_ configuration. And, as I start to believe, it's good