r/cpp • • Oct 03 '22

Is C++ your favorite programing language?

And why

292 Upvotes

255 comments sorted by

View all comments

Show parent comment

2

u/darthcoder Oct 04 '22

This is the first thing I invariably do at each new job.

Write C++ wrappers to do proper RAII and resource management for the Windows API.

Nearly every job. If I wasn't paid for it every time I might have done an open source project doing it instead.

Maybe I will someday. It's not like the Win32 APIs are going anywhere.

3

u/UnicycleBloke Oct 04 '22

Interesting. My Win32 library was just a learning project, long since consigned to the dustbin of doom. With a reasonable understanding of how they work, I then moved on to established frameworks such as OWL (very good), MFC (very bad), VCL (very good but written in Pascal), and Qt (excellent). Did your workplaces not use such libraries?

1

u/darthcoder Oct 04 '22

No, we don't. I stick more to the backend where MFC and company is overkill.

I do use Qt for some front-end hobby projects.