4 ms·
I rather like the Smalltalk message selector structure Boolean>>ifTrue:ifFalse: (cond) ifTrue: [then-block] ifFalse: [else-block] For some reason the way Sw
by karmakaze 2y ago
I rather like the Smalltalk message selector structure Boolean>>ifTrue:ifFalse:
(cond) ifTrue: [then-block] ifFalse: [else-block]
For some reason the way Swift handles syntax I find less memorable or composable.