3 ms·
> GC Thus giving Android developers all the fun of dealing with GC pauses. There's a lot to be said for ARC, really; I'm quit glad Apple ditched their brief ex
by rsynnott 13y ago
> GC
Thus giving Android developers all the fun of dealing with GC pauses. There's a lot to be said for ARC, really; I'm quit glad Apple ditched their brief experiment with ObjC GC.
> namespaces
I'll give you that one; lack of namespaces it the worst thing about ObjC.
> ... Dynamic and static worlds...
I'm not sure what you mean here; Java is a statically typed language, and does not have a 'dynamic world'. ObjC has a fo of optional dynamic typing, which is arguably modern, though also only arguably a good thing.
- pjmlp 13y ago> I'm quit glad Apple ditched their brief experiment with ObjC GC. Because they failed to implement a GC that didn't crash all the time, as the Apple forums used to testify before ARC was touted as the best thing since sliced bread. The wonders of mixing Objective-C libraries compiled in mixed mode. > I'm not sure what you mean here; The mixed nature of Objective-C. With @ and [] one is in Smalltalk land. Without them, one is in C world. > Java is a statically typed language, and does not have a 'dynamic world'. Yes it has, via reflection, annotations and dynamic bytecode generation.
- msbarnett 13y ago> With @ and [] one is in Smalltalk land. Without them, one is in C world. This is an odd and not particularly true way of looking at things. [] (for message sending), is merely some syntactic sugar for the objc_msgsnd function call.
- pjmlp 13y agoWhich could have been implemented in a better way, e.g. Dylan does dynamic dispatch with multi-methods without requiring me to type [] everywhere. A real pain in non US keyboards.
- rat87 13y agoAlso Dynamic casts(w/exceptions) and virtual methods/Dynamic dispatch which do provide some dynamicity not easy/natural in c.