News for hackers. Stuff that matters.
Re:Ruby Stdlib is a Ghetto, Pt. 2 by regularfry on Friday November 26, 2010 @11:18AM (#1942637)
> It seems to me like protocols don't belong in the same directory as libraries for basic local file operations

They aren't. File is in core, net/http is in stdlib. FileUtils is in stdlib, but that's more about interaction with the filesystem than files themselves, and it's not necessary for every single ruby script the way File is.

For the most part, I think the core/stdlib separation is ok. What I take issue with is the namespace organisation, especially in stdlib. I'd rather see a deeper hierarchy that avoids stomping on the top-level namespace than what we've got now, but that's a lot of work to reorganise.

There are no comments on this comment yet.