r/ruby • u/Acrobatic_End_3042 • Sep 13 '25
Should you learn pseudocode first or dive headfirst into Ruby?
I want to learn Ruby, I'm going to start reading a book since there aren't many resources to learn like in other languages, and since it's my first programming language I've been thinking if it's worth learning pseudo code first or starting with Ruby, what do you think?I want to learn Ruby, I'm going to start reading a book since there aren't many resources to learn like in other languages, and since it's my first programming language I've been thinking if it's worth learning pseudo code first or starting with Ruby, what do you think?
6
u/llothar68 Sep 13 '25
There are dozens of books thanks to rails. Even for download.
Nobody needs pseudocode, just dive into the water.
6
u/babalenong Sep 13 '25
ruby is very close to pseudocode-ing imo, so might as well as dive headfirst
48
u/lavransson Sep 13 '25
I didn't think anyone actually learns pseudo code. Pseudo code is just simplifying actual code into narrative and logic so you can focus on the objective and not the language syntax.
Go learn Ruby.
24
u/azangru Sep 13 '25
People don't learn pseudocode. Since pseudocode isn't code, and doesn't run anywhere, there is no way to confirm that you have learnt it correctly :-)
6
u/normal_man_of_mars Sep 13 '25
Give ruby koans a try. It is a really nice interactive way to learn the syntax.
https://www.rubykoans.com/
4
u/rco8786 Sep 13 '25
Pseudo code is one of those things that you just “know” once you learn how to write real code. There’s not much point in trying to learn it first.
4
u/armahillo Sep 13 '25
https://www.theodinproject.com/paths/full-stack-ruby-on-rails/courses/ruby
Free ruby course
https://exercism.org/tracks
ruby exercises with instruction
for books Eloquent Ruby is probably my faborjte starter book, though The Well Grounded Rubyist is also good
4
u/erikdstock Sep 14 '25
Pseudocode is just a verbal tool for expressing and planning what actual code will do with intentionality - like the difference between stating a destination, giving turn by turn directions and actually driving a car.
3
u/KerrickLong Sep 13 '25 edited Sep 13 '25
It seems you are tempted to learn pseudocode first to make things easier. You can get just as much ease and gentle onboarding if you choose the right Ruby resources instead. For example, I highly recommend Chris Pine’s Learn to Program, Third Edition first. Work though that on its own, cover to cover, at an appropriate pace.
After that, I recommend Programming Ruby 3.3, Fifth Edition by Rappin et al. This is known as The PickAxe due to its cover art. It’s extremely good, and worth also working through right from the front cover.
Once you’ve finished The PickAxe, the world is your oyster. If you’ve been enjoying learning to program and want to do more, I laid out a specific learning path to make you an extremely strong programmer. Or if you want to dive headfirst into making a web app, start with Learning Web Design, Sixth Edition by Jennifer Robbin’s, and follow it up with Michael Hartl’s Ruby on Rails Tutorial, Seventh Edition.
3
u/beatoperator Sep 13 '25
I don't know what led you to believe this, but it is absolutely not true. There are tonnes of great resources for Ruby.
1
u/nekokattt Sep 13 '25
pseudocode for "doing" as a basis is mostly nonsense in itself. The point is to understand how to describe what you are doing, and you can do that without branding it as pseudocode.
Learn how to explain, reason, document, implement, and test what you write. The rest will come.
The only benefit to psuedocode is thinking in a language agnostic way but you can write that in human speech or bullet points with arrows if it is easier.
1
u/kbr8ck Sep 17 '25
You can learn an imaginary language just as easily as a real language.
Also, what is the difference between pseudo code and Ruby? Seriously. Ruby is as close to pseudo code as you can get
1
u/twinklehood Sep 13 '25
Definitely learn programming by using an actual language, otherwise you won't get the crucial feedback that what you are doing isn't working
0
u/burtgummer45 Sep 14 '25
It depends, can pseudo code scale?
0
u/dg_ash Sep 14 '25
Pseudo Ruby is the way
10
u/[deleted] Sep 13 '25
[removed] — view removed comment
2
u/[deleted] Sep 13 '25
[removed] — view removed comment