How Liskov Substitution Principle Can Save Your Classes

Liskov Substitution Principle is the L in the SOLID programming principles. It was announced to the world by Barbara Liskov in a 1987 conference keynote address titled Data abstraction and hierarchy. In that academic setting, using academic linguo, Liskov stated that in a computer program, if S is a subtype of T, then objects of… Continue reading…

0 comments

Setting Up Good Interface Design

At first glance your application is made up by methods, many in number and diverse in functionality. It is that diversity that has us make them “huddle up” in teams that share the same purpose, that satisfy the same end goal, or more simply put, that work together to get the “same job done”. Thus… Continue reading…

1 comment

Namespace And Namespacing Objects

“In many programming languages, namespacing is a technique employed to avoid collisions with other objects or variables in the global namespace. They’re also extremely useful for helping organize blocks of functionality in your application into easily manageable groups that can be uniquely identified.” – Addy Osmani “A Global Namespace is a heterogeneous, enterprise-wide abstraction of… Continue reading…

0 comments

Good Code Abides By The Open-Closed Principle

Def: “In object-oriented programming, the open/closed principle states “software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification“; that is, such an entity can allow its behaviour to be extended without modifying its source code.” – wikipedia In layman terms, what the principle states is that the objects you create… Continue reading…

0 comments

Comprehending Good Front-End Design

What is Front-End Design, and most of all: Why is it important? To better understand this first we’ll have to break the concept into parts. So, what is front-end? In layman’s terms it is the main contact surface between your business and your customer. Without it no user, and more importantly no potential customer, could… Continue reading…

1 comment

Why Is Continuous Code Refactoring Important

I’ll start off with this: Please refactor your code! Now that I got that off my chest, what exactly is refactoring? Def: “Code refactoring is the process of restructuring existing computer code—changing the factoring—without changing its external behaviour. Refactoring improves nonfunctional attributes of the software.” – wikipedia Now in layman’s terms. Refactoring is the ongoing… Continue reading…

0 comments

Good Code Has A Single Responsibility

Part of the SOLID principles of Object Oriented Design, the Single Responsibility rule – or more correctly called guideline – is there as a reminder to help guide all our coding endeavors, from the first line in the first method to all the subsequent modules and classes that will work effortlessly towards your end goal… Continue reading…

1 comment