this post was submitted on 30 Sep 2023
61 points (85.1% liked)

Programming

17026 readers
75 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 44 points 11 months ago (2 children)

Have you ever taken a look at Windows API, it's disgusting.

[–] [email protected] 2 points 11 months ago

Uh? It's about what I expect. Anything in particular?

[–] [email protected] 1 points 11 months ago

I honestly don't think it's so bad. There are some things which make it look ugly, the Hungarian notation, the fact that it's a C API which means everything has to be functional and there are many limitations, and there is a lot of legacy stuff kept for backwards compatibility. There is a lot of "we did it this way before we knew the right way of doing it, but now we're stuck with it because of backwards compatibility.

I think MFC is a lot worse. It's basically a C++ API that wraps a lot of things from the win32 API. It heavily relies on macros, and I really dislike it in general. And don't get me started on COM.