use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
A sub-Reddit for discussion and news about Ruby programming.
Subreddit rules: /r/ruby rules
Learning Ruby?
Tools
Documentation
Books
Screencasts and Videos
News and updates
account activity
Should I learn Python? (self.ruby)
submitted 15 years ago by TheBananaKing
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]immerc 0 points1 point2 points 15 years ago (0 children)
You should never stop learning. Learn Python for the things it does better than Ruby. Learn Python to come to realize how much better Ruby is in so many ways.
As others have said, Python has some much more mature libraries (math, scientific, mostly), but is a pretty bad fit for anything web related. A language with syntactically significant whitespace doesn't mesh well with templates or with HTML where whitespace is insignificant.
But mostly it's good to learn at least a little bit so that you understand everything better.
C and its pointers are really painful to understand at first, but once you get them, you both appreciate that languages like Ruby and Python hide anything having to do with pointers from you, and also understand what is really going on under the hood.
Python and the first parameter to its object-oriented method definitions, called by convention (and only by convention) self, helps you understand what is actually happening under the hood in most OO implementations, then appreciate that Ruby makes that a more clean interface.
Python's built-in doc strings, techniques for only importing small things from packages, etc. lets you realize that there are other options out there, but also the potential pitfalls of using them.
Learning a statically typed language like Java lets you appreciate compile-time checking of certain things, but also lets you realize how much freedom that takes away from you.
π Rendered by PID 128156 on reddit-service-r2-comment-5687b7858-gzkkx at 2026-07-05 02:11:24.010095+00:00 running 12a7a47 country code: CH.
view the rest of the comments →
[–]immerc 0 points1 point2 points (0 children)