Click here to Skip to main content
15,892,199 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: NOCOTN #1 Pin
Sander Rossel22-Jan-16 13:00
professionalSander Rossel22-Jan-16 13:00 
JokeSpeaking of cows... Pin
Mike Hankey22-Jan-16 6:59
mveMike Hankey22-Jan-16 6:59 
GeneralRe: Speaking of cows... Pin
Ravi Bhavnani22-Jan-16 7:13
professionalRavi Bhavnani22-Jan-16 7:13 
GeneralRe: Speaking of cows... Pin
Slacker00722-Jan-16 23:15
professionalSlacker00722-Jan-16 23:15 
GeneralSpeaking of sheep: Sheep can be a policeman's best helper Pin
Cornelius Henning22-Jan-16 6:32
professionalCornelius Henning22-Jan-16 6:32 
GeneralRe: Speaking of sheep: Sheep can be a policeman's best helper Pin
RossMW22-Jan-16 7:53
professionalRossMW22-Jan-16 7:53 
GeneralRe: Speaking of sheep: Sheep can be a policeman's best helper Pin
Cornelius Henning22-Jan-16 8:06
professionalCornelius Henning22-Jan-16 8:06 
GeneralTypical interview question about OOP... Pin
Jeremy Falcon22-Jan-16 5:47
professionalJeremy Falcon22-Jan-16 5:47 
We've all been there, being screened by someone who doesn't know tech and looking for textbook answers to questions. I'm just curious what some of you guys say about this little jewel of a question.

Q. Can you explain the three major aspects to OOP?

Here's what I usually say, in a very non-textbook way.

A. Polymorphism, basically something taking more than one form as you need it. For instance method overloading in C++.

Inheritance, in C++ the ability to gain functionality of a parent class in a new child class without having to write that functionality yourself.

Encapsulation, the idea behind creating self-contained reusable code that's hopefully loosely coupled with single points of reference to allow you swap in and out objects as needed or use someone else's work without knowing the inner workings of an object.


Curious to see how everyone else does it.
Jeremy Falcon


modified 22-Jan-16 11:53am.

GeneralRe: Typical interview question about OOP... Pin
OriginalGriff22-Jan-16 5:56
mveOriginalGriff22-Jan-16 5:56 
GeneralRe: Typical interview question about OOP... Pin
Jeremy Falcon22-Jan-16 6:16
professionalJeremy Falcon22-Jan-16 6:16 
GeneralRe: Typical interview question about OOP... Pin
Wonde Tadesse22-Jan-16 6:26
professionalWonde Tadesse22-Jan-16 6:26 
JokeRe: Typical interview question about OOP... Pin
User 1106097922-Jan-16 6:07
User 1106097922-Jan-16 6:07 
JokeRe: Typical interview question about OOP... Pin
Afzaal Ahmad Zeeshan22-Jan-16 6:16
professionalAfzaal Ahmad Zeeshan22-Jan-16 6:16 
GeneralRe: Typical interview question about OOP... Pin
User 1106097922-Jan-16 13:14
User 1106097922-Jan-16 13:14 
GeneralRe: Typical interview question about OOP... Pin
Amarnath S22-Jan-16 6:12
professionalAmarnath S22-Jan-16 6:12 
GeneralRe: Typical interview question about OOP... Pin
Jeremy Falcon22-Jan-16 6:15
professionalJeremy Falcon22-Jan-16 6:15 
GeneralRe: Typical interview question about OOP... Pin
Afzaal Ahmad Zeeshan22-Jan-16 6:18
professionalAfzaal Ahmad Zeeshan22-Jan-16 6:18 
JokeRe: Typical interview question about OOP... Pin
englebart25-Jan-16 3:24
professionalenglebart25-Jan-16 3:24 
GeneralRe: Typical interview question about OOP... Pin
MSBassSinger25-Jan-16 6:34
professionalMSBassSinger25-Jan-16 6:34 
GeneralRe: Typical interview question about OOP... Pin
PIEBALDconsult22-Jan-16 12:57
mvePIEBALDconsult22-Jan-16 12:57 
GeneralRe: Typical interview question about OOP... Pin
Afzaal Ahmad Zeeshan22-Jan-16 6:15
professionalAfzaal Ahmad Zeeshan22-Jan-16 6:15 
GeneralRe: Typical interview question about OOP... Pin
Jeremy Falcon22-Jan-16 6:18
professionalJeremy Falcon22-Jan-16 6:18 
JokeRe: Typical interview question about OOP... Pin
Afzaal Ahmad Zeeshan22-Jan-16 6:20
professionalAfzaal Ahmad Zeeshan22-Jan-16 6:20 
GeneralRe: Typical interview question about OOP... Pin
Eddy Vluggen22-Jan-16 6:20
professionalEddy Vluggen22-Jan-16 6:20 
GeneralRe: Typical interview question about OOP... Pin
Jeremy Falcon22-Jan-16 6:23
professionalJeremy Falcon22-Jan-16 6:23 

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.