?

Log in

No account? Create an account
Computing Aphorisms - Rat Ramblings [entries|archive|friends|userinfo]
Nicodemus

[ website | My Website ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Computing Aphorisms [Apr. 4th, 2007|09:51 am]
Nicodemus
One of my favorite programmer mantras is:

There are three numbers in programming: 0, 1, and infinity.

This expresses the simple concept that, when considering some feature or capability, a program should not allow things of that type (0), it should allow a unique case (1), or it should process any arbitrary number of those things (infinity). It turns out to be a surprisingly good software design principle. Of course, there are practical physical limits imposed on computers, but the idea is what's important. (rambling wiki discussion)


Today, I just encountered a new saying that also seems to be a great truism:

There are three states for hard drives: in the box, almost full, and deceased.

As storage becomes cheaper, data seems to behave less like a liquid and more like a gas: it will expand to fill all available space. This is true of my hard drives, certainly. *sigh* Time for another trip to Fry's...
LinkReply

Comments:
[User Picture]From: normanrafferty
2007-04-04 08:17 pm (UTC)
Yeah, when did I get all this data?

Gott in Himmel, I can fit my entire oeuvre on a USB drive that fits in my pocket, for less than $20. O.o
(Reply) (Thread)
[User Picture]From: furahi
2007-04-05 04:04 am (UTC)
Those are very true.
I remember back in my University, especially in my undergrad days, most of my peers would be amazed when I did something that worked for any arbitrary number of inputs, when the homework or project spec was lazy and said they only wanted it for, say, 20.
I always thought that way "if I'll do it for 20 I might as well make it work for any number", and I did, and it got me good grades in those projects :)
(Reply) (Thread)
[User Picture]From: arrowtwolf
2007-04-06 07:36 am (UTC)
I seem to be an exception to that rule, sorta.. I got my 80 GB hard drive 3 years ago. I was down to 10 GB free.. but that was because of some big raw videos I needed to edit.. got those done, and now I'm up to 33% free.. though, at 3 years, I'm worrying about that 'deceased' part coming up..
(Reply) (Thread)