6 ms·
Isn't this just the way Win32 programs were written? Each window could have a routine that received messages like WM_PAINT, WM_SIZE, etc.
by aninteger 9y ago
Isn't this just the way Win32 programs were written? Each window could have a routine that received messages like WM_PAINT, WM_SIZE, etc.
- barrkel 9y agoWin32 is much closer to object orientation with duck typing. You normally need a handle to the window you want to talk to, which is explicitly the kind of coupling that MOP rejects, inverting the dependency. Further, with Win32, you can choose between an async or synchronous message send, depending on whether you are interested in side effects or not.