Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't think it's quite the same thing as "everything is a file". Unix files are typeless byte streams. Ruby objects have actual structure and type, and being able to do, for example, `49.times {print "this is a time!"}` because integers are objects doesn't add any friction to your life.


Objects and files are different, yes.

However one isn't inherently less abstract than the other.

For example, while objects may have 'structure and type'. They don't have an inherent byte representation, so one could argue they are even more abstract.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: