3 ms·
Eh, IIRC Go was somewhat designed with "easy to autoformat"-semantics in mind. Or at least it just happened to overlap really well with the goal of being fast t
by vanderZwan 8y ago
Eh, IIRC Go was somewhat designed with "easy to autoformat"-semantics in mind. Or at least it just happened to overlap really well with the goal of being fast to compile.
- pjmlp 8y agoLanguages like Delphi were easy to autoformat on save during the 90's, while compiling relatively fast and being much more feature rich than Go.
- vanderZwan 8y agoSure, but you were talking about the Unix tool indent, which as far as I can tell based on its Wiki page was written to format C. https://en.wikipedia.org/wiki/Indent_%28Unix%29 https://en.wikipedia.org/wiki/Indent_%28Unix%29
- pjmlp 8y agoI was, because I was making the point that there isn't anything special about gofmt other that not being aware of previous tools.
- dilap 8y agoGo's innovation was social: it was saying: "Here's the code formatter, use it, always. There is one style, use it, always."
- vanderZwan 8y agoExactly. Saying gofmt didn't change anything is a bit like saying the invention of the camera was nothing new because the technologies to create one existed for a century before they were combined.