Other News

Editorials

Composition or Inheritance Followup

Composition or Inheritance Followup Some of the responses from the editorial yesterday really help clarify the question of when to use Composition or Inheritance. Here are a few of the responses I received yesterday. Ed: I found your brief discussion of inheritance vs composition really interesting, but I think it missed two key questions that should govern the decision. 1) […]

Uncategorized

Should I Use Composition or Inheritance?

Should I Use Composition or Inheritance? This is a topic with almost as much tension as database normalization. Many people lean toward composition over inheritance. Here is an example of the difference. Class Car extends Engine { var doors; } This design assumes you can’t have a car without an engine, inheriting from the engine class. Another way to handle […]

Community

SOAP versus REST

(Roger L. Costello) For years there has been a war raging between those who advocate the use of SOAP for web services versus those who advocate using REST. There has been a lot of misinformation. This paper presents the facts you need to make your own decision.