How to avoid too many classes is not a good question a better question would do you want to avoid too many classes? Let’s explore: A developer was ridiculing the way code was written in a project. I can hear it because he was sitting next to my cubicle. He was loud so other developers […]
Category: Uncategorized
Why my Mother Does Not Like me as a Programmer
Here are a few things that I do as a developer and are difficult to explain to a novice programmer or someone who has no programming experience. I Copy and Paste Code The good thing about my work environment is that we have people from different fields of engineering. We hang out together, eat together […]
MVC Step by Step Template for NON Beginners
I was in a coding rut i.e the moment when you are implementing a new feature. You write little code and test it and write again and test it. You do it until you get the desired result. I was thinking about all the ways a user can interact with my software. Writing code for […]
Object Oriented Programming Concepts With a Systematic Approach to Write Better Code
Haaaah another article on object oriented programming. You might be thinking that I will be discussing same OOP definitions with boring examples. The same definitions and examples that you have studied before. Maybe in your class or when preparing for a job interview. But today I will not rephrase those disjointed definitions but give you a […]
Two Programming Mindset to Grow as Developer
What do you think about the following code? int totalRecords = FileManager.GetTotalRecords(); List<Context> allContext = new List<Context>(); for(int i = 0; i< totalRecords; i++ ) { // Create a related object for each class.. allContext.Add(new Context(i)); } Is there any problem with the above code? This is a fine piece of code. It will work […]
What Steve Jobs can Teach you About Object Oriented Technology?
A year ago I read the biography of Steve Jobs written by Walter Isaacson. Before that, I knew Steve Jobs as a great innovator, inventor, engineer and someone who make expensive products. Aghhhh… I also know him as someone who has given a great commencement speech here: https://www.youtube.com/watch?v=UF8uR6Z6KLc His speech is motivational and inspiring. You should […]
You are new to Programming World and no one is There to Show you the Ropes
Do remember your first day of programming job? Maybe it is your first job or 5th job. You will always remember the problems that you faced during your first day or even the first week. You don’t know where is your computer. You don’t know who is your immediate boss yet. A higher level boss […]
Be a Rockstar in ZERO Time
We all want to be a rockstar in our life. We want to be known for something extraordinary. Maybe you haven’t given it a thought but I believe we subconsciously revere someone in our life. It could be our parents. Our teachers or one of our friends or relatives or someone in our office. You […]
S.O.L.I.D, GRASP And Other Basic Principles of Object Oriented Design
I will start with a cliché
A software code should depict following qualities:
Maintainability
Extensibility
Modularity
etc
You may find yourself in a difficult situation when you ask a question about whether any particular code depicts above quality features or not.
A technique that helps is by looking at the development timeline of any software. If the software code remains easier to maintain, extend and modular over its lifetime then it means that the code has above quality features.
I have written difficult to read, hard to extend and rotten software code. I only knew this after six months into the development when a change happens. Hence development timeline is important in understanding quality factors.