Click here to Skip to main content
15,893,564 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.

 
RantThe four pillars Pin
charlieg27-Oct-15 5:59
charlieg27-Oct-15 5:59 
JokeRe: The four pillars PinPopular
RUs12327-Oct-15 6:04
RUs12327-Oct-15 6:04 
GeneralRe: The four pillars Pin
charlieg27-Oct-15 6:42
charlieg27-Oct-15 6:42 
GeneralRe: The four pillars Pin
OriginalGriff27-Oct-15 6:04
mveOriginalGriff27-Oct-15 6:04 
GeneralRe: The four pillars Pin
Jeremy Falcon27-Oct-15 6:35
professionalJeremy Falcon27-Oct-15 6:35 
GeneralRe: The four pillars Pin
charlieg27-Oct-15 6:43
charlieg27-Oct-15 6:43 
GeneralRe: The four pillars Pin
Eytukan27-Oct-15 22:03
Eytukan27-Oct-15 22:03 
GeneralRe: The four pillars Pin
kalberts27-Oct-15 22:58
kalberts27-Oct-15 22:58 
C++ arrived in my student days. Those of you who were born then may remember that it came as a preprocessor to a (or any) plain C compiler, so we had the opportunity to see how the C++ compiler laid out classes and inheritance and interfaces and overloading and whathaveyou.

During summer vactaion I was an intern with a computer company whose OS was still written in a low-level language, somewhere in the middle between C and assembler, with structured flow of execution, but all registers visible etc. The machines were a proprietary architecture, the language proprietary an the OS proprietary, so the company didn't really risk much loss of business by providing the source code to the OS - it couldn't be used on any other machine anyway.

So I studied the OS source, and in the driver architecture I found, to my surprise, more or less blueprints of what the C++ compiler might generate. There was classes and inheritance and instantiations and virtuals. I remarked this to the OS guys, but they knew nothing of "object oriented" - that's some academic stuff, isn't it? They wrote their (near) assembly level code that way because it made the system far more flexible, not because of somthing called OO...

My other experience in this area: My first programming education was in Pascal. It was taught in a very structured way: All functions/procedures operating on a certain RECORD type (that is struct, in C terms) were kept together, and their first argument was always an instance of the RECORD type. When OO came along, we embraced the RECORD definition and it functions with a CLASS statement and moved the first function argument ahead of the function name, with a dot inbetween. So we didn't really see the big point of OO... Well, overloading and inheritance was new, but OO was an evoulution, not a revolution, to us.
GeneralRe: The four pillars Pin
firegryphon28-Oct-15 13:06
firegryphon28-Oct-15 13:06 
GeneralRe: The four pillars PinPopular
Marc Clifton27-Oct-15 6:08
mvaMarc Clifton27-Oct-15 6:08 
GeneralRe: The four pillars Pin
Jeremy Falcon27-Oct-15 6:38
professionalJeremy Falcon27-Oct-15 6:38 
GeneralRe: The four pillars PinPopular
BillWoodruff27-Oct-15 6:47
professionalBillWoodruff27-Oct-15 6:47 
GeneralRe: The four pillars Pin
Jeremy Falcon27-Oct-15 6:49
professionalJeremy Falcon27-Oct-15 6:49 
GeneralRe: The four pillars Pin
milo-xml28-Oct-15 2:37
professionalmilo-xml28-Oct-15 2:37 
GeneralRe: The four pillars Pin
charlieg27-Oct-15 6:45
charlieg27-Oct-15 6:45 
GeneralRe: The four pillars Pin
Eddy Vluggen27-Oct-15 7:31
professionalEddy Vluggen27-Oct-15 7:31 
GeneralRe: The four pillars Pin
englebart28-Oct-15 3:30
professionalenglebart28-Oct-15 3:30 
GeneralRe: The four pillars Pin
Marc Clifton28-Oct-15 15:00
mvaMarc Clifton28-Oct-15 15:00 
GeneralRe: The four pillars Pin
firegryphon28-Oct-15 13:10
firegryphon28-Oct-15 13:10 
GeneralRe: The four pillars Pin
Slacker00727-Oct-15 7:11
professionalSlacker00727-Oct-15 7:11 
GeneralRe: The four pillars Pin
R. Giskard Reventlov27-Oct-15 7:17
R. Giskard Reventlov27-Oct-15 7:17 
GeneralRe: The four pillars Pin
Slacker00727-Oct-15 7:19
professionalSlacker00727-Oct-15 7:19 
GeneralRe: The four pillars Pin
C-P-User-327-Oct-15 7:19
C-P-User-327-Oct-15 7:19 
GeneralRe: The four pillars Pin
PIEBALDconsult27-Oct-15 8:02
mvePIEBALDconsult27-Oct-15 8:02 
GeneralRe: The four pillars Pin
PIEBALDconsult27-Oct-15 8:03
mvePIEBALDconsult27-Oct-15 8:03 

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.