Category «Code Quality»

Coding for the Future: Making Code Readable and Extensible

In today’s world, software tends to live on and on with many features added over the course of its lifetime. To deal with perpetual software, software engineers must write code that is maintainable. Maintainable code has two properties we care about: readability, the ease of understanding code, and extensibility, the ease of extending code later. As …

Share this post:

Prefer Composition over Implementation Inheritance

In a previous post, we learned implementation inheritance should be avoided. But, what can we do instead? Composition to the Rescue We want to be able to share code while allowing us to switch out different functionalities on the fly keeping us extensible. Without inheritance, what could we do to share code? Let’s use composition! …

Share this post:

Implementation Inheritance Is Evil

Inheritance is an Object-Oriented Programming concept near and dear to my heart. Early on I recognized it as a godsend to programmers. Over time, I found myself realizing its destructive nature in my projects. In programs where I began to crave extensibility, I noticed that inheritance started limiting me to due to its tightly coupled …

Share this post:

My Favorite Books About Coding

Even with the internet around, books are great resources for learning about coding. Here are books I recommend. Clean Code I love Clean Code. It has so many small little tidbits that make code easier to read and maintain. Anyone who does any coding NEEDS to at least skim this book! My favorite tip: always …

Share this post: