News for hackers. Stuff that matters.
Re:The Ruby Stdlib is a Ghetto by viraptor on Monday November 22, 2010 @07:28PM (#1931872)
> How many different interfaces are there to popen(3)?

popen, popen2 - both deprecated. The new "proper" one is available since 2.4 (quite a long time now) - subprocess.

> How many different ways to get the current time?

time.time() <- timestamp, datetime.now() <- date

Is this that bad? Sure, popen and popen2 are silly, but they're left for compatibility, while subprocess was introduced to update stdlib (as OP claimed). It's hardly a jungle...

There are no comments on this comment yet.