What problems is Codebun Technology Solutions solving and how is that benefiting you?
Functional programming lets you avoid side effects. Object-oriented programming lets you think of your program as a set of objects, if that is more to your liking. Some applications, like GUIs and graphic editors, lend themselves naturally to this style. More and more, however, people are discovering that it’s also easy to get carried away and create all manner of extraneous classes that do more harm than good. Inheritance/interfaces/vtables (is-a) allow polymorphism, which is great when you need a routine to deal with objects of different type without having to care about the type differences. Which leads nicely to containment, letting you implement loose coupling (has-a) relationships, so your “ship” object can have any number and type of other objects in its cargo hold, weapons and planes on its deck, etc. Beginners often confuse is-a and has-a, leading to inefficient inheritance hierarchies, and I recommend getting really familiar with the concepts before building large programs. Review collected by and hosted on G2.com.