Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's stupid. He's comparing low-level Win32 API to a high-level wrapper called Qt.

Notice how in his Qt example he lost control of the window style, icon, brush, cursor, styling of the message box, and a dozen of other little things that you can do with low level win32 api.




You can do all those things with QT, the point is that you don't have to.


I hope QT do error checking for you too then.


DH0 + weak DH4

http://www.paulgraham.com/disagree.html

QT has techniques for accomplishing all those little details like icons. But it also has the defaults already built in. So it is not necessary to set them up for a simple Hello World application. Later if he wants to change them he can add the extra code.


Whoosh, you missed the point. The point is that we can build abstractions to make our code smaller and more elegant, this leads to greater productivity.

I intentionally picked these examples to show how good programmers are at making nice abstractions to reduce the amount of work we have to do.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: