Click here to Skip to main content
15,914,016 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: Windows C++: a bit shocked Pin
Richard MacCutchan29-Jan-19 5:38
mveRichard MacCutchan29-Jan-19 5:38 
JokeRe: Windows C++: a bit shocked Pin
raddevus29-Jan-19 5:41
mvaraddevus29-Jan-19 5:41 
GeneralRe: Windows C++: a bit shocked Pin
Richard MacCutchan29-Jan-19 6:17
mveRichard MacCutchan29-Jan-19 6:17 
GeneralRe: Windows C++: a bit shocked Pin
raddevus29-Jan-19 7:11
mvaraddevus29-Jan-19 7:11 
GeneralRe: Windows C++: a bit shocked Pin
Rick York29-Jan-19 13:31
mveRick York29-Jan-19 13:31 
GeneralRe: Windows C++: a bit shocked Pin
raddevus30-Jan-19 3:36
mvaraddevus30-Jan-19 3:36 
GeneralRe: Windows C++: a bit shocked PinPopular
kalberts29-Jan-19 9:24
kalberts29-Jan-19 9:24 
GeneralRe: Windows C++: a bit shocked Pin
raddevus29-Jan-19 9:58
mvaraddevus29-Jan-19 9:58 
Very interesting post, could almost be an article. Better write one up, because FSM application would be very interesting.
I agree with you about the program logic part. FSM would make it completely simple technologically and maybe that part of the message loop should be handled that way since it simplifies a lot.

OOP : Just Code Organization
OOP is just a way of organizing code though and that is what most of the world needs: code organization. Code organization (when done properly) allows maintenance to be done quickly and by a large number of people.

Data encapsulation (think hiding algorithms) allows more people who don't necessarily understand the ugly innards of the algo itself to still do maintenance fixes since code is organized into components that work properly as black boxes.

That's what I thought was nice about the MFC wrapper. It organized some things that I didn't want to know how they worked so I could put them together in ways to build something.

Slow Down & Write K&R C
If only we all had the time to slow down and write programs like the K&R C book. But we don't. Things must be hidden and hidden means there will be things I don't understand. Not my first choice but I have to build a product. Smile | :)

I hope you'll write up an article on FSMs. It would be a great read. Thumbs Up | :thumbsup:

modified 29-Jan-19 16:07pm.

GeneralRe: Windows C++: a bit shocked Pin
Shuqian Ying29-Jan-19 11:19
Shuqian Ying29-Jan-19 11:19 
GeneralRe: Windows C++: a bit shocked Pin
Joe Woodbury29-Jan-19 9:36
professionalJoe Woodbury29-Jan-19 9:36 
GeneralRe: Windows C++: a bit shocked Pin
raddevus29-Jan-19 10:06
mvaraddevus29-Jan-19 10:06 
GeneralRe: Windows C++: a bit shocked Pin
Joe Woodbury29-Jan-19 12:13
professionalJoe Woodbury29-Jan-19 12:13 
GeneralRe: Windows C++: a bit shocked Pin
raddevus29-Jan-19 12:58
mvaraddevus29-Jan-19 12:58 
GeneralRe: Windows C++: a bit shocked Pin
Joe Woodbury29-Jan-19 13:12
professionalJoe Woodbury29-Jan-19 13:12 
GeneralRe: Windows C++: a bit shocked Pin
raddevus29-Jan-19 13:13
mvaraddevus29-Jan-19 13:13 
GeneralRe: Windows C++: a bit shocked Pin
CPallini29-Jan-19 10:57
mveCPallini29-Jan-19 10:57 
GeneralRe: Windows C++: a bit shocked Pin
Rick York29-Jan-19 13:33
mveRick York29-Jan-19 13:33 
GeneralRe: Windows C++: a bit shocked Pin
CPallini29-Jan-19 21:57
mveCPallini29-Jan-19 21:57 
GeneralRe: Windows C++: a bit shocked Pin
PIEBALDconsult29-Jan-19 15:09
mvePIEBALDconsult29-Jan-19 15:09 
GeneralRe: Windows C++: a bit shocked Pin
raddevus30-Jan-19 3:40
mvaraddevus30-Jan-19 3:40 
GeneralRe: Windows C++: a bit shocked Pin
Super Lloyd29-Jan-19 16:36
Super Lloyd29-Jan-19 16:36 
GeneralRe: Windows C++: a bit shocked Pin
raddevus30-Jan-19 3:44
mvaraddevus30-Jan-19 3:44 
GeneralRe: Windows C++: a bit shocked Pin
Super Lloyd30-Jan-19 4:41
Super Lloyd30-Jan-19 4:41 
GeneralRe: Windows C++: a bit shocked Pin
David O'Neil29-Jan-19 16:51
professionalDavid O'Neil29-Jan-19 16:51 
GeneralRe: Windows C++: a bit shocked Pin
raddevus30-Jan-19 3:47
mvaraddevus30-Jan-19 3:47 

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.