Click here to Skip to main content
15,909,591 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: platform for an app for Ease of Access searched Pin
Erhy31-Jul-17 6:51
Erhy31-Jul-17 6:51 
AnswerRe: platform for an app for Ease of Access searched Pin
Afzaal Ahmad Zeeshan31-Jul-17 7:38
professionalAfzaal Ahmad Zeeshan31-Jul-17 7:38 
GeneralRe: platform for an app for Ease of Access searched Pin
Erhy22-Aug-17 10:39
Erhy22-Aug-17 10:39 
QuestionDesign and Architecture Pin
ijekhuenmen eromosele26-Jul-17 5:02
ijekhuenmen eromosele26-Jul-17 5:02 
AnswerRe: Design and Architecture Pin
Richard MacCutchan26-Jul-17 5:10
mveRichard MacCutchan26-Jul-17 5:10 
GeneralLooking for technological suggestion Pin
Kishor Mhaske20-Jul-17 0:08
Kishor Mhaske20-Jul-17 0:08 
QuestionAPI for online collaboration and file sharing Pin
petter201210-Jul-17 13:49
petter201210-Jul-17 13:49 
AnswerRe: API for online collaboration and file sharing Pin
Pete O'Hanlon10-Jul-17 20:06
mvePete O'Hanlon10-Jul-17 20:06 
GeneralRe: API for online collaboration and file sharing Pin
petter201211-Jul-17 0:22
petter201211-Jul-17 0:22 
GeneralRe: API for online collaboration and file sharing Pin
Gerry Schmitz11-Jul-17 6:56
mveGerry Schmitz11-Jul-17 6:56 
GeneralRe: API for online collaboration and file sharing Pin
petter201211-Jul-17 9:12
petter201211-Jul-17 9:12 
AnswerRe: API for online collaboration and file sharing Pin
jschell13-Jul-17 6:47
jschell13-Jul-17 6:47 
QuestionBusiness language Solution? Pin
Joer4x425-Jun-17 9:08
Joer4x425-Jun-17 9:08 
AnswerRe: Business language Solution? Pin
Richard MacCutchan25-Jun-17 21:04
mveRichard MacCutchan25-Jun-17 21:04 
GeneralRe: Business language Solution? Pin
Gerry Schmitz26-Jun-17 9:49
mveGerry Schmitz26-Jun-17 9:49 
GeneralRe: Business language Solution? Pin
Joer4x429-Jun-17 11:18
Joer4x429-Jun-17 11:18 
GeneralRe: Business language Solution? Pin
Richard MacCutchan29-Jun-17 21:39
mveRichard MacCutchan29-Jun-17 21:39 
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.

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.