DEV Community

Discussion on: Go tools are awesome

Collapse
 
legolord208 profile image
jD91mZM2

Meh. Rust's tools are better. RLS is better than auto-building and linting on save. go generate is useless compared to actual generics and macros. Also go's forced directory layout is annoying. Not to mention referring directly to a git repository is dangerous, because if the repository or it's owner is deleted or renamed, anybody can create a virus in it's place. Also direct git means no versioning.

Collapse
 
plutov profile image
Alex Pliutau • Edited

Agree and not :)

RLS is better than auto-building and linting on save.

It's just different, Go is not responsible for linting on save, but has all tools to do it.

Also direct git means no versioning.

Go has a nice package manager where you fi the version - github.com/golang/dep.

Agree that go generate is not yet powerful enough, but can be used in a good way to build some ode on the fly.

Collapse
 
legolord208 profile image
jD91mZM2

It's just different, Go is not responsible for linting on save, but has all tools to do it.

I know. But it would be better if there was a language server :/

Go has a nice package manager where you fi the version - github.com/golang/dep.

Wow, TIL! Looks pretty cool, but I gotta say Gopkg.toml and Gopkg.lock makes it look exactly like a Cargo ripoff.

Agree that go generate is not yet powerful enough, but can be used in a good way to build some ode on the fly.

Yes but why not just make macros and generics? It's not like generics will be slower than go generate already is... Especially not with incremental compilation.