Click here to Skip to main content
15,887,746 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Business language Solution? Pin
Joer4x430-Jun-17 12:03
Joer4x430-Jun-17 12:03 
GeneralRe: Business language Solution? Pin
Gerry Schmitz11-Jul-17 7:05
mveGerry Schmitz11-Jul-17 7:05 
AnswerRe: Business language Solution? Pin
Eddy Vluggen28-Jun-17 23:36
professionalEddy Vluggen28-Jun-17 23:36 
GeneralRe: Business language Solution? Pin
Joer4x429-Jun-17 12:55
Joer4x429-Jun-17 12:55 
GeneralRe: Business language Solution? Pin
Eddy Vluggen30-Jun-17 1:23
professionalEddy Vluggen30-Jun-17 1:23 
GeneralRe: Business language Solution? Pin
Joer4x430-Jun-17 11:48
Joer4x430-Jun-17 11:48 
GeneralRe: Business language Solution? Pin
Eddy Vluggen30-Jun-17 23:42
professionalEddy Vluggen30-Jun-17 23:42 
GeneralRe: Business language Solution? Pin
Joer4x47-Jul-17 15:58
Joer4x47-Jul-17 15:58 
"And no, a class is not an object, it is a blueprint of an object. An object is an instance of a class."

Stop... not true...

How many times I read a similar statement and chuckled? For in itself a class defines itself as a class, therefore and logically is has to be a object. It is an instance of itself. It has inheritance and can be inherited. They also tell you it doesn’t take up any computer space or storage. But if that were true, you could write a method without it. It’s in your code and classes are enforced. The compiler or interpreter may ignore it for creating machine code but is used for the human.

A blueprint is a real physical "object". Poor comparison but no other way to explain class. And why is that?


int x, y;
x = 0;
y = x;

So I created a class of x (int) and an instance of x. Is x not an object also?. X is inherently encapsulated unless we use a method (where x is the object of an imperative statement) to change it (x = 1). I can use it as a counter, an account number, product number, etc.. Counter, account number, and product number will not only inherent all x is, they are polymorphisms of x.

Where do you think OO concepts evolved - out of thin air?

"OOP is about structuring and scoping both into logical reusable pieces."

In that regard OO isn't any better than PL/1, COBOL, EDX, and a host of other non 00 languages.
GeneralRe: Business language Solution? Pin
Richard MacCutchan7-Jul-17 22:07
mveRichard MacCutchan7-Jul-17 22:07 
GeneralRe: Business language Solution? Pin
Eddy Vluggen8-Jul-17 2:36
professionalEddy Vluggen8-Jul-17 2:36 
GeneralRe: Business language Solution? Pin
jschell10-Jul-17 4:44
jschell10-Jul-17 4:44 
GeneralRe: Business language Solution? Pin
Joer4x410-Jul-17 16:26
Joer4x410-Jul-17 16:26 
GeneralRe: Business language Solution? Pin
Richard MacCutchan10-Jul-17 21:36
mveRichard MacCutchan10-Jul-17 21:36 
GeneralRe: Business language Solution? Pin
Pete O'Hanlon10-Jul-17 21:47
mvePete O'Hanlon10-Jul-17 21:47 
GeneralRe: Business language Solution? Pin
Eddy Vluggen11-Jul-17 2:38
professionalEddy Vluggen11-Jul-17 2:38 
GeneralRe: Business language Solution? Pin
jschell13-Jul-17 6:04
jschell13-Jul-17 6:04 
GeneralRe: Business language Solution? Pin
jschell2-Jul-17 7:58
jschell2-Jul-17 7:58 
AnswerRe: Business language Solution? Pin
Richard Andrew x6430-Jun-17 17:13
professionalRichard Andrew x6430-Jun-17 17:13 
GeneralRe: Business language Solution? Pin
Pete O'Hanlon6-Jul-17 1:32
mvePete O'Hanlon6-Jul-17 1:32 
QuestionSystem Design Patterns reading material? Pin
Thirlan14-Jun-17 10:57
Thirlan14-Jun-17 10:57 
AnswerRe: System Design Patterns reading material? Pin
Eddy Vluggen16-Jun-17 22:01
professionalEddy Vluggen16-Jun-17 22:01 
GeneralRe: System Design Patterns reading material? Pin
Thirlan17-Jun-17 6:47
Thirlan17-Jun-17 6:47 
AnswerRe: System Design Patterns reading material? Pin
jschell17-Jun-17 6:12
jschell17-Jun-17 6:12 
AnswerRe: System Design Patterns reading material? Pin
Gerry Schmitz17-Jun-17 6:38
mveGerry Schmitz17-Jun-17 6:38 
GeneralRe: System Design Patterns reading material? Pin
Thirlan17-Jun-17 6:46
Thirlan17-Jun-17 6:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.