3 ms·
Considering the codebase is around a decade old, how many code formatters existed for C/C++ back then? I am asking because I've only used gofmt to format Go co
by zxcdw 14y ago
Considering the codebase is around a decade old, how many code formatters existed for C/C++ back then?
I am asking because I've only used gofmt to format Go code and infact it was gofmt which introduced the whole concept to me.
- Jabbles 14y agoAstyle seems to have been around that long, I imagine pure C formatters have existed for much longer. They've got a lot in common with a language parser so if you've got a compiler you're most of the way there. http://astyle.sourceforge.net/notes.html http://astyle.sourceforge.net/notes.html I think Go is pretty unusual in that gofmt is provided with the language. So all Go everywhere looks the same. It's awesome isn't it? :)
- kybernetyk 14y agoI can remember using AStyle in ~2003. I think it's a little older than that.