Click here to Skip to main content
15,513,143 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: My first rant in a long time... Pin
Max Peck26-Jan-11 12:54
Max Peck26-Jan-11 12:54 
GeneralRe: My first rant in a long time... Pin
Euhemerus26-Jan-11 19:41
Euhemerus26-Jan-11 19:41 
GeneralRe: My first rant in a long time... Pin
Max Peck26-Jan-11 17:53
Max Peck26-Jan-11 17:53 
GeneralRe: My first rant in a long time... Pin
Jason Christian26-Jan-11 8:45
Jason Christian26-Jan-11 8:45 
GeneralRe: My first rant in a long time... Pin
Max Peck26-Jan-11 18:02
Max Peck26-Jan-11 18:02 
GeneralRe: My first rant in a long time... Pin
kevinskibbe26-Jan-11 10:13
kevinskibbe26-Jan-11 10:13 
GeneralRe: My first rant in a long time... Pin
jschell26-Jan-11 10:17
jschell26-Jan-11 10:17 
GeneralRe: My first rant in a long time... Pin
Yortw26-Jan-11 10:38
Yortw26-Jan-11 10:38 
Hi,

I work on a point of sale system which is heavily OOP based, and the architecture has helped many times in allowing us to customise it for different retailers/markets without changing things for other customers, plugging in new 'device drivers' for POS peripherals, cuts down on development time for new sale and payment types, and has reduced repeated code making bug fixes easier, etc.

Having said that, OOP can, like anything else be abused. As our project has grown over time the object model has become less clean and more complex making it harder to learn in the first place. Depending on what you're doing some things are still fairly simple and anyone who is familiar with basic OOP principles can achieve those things without a huge learning curve, but other things are defintely tricky. If I designed the whole thing from scratch there are things I'd do differently to try and simplify, but then that's always the case.

My biggest complaint is actually the event-driven code execution you mentioned earlier (and said was fine). DOS apps I wrote 10+ years ago still run fine and I never receive support calls (except to order new rolls of receipt paper for customers in Samoa, apparently it's cheaper to by them here in NZ and ship them to the islands). I can't say that for any Windows/event based application I've written. I suspect that you could still write good procedural code in an OOP manner too, but event driven stuff while simple in theory and not always totally evil, always seems to make things harder or at least less robust, on any major real-world system in my opinion. Sadly, one way or another, we all seem to be doing event driven programming one way or another, even if we've covered it over with OOP.

So let's all go back to writing DOS applications in a procedural manner, but with classes and inheritance Laugh | :laugh:

Of course, that's just my 2 cents worth...
GeneralRe: My first rant in a long time... Pin
Max Peck26-Jan-11 18:08
Max Peck26-Jan-11 18:08 
GeneralRe: My first rant in a long time... Pin
mathomp326-Jan-11 10:42
mathomp326-Jan-11 10:42 
GeneralRe: My first rant in a long time... Pin
Misha (MCSS)26-Jan-11 13:58
Misha (MCSS)26-Jan-11 13:58 
GeneralRe: My first rant in a long time... Pin
Max Peck26-Jan-11 18:12
Max Peck26-Jan-11 18:12 
GeneralRe: My first rant in a long time... Pin
jschell27-Jan-11 9:33
jschell27-Jan-11 9:33 
GeneralRe: My first rant in a long time... Pin
ABChing26-Jan-11 17:05
ABChing26-Jan-11 17:05 
GeneralRe: My first rant in a long time... Pin
CodeHawkz26-Jan-11 20:06
CodeHawkz26-Jan-11 20:06 
GeneralTHANK YOU ALL... Pin
Johnny J.27-Jan-11 1:27
professionalJohnny J.27-Jan-11 1:27 
GeneralRe: My first rant in a long time... Pin
mrchief_200027-Jan-11 6:47
mrchief_200027-Jan-11 6:47 
GeneralRe: My first rant in a long time... Pin
Spectre_00131-Jan-11 6:25
Spectre_00131-Jan-11 6:25 
GeneralRe: My first rant in a long time... Pin
ohmyletmein13-Feb-11 19:14
ohmyletmein13-Feb-11 19:14 
GeneralInteresting [modified] Pin
leppie25-Jan-11 5:15
leppie25-Jan-11 5:15 
GeneralRe: Interesting Pin
DaveAuld25-Jan-11 5:17
professionalDaveAuld25-Jan-11 5:17 
GeneralRe: Interesting Pin
Dalek Dave25-Jan-11 5:21
professionalDalek Dave25-Jan-11 5:21 
GeneralRe: Interesting Pin
leppie25-Jan-11 5:23
leppie25-Jan-11 5:23 
GeneralRe: Interesting Pin
DaveAuld25-Jan-11 5:25
professionalDaveAuld25-Jan-11 5:25 
GeneralRe: Interesting Pin
leppie25-Jan-11 5:26
leppie25-Jan-11 5:26 

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.


Straw Poll

An amazing AI programming tool is invented that can do one task perfectly. What would you choose?
  Results   631 votes