Click here to Skip to main content
15,175,962 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 3:16
MemberLurk14-Jan-21 3:16 
GeneralRe: OO Software design epiphany - it might not matter Pin
Matt Bond14-Jan-21 3:51
MemberMatt Bond14-Jan-21 3:51 
GeneralRe: OO Software design epiphany - it might not matter Pin
davercadman14-Jan-21 4:00
Memberdavercadman14-Jan-21 4:00 
GeneralRe: OO Software design epiphany - it might not matter Pin
obermd14-Jan-21 4:48
Memberobermd14-Jan-21 4:48 
GeneralRe: OO Software design epiphany - it might not matter Pin
Adam O'Neil (Travelers Rest, SC)14-Jan-21 4:49
MemberAdam O'Neil (Travelers Rest, SC)14-Jan-21 4:49 
GeneralRe: OO Software design epiphany - it might not matter Pin
davila a.k.a. Member 1490950114-Jan-21 4:58
Memberdavila a.k.a. Member 1490950114-Jan-21 4:58 
GeneralRe: OO Software design epiphany - it might not matter Pin
Rusty Bullet14-Jan-21 6:23
MemberRusty Bullet14-Jan-21 6:23 
GeneralRe: OO Software design epiphany - it might not matter Pin
Chris Boss14-Jan-21 7:08
professionalChris Boss14-Jan-21 7: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 7:09
MemberSeattleC++14-Jan-21 7:09 
GeneralRe: OO Software design epiphany - it might not matter Pin
Dale Barnard14-Jan-21 7:18
MemberDale Barnard14-Jan-21 7:18 
GeneralRe: OO Software design epiphany - it might not matter Pin
sasadler14-Jan-21 8:00
Membersasadler14-Jan-21 8:00 
GeneralRe: OO Software design epiphany - it might not matter Pin
Paul Gehrman14-Jan-21 18:23
MemberPaul Gehrman14-Jan-21 18:23 
GeneralRe: OO Software design epiphany - it might not matter Pin
Member 289602014-Jan-21 18:24
MemberMember 289602014-Jan-21 18:24 
GeneralRe: OO Software design epiphany - it might not matter Pin
KateAshman15-Jan-21 6:26
MemberKateAshman15-Jan-21 6:26 
GeneralRe: OO Software design epiphany - it might not matter Pin
BotReject18-Jan-21 5:30
MemberBotReject18-Jan-21 5:30 
GeneralRe: OO Software design epiphany - it might not matter Pin
charlieg22-Jan-21 12:56
Membercharlieg22-Jan-21 12:56 
GeneralRe: OO Software design epiphany - it might not matter Pin
Martin ISDN1-Feb-21 9:18
MemberMartin ISDN1-Feb-21 9:18 
GeneralHorror videos on youtube! Pin
CodeWraith13-Jan-21 5:05
MemberCodeWraith13-Jan-21 5:05 
GeneralRe: Horror videos on youtube! Pin
OriginalGriff13-Jan-21 5:13
mveOriginalGriff13-Jan-21 5:13 
GeneralRe: Horror videos on youtube! Pin
CodeWraith13-Jan-21 5:42
MemberCodeWraith13-Jan-21 5:42 
GeneralRe: Horror videos on youtube! Pin
dandy7213-Jan-21 5:50
Memberdandy7213-Jan-21 5:50 
GeneralRe: Horror videos on youtube! Pin
den2k8813-Jan-21 5:24
professionalden2k8813-Jan-21 5:24 
GeneralRe: Horror videos on youtube! Pin
CodeWraith13-Jan-21 6:10
MemberCodeWraith13-Jan-21 6:10 
GeneralRe: Horror videos on youtube! Pin
Daniel Pfeffer13-Jan-21 6:28
professionalDaniel Pfeffer13-Jan-21 6:28 
GeneralRe: Horror videos on youtube! Pin
den2k8813-Jan-21 6:38
professionalden2k8813-Jan-21 6: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.