• olenkoVD@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    95
    ·
    edit-2
    6 days ago

    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.