2 ms·
Multiple return types: Questionable benefit there. Exceptions are nice when used properly. Option classes handle the rest. Categories: Default methods probably
by rossjudson 13y ago
Multiple return types: Questionable benefit there. Exceptions are nice when used properly. Option classes handle the rest.
Categories: Default methods probably do what you want.
Get rid of primitives: Are you nuts? It turns out computers work on primitives. It's good to support them.
"Proper" generics: maybe you mean specialization, or maybe you mean reification. It's a choice.
Properties: If they irritate you that much, just use something that will generate them for you, using standard annotation processing.
- spiralpolitik 13y agoDefault methods work nothing like categories. For example you can't use a default method decorate String with an additional method usable on every instance of String. http://rypress.com/tutorials/objective-c/categories.html http://rypress.com/tutorials/objective-c/categories.html
- aardvark179 13y agoThere is work going on to introduce value types which would allow for primitives to be got rid of in their current form and unification of the type system.