- arah91, on 08/20/2008, -0/+14Just a quick question i know the basic differences between a object and a file but aside from when writing code how does this help the computer ,and what does it help it do?
- daveisfera, on 08/21/2008, -0/+3Ya, it's not even explained what advantage this is actually supposed to have, and I just don't see what type of benefit could be had from this.
- doctechnical, on 08/21/2008, -0/+4I'm trying to work that out myself... if you're storing an object, you're storing it's methods as well...? That can't be right, it's redundant as all hell.
It would help if he could explain the difference between a file (say, a picture of my cat, kitty.jpg) and a picture "object". What does the object have that the file doesn't, and vice versa? How does the data on the hard drive platter differ in each case?
This article raises a hell of a lot more questions than it answers. - OstrakonX, on 08/22/2008, -0/+2It doesn't help anything.
A file and object are essentially similar in that they are allocated regions of storage. A file is generally stored in a nonvolatile place for durable storage, with pieces of it moved to main memory (i.e., RAM) when it's needed. An object contains data like a file, but also code to execute to interact with that data (in OOP, in procedural, it's one or the other). In OOP, most files are objects anyway.
Storing everything as an object would just take up more disk space, and be more inefficient. If I have a JPEG, is it better to get the JPEG data from my disk and running the code that displays it that's already in main memory, or to spend an extra clock cycle finding the code to do that inside the file itself? What if I want to look at 50 JPEGs?
It's a moronic article.
- neopherine, on 08/21/2008, -0/+9So, it's not really an OS, it's a kernel module?
- Kral, on 08/21/2008, -1/+4Is this being dugg for humor value? The guy is insanely clueless and it had me having to pause to facepalm several times as I read through it.
- revil, on 08/21/2008, -1/+4Basically he states, instead of storing objects in files, he stores files in objects. ...and those objects are stored in a file...
Does this guy even know what he is talking about? - boneclinks, on 08/22/2008, -2/+1I KISSED GIRL BUT SHE LIKED IT
- krustaceo, on 08/22/2008, -0/+1a lot of "fundamental"s makes you a fundamentalist
- tooclueless, on 08/23/2008, -0/+0Hey, thanks for keeping an open mind!! If you are happy with the way things are now, keep on keeping on, don't let me stop you. I have been using computers for 35 years and I find them every bit as obnoxious and annoying as they were 35 years ago. No, change that, I find them far more annoying than they were 35 years ago. Because now my memory is far worse and there are thousands more things to keep track of. I'm sorry I offended everybody by trying to think of a way to improve things. Everybody knows that doing things the way we have always done them leads to great things. Have a nice day! :)
- tooclueless, on 08/23/2008, -0/+0P.S. if anyone is interested, I tried to explain a little more in a reply on LinuxHaxor.


What is Digg?
Digg is coming to a city (and computer) near you! Check out all the details on our