(no title)
kamov
|
1 year ago
I personally think that writing so called "terse, clever" (misnomer) code, is not an issue with the language, rather the user. Do we really want to have worse tools, just because some people are writing bad code? Clearly it's an issue with the software engineering process rather than language itself. A good language should allow a skilled user to write code as clear as day, while properly modelling the problem domain and making incorrect states logically unrepresentable. We have a tool for that, type system and a compiler.
RandomThoughts3|1 year ago
People tend to write bad code. It's a fact of life. Tools forcing people who write bad code to write better code can't be worse tools by definition. They are better tools.
kamov|1 year ago
theshrike79|1 year ago
Go actively prevents you from writing stupid code, it doesn't give you the tools to do cool code golf tricks