TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

2 pointsby ajwinnover 12 years ago

2 comments

cremnoover 12 years ago
&#62;Having to write out IO::SEEK_SET in Ruby really bothers me<p>You don't have to. The 2nd argument is optional and defaults to IO::SEEK_SET. (Source: <a href="http://www.ruby-doc.org/core-1.9.3/IO.html#method-i-seek" rel="nofollow">http://www.ruby-doc.org/core-1.9.3/IO.html#method-i-seek</a>)
lukeckover 12 years ago
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.