Monday, June 27, 2011

OO jump

I haven't made any move to learn object oriented programming because I haven't been in the middle of a program and thought to myself that I could really do this or that faster/better with objects. I'll admit my knowledge of OOP is extremely superficial but the bits I know aren't really geared towards the small program I'm writing.

On the other hand I do totally get why it would be useful with GTK (indeed a lot of GTK is mimicking OO behavior) in the readability department. I think the C++ bindings look more like:

windowwidget.setsize() instead of SetWindowWidgetSize(*window, size)

Which would be nice sometimes, but not important enough to make the switch just yet.

No comments:

Post a Comment