Click here to Skip to main content
15,885,546 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: OO Software design epiphany - it might not matter Pin
Lurk14-Jan-21 2:16
Lurk14-Jan-21 2:16 
GeneralRe: OO Software design epiphany - it might not matter Pin
Matt Bond14-Jan-21 2:51
Matt Bond14-Jan-21 2:51 
GeneralRe: OO Software design epiphany - it might not matter Pin
davercadman14-Jan-21 3:00
davercadman14-Jan-21 3:00 
GeneralRe: OO Software design epiphany - it might not matter Pin
obermd14-Jan-21 3:48
obermd14-Jan-21 3:48 
GeneralRe: OO Software design epiphany - it might not matter Pin
Adam O'Neil (Travelers Rest, SC)14-Jan-21 3:49
Adam O'Neil (Travelers Rest, SC)14-Jan-21 3:49 
GeneralRe: OO Software design epiphany - it might not matter Pin
davila a.k.a. Member 1490950114-Jan-21 3:58
davila a.k.a. Member 1490950114-Jan-21 3:58 
GeneralRe: OO Software design epiphany - it might not matter Pin
Rusty Bullet14-Jan-21 5:23
Rusty Bullet14-Jan-21 5:23 
GeneralRe: OO Software design epiphany - it might not matter Pin
Chris Boss14-Jan-21 6:08
professionalChris Boss14-Jan-21 6:08 
I am the exact opposite. Don't use OOP and don't plan on using it unless I have to. Why ?

I am an experienced WIN32 programmer and the low level WIN32 is not OOP based, but is procedurally based. Only later did Windows add OOP on top, but the core of Windows is not OOP based.

OOP adds complexity and overhead and the core OS needs performance and minimal overhead. Embedded programmers experience a similar experience when they have to work with minimal hardware and every clock cycle matters.

The problem with procedural programming is that many programmers did not learn the importance of reusing code by building quality libraries. Procedural code can be encapsulated. That means well written libraries. Well written libraries need to built in what I like to call "the three tier" method. What is that ?

(1) Low level
(2) Medium level
(3) High level

Procedural libraries start with the low level routines which are the basis of the core functionality. But after awhile much of the core functionality is covered, so then a more medium level set of routines need to be built upon the backend of the low end routines. Medium level routines can be quite complex, but they should still be relatively simple in purpose. As you build the medium level part of a library, then one can build the much higher level routines, which be quite complex and extensive.

This three tiered approach produces a tight, efficient library and IMO can perform better than any OOP library and will be significantly smaller and faster than a comparible OOP library.

Modular design existed long before OOP. OOP was just a way to "force" modular design, rather than a better solution. Well written, modular, procedural code will better perform than any OOP counterpart. Also in the embedded world, where minimal hardware exists, the use of such modular procedural coding will be able to push such hardware to the limits, whereas OOP based code will have limits.
GeneralRe: OO Software design epiphany - it might not matter Pin
SeattleC++14-Jan-21 6:09
SeattleC++14-Jan-21 6:09 
GeneralRe: OO Software design epiphany - it might not matter Pin
Dale Barnard14-Jan-21 6:18
Dale Barnard14-Jan-21 6:18 
GeneralRe: OO Software design epiphany - it might not matter Pin
sasadler14-Jan-21 7:00
sasadler14-Jan-21 7:00 
GeneralRe: OO Software design epiphany - it might not matter Pin
Paul Gehrman14-Jan-21 17:23
Paul Gehrman14-Jan-21 17:23 
GeneralRe: OO Software design epiphany - it might not matter Pin
Member 289602014-Jan-21 17:24
Member 289602014-Jan-21 17:24 
GeneralRe: OO Software design epiphany - it might not matter Pin
KateAshman15-Jan-21 5:26
KateAshman15-Jan-21 5:26 
GeneralRe: OO Software design epiphany - it might not matter Pin
BotReject18-Jan-21 4:30
BotReject18-Jan-21 4:30 
GeneralRe: OO Software design epiphany - it might not matter Pin
charlieg22-Jan-21 11:56
charlieg22-Jan-21 11:56 
GeneralRe: OO Software design epiphany - it might not matter Pin
Martin ISDN1-Feb-21 8:18
Martin ISDN1-Feb-21 8:18 
GeneralHorror videos on youtube! Pin
CodeWraith13-Jan-21 4:05
CodeWraith13-Jan-21 4:05 
GeneralRe: Horror videos on youtube! Pin
OriginalGriff13-Jan-21 4:13
mveOriginalGriff13-Jan-21 4:13 
GeneralRe: Horror videos on youtube! Pin
CodeWraith13-Jan-21 4:42
CodeWraith13-Jan-21 4:42 
GeneralRe: Horror videos on youtube! Pin
dandy7213-Jan-21 4:50
dandy7213-Jan-21 4:50 
GeneralRe: Horror videos on youtube! Pin
den2k8813-Jan-21 4:24
professionalden2k8813-Jan-21 4:24 
GeneralRe: Horror videos on youtube! Pin
CodeWraith13-Jan-21 5:10
CodeWraith13-Jan-21 5:10 
GeneralRe: Horror videos on youtube! Pin
Daniel Pfeffer13-Jan-21 5:28
professionalDaniel Pfeffer13-Jan-21 5:28 
GeneralRe: Horror videos on youtube! Pin
den2k8813-Jan-21 5:38
professionalden2k8813-Jan-21 5:38 

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.