3 ms·
Learn Rust or something else if you do not like or cannot stand golang! This generates high-calorie syntactic sugar just to satisfy an itch. Run the generated
by gertd 1y ago
Learn Rust or something else if you do not like or cannot stand golang!
This generates high-calorie syntactic sugar just to satisfy an itch.
Run the generated code through the golang-ci linter, which will barf on what is getting created, for example:
```
// Eliminates any 'unused variable' errors
_, _, _, _ = err, fileContent, fileContentStrVersion, trimmedLines
```
golang is a procedural language. If you cannot deal with it, don't use it, but please stop polluting the ecosystem.