The Weirdest Programming Principles You’ve Never Heard Of

We’ve already walked you through the most essential programming principles you need to know about, but there’s another class of programming principles that may prove even more beneficial than those.

Whereas the aforementioned principles teach you how to be smart with your code, the following principles will teach you to be wise with your code. Some of them are strange, and many of them are humorous, but they’re all equally practical and important. Take heed!Computer Science Computer Science Computer Science Computer Science Computer Science

1. The Bloat Principle

This one has so many variations that it’s hard to pick one as the main one. Perhaps the most “official” version is the Law of Software Envelopment, more commonly called Zawinski’s Law, named after Jamie Zawinski and mentioned in The Art of UNIX Programming:Computer Science Computer Science Computer Science Computer Science Computer Science

“Every program attempts to expand until it can read mail. Those programs which cannot so expand are replaced by ones which can.”

It’s talking about the tendency of programs to attract more and more features over time and inevitably drift towards increasing complexity. You may know this as feature creep, which is the ongoing addition of new features that have nothing to do with the main purpose of the program. Feature creep leads to bloat, and bloat is often undesirable.

Prev1 of 8Next

Leave a Reply

Your email address will not be published. Required fields are marked *