So, there's a chance I might need to get myself up to speed with Ruby (for real, and for quick), and even a smidgen of Rails and/or Sinatra.
I read why's poignant guide a long time ago. I also worked through some of Michael Hartl's Rails Tutorial, but this was back in Rails 4 days.
I've been working with JavaScript, TypeScript, C++, and Rust enough to feel I sort of understand what OOP means, but I know that Ruby takes a page from the Smalltalk book of object orientation . It ain't kid's play anymore, we're really oriented around objects here.
I have heard Practical Object-Oriented Design in Ruby by Sandi Metz is a good resource, and I am planning to pick up a copy. I also plan to translate some existing web backend work in a variety of tools to Rails 6. How else would you, Ruby expert, go about getting yourself back up to speed?
(p.s. job. more after the break.)
Top comments (23)
Ruby is a scripting language at its core. One command after another. Almost brutally simplistic.
I’d recommend opening up IRB and typing some commands. It’s actually pretty close to coding in the environment.
Ruby is sort of object oriented, sort of functional, and has a few ways to do the same thing most of the time. It’s a bit of a free-for-all.
Sololearn and Treehouse now im working througfh some Middleman and Sinatra
Sounds like a blast, honestly.
It's so much about personal taste, but I really love how much care has gone into the language. It's a language that is more art than science and there are plenty of folks that find it distasteful.
But if it "fits your brain" it really is a blast.
I see some Ruby in DEV - "Matz is nice, so we are nice"
MINASWAN 👍
OK so you need the following things:
And (I can't stress this enough)
Jk...
I used rubymonk.com/
And can really recommend: "effective testing with rspec 3" (p.s. it also got some nice stuff about Sinatra - API DSL - :D)
And of course follow the ruby tag on here :D
Hey Ben,
I've been learning Ruby lately. I'm using a course on Udemy The Complete Ruby on Rails Developer course, and the Headstart Ruby book. Ruby seems super easy to learn compared to other languages, compared to Java and Javascript anyway.
I got my start with the ruby koans. Was great for quickly picking up syntax and served as my intro to TDD.
Once you reach
enlightenment
the files also serve as a good quick reference.Excellent, thanks so much!
If you want to understand OOP then C++ is for you and Ruby is easy. Get some books and references and try out some code in REPL.
It's more Ruby specifically than OOP I want to understand, but I get the impression the two are closely intertwined, more so than with C++.
If you have tried dynamic and scripting languages then this will be easy for you. I have learned languages of different category.
Hello, I am also a Ruby developer and I am in Africa, I would like to learn more about Ruby and Ruby on rails and become better, that's why I would like to ask you if you can give me your lessons. from ruby or ruby on rails from udemy or whatever.
thank you so much
I'm currently just using the official documentation! Good luck :)
I learned with Michael Hartl's Rails Tutorial last year, can't complain!
amazon.com/Metaprogramming-Ruby-Pr...
This looks really cool, might have to buy this too. Thank you.
Sandi's book is one the best. There's another good one called Mastering Ruby Closures by Benjamin Tan Wei Hao. Good luck!
Awesome, thanks for the link. I already bought POODR and have to say it's already one of the best books on software I've read to date, having only completed the first two chapters. Wide-ranging wisdom that far exceeds just Ruby.
Michael Hartl's Rails tutorial is how I learned it in 2013.
I think you'll be fine.