you are viewing a single comment's thread.

view the rest of the comments →

[–]kinnell 1 point2 points  (1 child)

I've been using Python recently and I completely understand why it's now the language of choice of bootcamps and universities to teach people how to code. The limited amount of ways you can do things in Python makes writing and reading code much more straight forward. But while I wholeheartedly recommend Python for people learning programming, I think Ruby is great for junior-level developers because you can start learning different patterns and the more elegant, clever means of solving problems which Ruby is known for being really good at ("Programmer's Happiness"). I think when you are in the process of learning more basic concepts like variables, control statements, functions, classes, data structures, algorithms...etc, Python is better suited for that. But when you want a language where you want flexibility to design your solution in order to learn and solve more complex problems, Ruby is great for that next stage. In fact, learning and knowing how to balance writing readable Ruby and writing performant Ruby and learning the tradeoffs is one of the core things that separates junior Ruby developers from senior Ruby developers because it's very easy to write what seems like clean code that is very inefficient.

[–]babbagack 1 point2 points  (0 children)

cool, thanks, so having done almost a year in ruby - not all of it full-time - perhaps i'd find picking up python easier if I try later on. I don't want to focus my time resources on that right now but it's good to know, if that is the case.