ObjectiveC

Oct. 21st, 2013 07:50 pm
pnathan: elephant bypasses fence to drink from pool (Default)
[personal profile] pnathan
Looking at ObjectiveC today. I don't think it's a bad language. A bit weird. The combination of run-time dispatch + compilation is a strange one. I gather that it was an originally a C preprocessor. This shows in odd ways, especially with the reference counter system. The function declaration/call syntax is, IMO, a bit of a disaster. Square brackets, colons, etc. I keep reading the square brackets as Lispy brackets, where the function comes first, rather than Smalltalk brackets, where the object comes first.

Semantically I fear that dereferencing a nil pointer will be a big deal; run-time type errors are something I expect will become a big deal in my future.
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Most Popular Tags

Expand Cut Tags

No cut tags
Page generated Mar. 13th, 2026 09:13 am
Powered by Dreamwidth Studios