you are viewing a single comment's thread
view the rest of the comments
[–] 96 points 9 months ago* (last edited 9 months ago) (3 children)

I hate the Windows API so much. There are like 100 million function that all start with a capital letter and take a kajillion arguments just to do the most simple thing imaginable (see CreateThread). And there are twenty different typedefs for the same type (PSTR, LPSTR, tchar* all point to char*). Also all variables and function arguments should start with their types, like hWindow if the window is a HANDLE.

I hate this joke of a programming interface so much, I hope everyone sticks to programming with POSIX and platform-agnostic libraries.

EDIT: And also, did I mention that if you want to use it, you get all of it or none of it? It's literally a single header file named Windows.h. You get just that and take it or leave it.

  • source
  • hideshow 3 child comments