Thread with 9 posts
jump to expanded post“why don't languages like c++ and java have multiple constructors? they're so useful! i love that rust has multiple constructors!”
the finger curls on the monkey's paw
and i find out about the hell of objective-c designated initialisers
@hikari Swift at least adds a static type system for initializers to make all of the best practices around them work consistently and soundly.
@porglezomp @saagar @hikari We have lost the magic of Good Interface Builder with Live View Objects in the style of the Steve Jobs Calculator Constructor (implemented with some truly wild object substitution shenanigans) but are still forced to carry “every AppKit and UIKit type claims to be NSCoding”.
@jrose @porglezomp @saagar what do you mean by “claims to be” 😨
@jrose @porglezomp @saagar oh is this about how every UIView descendant must implement initWithCoder:
itself
@saagar @porglezomp @jrose it lives on in the hearts of all of us (and also in touchHLE because everyone used nib files 15 years ago)