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.

Most Popular Tags

Expand Cut Tags

No cut tags
Page generated Sep. 25th, 2017 03:16 pm
Powered by Dreamwidth Studios