Skip to content

Ruby vs. Python - A n00b's perspective (part 5)

futurefun.tumblr.com
2 pointsajwinn2 comments
On HN

Comments

>Having to write out IO::SEEK_SET in Ruby really bothers me

You don't have to. The 2nd argument is optional and defaults to IO::SEEK_SET. (Source: http://www.ruby-doc.org/core-1.9.3/IO.html#method-i-seek)

This series of posts has been really interesting. At first I was dismissive and found myself disagreeing with a lot of the assessments but the explanations of why one language's approach is better from a beginner's perspective can tell us much about better ways to teach programming.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.