News for hackers. Stuff that matters.
Re:GTK 3.99 by c-smile on Friday July 31, 2020 @09:36PM (#24016509)
Objective C componentization model has its own traps. And too many of them unfortunately.

Object's ownership model in particular, when need of `[obj release]` is always a guess based on name of constructor function (name should contain "alloc", "new", "copy") but there are exceptions. I cannot even classify such architectural decision...

Among all practical UI systems I know, Windows's approach ( HWND and WndProc ) is the most flexible, stable on the long run. Despite its damn simplicity (or rather because of it?).

Re:GTK 3.99 by qalmakka on Saturday August 01, 2020 @04:19AM (#24018728)
Objective C is not forced to have such design; if you don't import Foundation you can use plain libobjc and create your own root class, you can name methods however you want. Objective C historically boiled down to basically a preprocessor that transformed its Smalltalk-like additions to C to calls to objc_* functions and C structures. In the years, Apple has added syntax to interface with their own classes (i.e. @autorelease that AFAIK interfaces with NSAutoreleasePool), but that's about it.