|
|
|
|
|
by bboreham
1976 days ago
|
|
I tried out both Objective C and C++ in 1988, when neither were popular though C++ was more talked about. What I remember was that with Objective C you needed to track all intermediate values and release them, so you couldn’t write an expression like [[objectA someMessage] anotherMessage] - you had to capture the intermediate in a variable so you could release it at the end. So this was annoying and I didn’t like Objective C at the time. (25 years later I wrote several iOS apps in it) C++ let you manage memory and temporary values though constructors and destructors, which was much more appealing, though pre-templates it was quite constrained. |
|