3 ms·
Like: -The go AST package was a pleasure to use Dislike: - Boilerplate error handling - Excessive verbosity - Multiple return not being of a type - Duck T
by ohCh6zos 4y ago
Like:
-The go AST package was a pleasure to use
Dislike:
- Boilerplate error handling
- Excessive verbosity
- Multiple return not being of a type
- Duck Typed interfaces and the empty interface
- Go generate that makes verbosity worse
- Case-sensitive namespacing that leads to hunts for all the
instances
- Namespacing in modules that leads very large files
- Shadowing rules that let you shoot yourself in the
- Rules around =, := and var
- Slice tricks and for loops try to encompass iteration instead of something like list comprehensions
- Nullability and default values
- Short variable names to the point of being meaningless even in the standard library
- The go community's seeming insistence on a singular or
idiomatic way to do things
- The standard library is missing basics
Edit: Added some formatting.