DEV Community

loading...

Discussion on: Learn a New Language: Ruby or Go?

Collapse
brownio profile image
Antonio Djigo

I would go for Ruby only if you are going to do Web Development, Rails its awesome, curated, etc, ruby syntax is lovely.

If you are thinking about "A language I'd like to use for almost everything I do", I'd go with Go.

Both are awesome, but Go is growing better in my opinion, also, the Gopher logo is way cooler

😎

Collapse
talentlessguy profile image
v 1 r t l

and Go is great for web development too

it has an std package for literally any task

Collapse
brownio profile image
Antonio Djigo

It is! I just think that Ruby experience in Web dev is more pleasant and everything is better pavement (the more years of usage the framework has, the more refined it is)

Thread Thread
talentlessguy profile image
v 1 r t l

what makes go less pleasant in your opinion?

Thread Thread
brownio profile image
Antonio Djigo

For Rails, there is:

  • Better CLI & standardised framework
  • Code practices and design patterns are more standardised
  • Bigger community = More Q&A around google to fix your problems
  • More guides and courses to learn everything properly

I'm not saying Go does not have this, but, for sure these points are not as good as in Rails.

Thread Thread
talentlessguy profile image
v 1 r t l
  • Basically almost everything is standardized – HTTP routes, SQL databases, templates etc. Go CLI... I don't understand what's difficult in go run server.go

  • There is an official style guide, and tutorials how to do best practises

  • Community is very huge in Golang. There are tons of packages and a ton of stackoverflow questions

  • There's Go Tour, Go Docs, and Go Tutorial. All of them are official. I don't understand what problem is here.

Collapse
m_nevin profile image
Marc Nevin Author

Ahh nice, this is the sort of response I was hoping for!

I'm leaning to Go but a few raised the point of trying both so I'll have to look at both your posts :D

Collapse
brownio profile image
Antonio Djigo

Glad it helped!