3 ms·
It's a moot point because: A)Rust team deemed it low priority because syntax is in flux B)Lot's of great languages go without formatting tools, so it's not TH
by Ygg2 13y ago
It's a moot point because:
A)Rust team deemed it low priority because syntax is in flux
B)Lot's of great languages go without formatting tools, so it's not THAT necessary
>You can add DateTime at any time.
DateTime added after will likely be in a form of several incompatible and buggy libraries. A formatter is nice, but personally I think a good test coverage tool is way more functional than a pretty formatter. And a date time library is often way more needed to deal with the insanity of DateTimes received from databases and other sources of information.
>but if you don't come with a tool like fmt from 1.0 and force it down people's throats
..they will invent an IDE that does automatic formatting, for them? Like Eclipse, IntelliJ IDEA? Or a library that does the same like JSLint/JsHint?
As long as your tools agree on common formatting, it's not that difficult to achieve similar results to gofmt.
- coldtea 13y ago>..they will invent an IDE that does automatic formatting, for them? Like Eclipse, IntelliJ IDEA? Or a library that does the same like JSLint/JsHint? That's not the same. All those tools allow different styles, and people use them. You'd be hard pressed to find 2 javascript projects with the same formatting style on GitHub, whereas in Go it's like the default way or the highway...
- Ygg2 13y agoSo? As long as you have same style on your project - any style, your code will be readable and with less WS conflicts. I don't see what a built in formatter does, other than allow to minimize bikeshedding about format, which will just pop up as BS about libraries or VCS or something. That is assuming built in formatter doesn't have configurable options. Which some formatters do.
- coldtea 13y ago>I don't see what a built in formatter does, other than allow to minimize bikeshedding about format That's exactly what it does -- and it's an absolute wonderful experience to see it in Go. I'd say it again: very few people don't like, and most that tried Go were singes the praises of this idea.
- Ygg2 13y agoThat strikes me as a minor quality of life issue. Great, you've removed about 1% of all Bikesheds (which library,which framework, etc). Not, something that NEEDS to exist.