Latest Activity

sanin shakya is now a member of Smart Software
Nov 23, 2012
vishal jain is now a member of Smart Software
Sep 15, 2012
Profile IconTejas Patel and Harsha DP joined Smart Software
Aug 15, 2012
Profile IconRaghunandan and Amol Agase joined Smart Software
Aug 10, 2012
vinay kumar is now a member of Smart Software
Jun 1, 2012
Rohit Pant posted a blog post

Interface Segregation Principle

Folks,From the bunch of SOLID , I guess this is a fairly easy principle to understand. One of the basics of OOP is that we must code to interfaces and not to classes. Assuming that you have done that just make sure that your interfaces are not getting FAT. FAT is a common word used to explain this principle. By FAT we mean an interface with loads of methods in it and eventually all of them are not required by the classes that implement these interfaces.One direct issue with FAT interfaces is…See More
Jun 1, 2012
vinay kumar is now a member of Smart Software
Mar 21, 2012
Arun Saral is now a member of Smart Software
Mar 14, 2012
vishal sood is now a member of Smart Software
Feb 29, 2012
Rohit Pant shared their blog post on Facebook
Feb 20, 2012
Rohit Pant shared their blog post on Facebook
Feb 20, 2012
Rohit Pant posted a blog post

Liskov Substitution Principle

Folks,            Barbara Jane Liskov was the first women american computer scientst who earned a PHd in computer science. She is the one who also came up with Liskov substituion principle and it is the 'L' in SOLID. She coined this term in 1987. First let's see what it means in her own words. "If for each object o1 of type S there is an object o2 of type T such that for all programs P defined in terms of T, the…See More
Feb 20, 2012
Rohit Pant updated their profile
Feb 12, 2012
Rohit Pant left a comment for Rohit pant
"Welcome to Smart Software, Rohit !"
Feb 12, 2012
Rohit pant is now a member of Smart Software
Feb 12, 2012
Rohit Pant shared their blog post on Facebook
Feb 12, 2012

Members

 

Blog Posts

Interface Segregation Principle

Folks,

From the bunch of SOLID , I guess this is a fairly easy principle to understand. One of the basics of OOP is that we must code to interfaces and not to classes. Assuming that you have done that just make sure that your interfaces are not getting FAT. FAT is a common word used to explain this principle. By FAT we mean an interface with loads of methods in it and eventually all of them are not required by the classes that implement these interfaces.One direct issue with FAT…

Continue

Posted by Rohit Pant on May 31, 2012 at 1:00am

Liskov Substitution Principle

Folks,

            Barbara Jane Liskov was the first women american computer scientst who earned a PHd in computer science. She is the one who also came up with Liskov substituion principle and it is the 'L' in SOLID. She coined this term in 1987. First let's see what it means in her own words. "If for each object o1 of type S there is an object o2 of type T such that for all programs P defined in terms…

Continue

Posted by Rohit Pant on February 19, 2012 at 12:00am

Open Close Principle

Open Close Principle



'O' in SOLID is Open Close Principle. Termed a long time back and of course is very effective today also. It was coined somewhere 1988 by Bertrand Meyer  in his …

Continue

Posted by Rohit Pant on February 11, 2012 at 6:30am

Single Responsibility Principle

Single Responsibility principle [SRP]
                                                  This means that any software module just should have one reason to change and that is what is called as responsibility. Let's jump to an example quickly to get this started. In an Inventory Management System for a medicine export business, if there is a Product class then it might have some methods like showExpiryDate(),…
Continue

Posted by Rohit Pant on December 3, 2011 at 2:00am

GoF Series - Singleton Pattern

Friends,

               Time for Singleton.

 

GoF Intent 

“Ensure a class only has one instance, and provide a global point of access to it”

Why Singleton ?

Well, why not ? This is a very common pattern and as it's intent suggests it is all about making only one instance per class. There might be a strong…

Continue

Posted by Rohit Pant on September 1, 2011 at 12:30am

 
 
 

Badge

Loading…

© 2013   Created by Rohit Pant.

Badges  |  Report an Issue  |  Terms of Service