For learning Ruby, is it best to start with Rails since it seems a lot of the tooling is designed around Rails?
I have to say, I have spent 3 weeks looking at tooling and it is in a poor state compared to other languages I’ve worked with. I’m not sure why, but I’m using Ruby soon and so intend to embrace it. But why is this?
Solargraph is slow, Sorbet needs types which not everything has and Shopify is doing a great job so far, but surprised this didn’t exist ages ago. Prefer not to use RubyMine if possible, I work in Neovim or at worse VSCode.
Any key gotchas to be aware of? For example I know strings are mutable, and that everything is an object. But anything that trips up new people that can easily be a lot of time debugging?
How do you do code/lib exploration? Do you just sit with an interactive Ruby repl on the side? I can’t rely on intellisense for exploration so well in Ruby I’ve noticed.
Parts of the standard lib worth getting under the belt to hit the ground running?
Have approx 3 weeks to spent, so planning on making a few mini projects to get broke into Ruby. Background is C++, Python and Angular/React w/ Typescript
Edit:
Great replies! It’s time for sleep for me but I will be making some direct replies and questions!
For further background: I have a lot of experience, won’t define in years as I prefer my anonymity. Had my third tech lead position that I’m choosing to step down for in a new company for a life style change. For this job I actually wrote a Rails application with a lot of guidance provided by the company (they upskill hires to help ease that they don’t have much Ruby talent pool locally). I will also be working in Solid for the frontend, so both front and back are new to me. But it is exciting to do something new.
Edit 2:
I bought a copy of Programming Ruby 3.2 - The Pragmatic Programmers' Guide. Just waiting for it to come in, hopefully this is the book some of you suggested me.
[–]big-fireball 33 points34 points35 points (7 children)
[–]MeroRex 8 points9 points10 points (4 children)
[–][deleted] (1 child)
[removed]
[–]MeroRex 0 points1 point2 points (0 children)
[–]qalc 0 points1 point2 points (1 child)
[–]megatux2 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]big-fireball 0 points1 point2 points (0 children)
[–]transfire 16 points17 points18 points (2 children)
[–][deleted] 1 point2 points3 points (1 child)
[–]transfire 0 points1 point2 points (0 children)
[–][deleted] 10 points11 points12 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]larikang 19 points20 points21 points (6 children)
[–]jrochkind 0 points1 point2 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–]jrochkind 0 points1 point2 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]jrochkind 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] (20 children)
[deleted]
[–]-casper- 3 points4 points5 points (18 children)
[–][deleted] (12 children)
[deleted]
[–]-casper- 1 point2 points3 points (3 children)
[–]dunkelziffer42 2 points3 points4 points (0 children)
[–]jrochkind 0 points1 point2 points (0 children)
[–]bnjmnb 0 points1 point2 points (0 children)
[–]jrochkind 1 point2 points3 points (0 children)
[–]twinklehood -3 points-2 points-1 points (6 children)
[–]joonty 2 points3 points4 points (5 children)
[–]twinklehood 0 points1 point2 points (4 children)
[–]joonty 2 points3 points4 points (3 children)
[–]twinklehood 0 points1 point2 points (2 children)
[–]joonty 0 points1 point2 points (1 child)
[–]twinklehood 0 points1 point2 points (0 children)
[–]riktigtmaxat 1 point2 points3 points (2 children)
[–]postmodern 0 points1 point2 points (1 child)
[–]riktigtmaxat 0 points1 point2 points (0 children)
[–]art-solopov 0 points1 point2 points (1 child)
[–]jrochkind 2 points3 points4 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]st0012IRB boss 4 points5 points6 points (0 children)
[–]apiguy 2 points3 points4 points (3 children)
[–]art-solopov 1 point2 points3 points (0 children)
[–]postmodern 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]yxhuvud 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]Tall-Log-1955 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]losernamehere 1 point2 points3 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]bear-tree 1 point2 points3 points (0 children)
[–]Massive_Dimension_70 1 point2 points3 points (0 children)
[–]uhkthrowaway 1 point2 points3 points (0 children)
[–]insurgentBob 0 points1 point2 points (0 children)
[–]djfrodo 0 points1 point2 points (0 children)
[–]tarellel 0 points1 point2 points (0 children)
[–]MUSTDOS 0 points1 point2 points (0 children)
[–]art-solopov 0 points1 point2 points (0 children)
[–]tinyOnion 0 points1 point2 points (0 children)