3 ms·
It's not like Golang doesn't come with its own set of frustration. Several things I miss from Ruby/Rails 1) An interactive shell. It's sometimes super conveni
by weatherlite 4y ago
It's not like Golang doesn't come with its own set of frustration.
Several things I miss from Ruby/Rails
1) An interactive shell. It's sometimes super convenient to run Rails c and just call whatever worker or model method you want...not really doable in Go.
2) Ruby's Enumerable. Even with Generics, manipulating and finding elements or sorting collections in Go is much harder and more verbose than Ruby. In web apps we do only this most of the time.
3) Rails. I just miss one big batteries included framework. No such thing in Go afaik.
4) Expressiveness. There is no ternary operator in Go for example, as the philosophy of Go is to reduce language keywords as much as possible. As a result you generally have more code and are less expressive. While there are pros to this I personally see this as more of a con.
- itake 4y ago1) true. The unit tests tend to fill that gap for me thought. 2) +1 3) There are a lot of Go frameworks that replicate rails framework. At my job, we use Go-kit. 4) yep. Go is too simple.
- weatherlite 4y agoI looked around at Go-kit just now, not really getting it, it looks like a list of resources and there's a bunch of frameworks listed. Doesn't look opinionated or am I wrong?