3 ms·
The longer I work as a developer the more I appreciate simple, reliable tools. I don’t want it to be possible for people to have different syntaxes. I want ther
by cageface 8y ago
The longer I work as a developer the more I appreciate simple, reliable tools. I don’t want it to be possible for people to have different syntaxes. I want there to be one syntax enforced by the tool. That consistency is a lot more valuable in production code, diffs etc than letting people choose tabs vs spaces.
Since I started using prettier with JS I hate switching to a language that doesn’t have it.
- dunefox 8y agoThat criticism doesn't make sense if one syntax is completely identical to another in terms of the underlying semantics. Different syntax, same language.
- cageface 8y agoI’m always sharing diffs of code, screenshots, browsing code snippets online etc. Unless every single one of these tools also allows me to configure the way the AST is rendered then this approach adds a lot of confusion for not much benefit. The actual representation of code is just as important as the AST in many cases. If it wasn’t then we would all just code in lisp.
- naasking 8y ago> Different syntax, same language. This is probably a fiction for any reasonably complex language. Being able to view a C program in S-expression form doesn't solve any real open problems in software engineering, but it certainly creates some new ones.