Better HN
topnewbestaskshowjobs
Log inSign up

kerand

16 karma · joined Oct 21, 2024 (2y ago) · 1 submissions

Submissions

comment 2y ago · link · parent

The GoF book did a lot of damage. I've finally read it and was amazed that the entire book is in fact about writing GUIs, which is just one tiny part of programming.

Several patterns are trivial, others are very similar and are just a linked list of objects that are searched for performing some action.

The composition over inheritance meme in the book does not make things easier (there is no "composition" going on anyway, it is just delegation).

Objects themselves for resource cleanup like RAII are fine of course.