3 ms·
No different from ordinary C++ classes? (which are themselves more complex than what you need to suffer through with C)? Seriously, here is just one taste of t
by jstimpfle 6y ago
No different from ordinary C++ classes? (which are themselves more complex than what you need to suffer through with C)?
Seriously, here is just one taste of the intricacies of the COM: https://www.codeproject.com/Articles/9190/Understanding-The-COM-Single-Threaded-Apartment-Pa https://www.codeproject.com/Articles/9190/Understanding-The-...
This is 90's enterprise OOP technology. There is no good excuse to use this other than technical debt.
- pjmlp 6y agoNaturally it is 90's enterprise technology, specially when you dig a 2005 article instead of a 2020 one. There is no good excuse to use outdated articles to attack technology one hates. Here, some 2020 stuff to educate yourself. https://docs.microsoft.com/en-us/windows/uwp/get-started/create-a-basic-windows-10-app-in-cppwinrt https://docs.microsoft.com/en-us/windows/uwp/get-started/cre... When I attack C's clunky and archaic coding, I do so with full knowledge of C17 and how little it has changed with K&R C that I learned in 1992, in API design and OS security.
- deleted 6y ago[deleted]
- deleted 6y ago[deleted]
- jstimpfle 6y agoHere is an example of good code (written in C) exposed as a library with a clean procedural interface. Nothing archaic about that. https://github.com/rytc/enet_single/blob/master/enet_single.h https://github.com/rytc/enet_single/blob/master/enet_single....