Why must the last part of an Objective-C method name take an argument (when there is more than one part)?

This is Brad Cox. My original answer misunderstood the question. I assumed reallyFast was a hardcoded extension to trigger faster messaging, not a kind of syntactic sugar. The real answer is that Smalltalk didn’t support it, perhaps because its parser couldn’t deal with the (assumed) ambiguity. Although OC’s square brackets would remove any ambiguity, I … Read more

C# static member “inheritance” – why does this exist at all?

So, the “inheritance” of static members merely looks like namespace pollution That’s right, except that one guy’s pollution is another guy’s added spicy flavouring. I think Martin Fowler, in his work on DSLs, has suggested using inheritance in this way to allow convenient access to static methods, allowing those methods to be used without class … Read more