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

I hate those kinds of abstractions, ends up becoming as useless as it is all-encompassing.

Take linux "everything is a file", yes, your word document and your sound device are files, also how do you increase the volume of your speakers, er.... it's a file and you can write to it!

The usefulness of a system lies in the stances it takes, it takes guts to be opinionated. It's easier to create a system of stem cells that can be anything and can be configured to your needs, all you need to do is write a turing complete configuration file.



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.


> also how do you increase the volume of your speakers

The mixer is a separate device.

> it's a file and you can write to it!

Which means you don't need any special software or tooling to use it. So you can automate actions with it using scripts in ways that any other desktop system won't do for you nearly as easily.

> all you need to do is write a turing complete configuration file.

Welcome to "general purpose" computing. Go back 50 years and see what the alternatives were. Or check out Plan 9 to see the file concept taken to a much better conclusion.




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

Search: