6
con-fig
7y

Currently working on a GUI config generator using MFC in VS.

Firstly, fuck sake Microsoft. Why can't I just use a normal string? The amount of times I've had to do god awful conversions to/from CString using their numerous typedefs L, _T and don't even get me started on LPCTSTR, LPCWSTR... It's just ugly and tedious. I've gotten used to it and all but still, ugh.

Secondly, some of the functions are just stupid. Want to disable a control? Hmm, we'll there's a function called EnableWindow, but no DisableWindow. How did I do it before? Oh, so to disable the control it's EnableWindow(FALSE). Of course it is, duh. Why am I so stupid?

Let's use the GetWindowText function. Simples. CString something_txt = GetWindowText().
Nope, it takes the CString as a parameter and copies it into that rather than just returning the text. Now one line becomes two. I get that this is a really small semantic thing but it irks me.

I just want to go back to my fedora partition. Wah.

PS: I'm sure there's good reasons for what I'm ranting about, but I really don't care. I just need to rant about my frustrations. ๐Ÿ˜‚

Comments
  • 0
    I used to review and correct book manuscripts for a technology publishing company about the time C# and .NET were first coming out. I always felt dumber as a coder when I finished with a Microsoft programming language manuscript.
Add Comment