Just started learning Cocoa after a 10 year break from Mac programming, and something was readily apparent:
Cocoa sucks at string manipulation
When I say this, I don't mean that it isn't powerful, but rather that it is really inconvenient. I have spent a few months with PHP, and it is unbelievably easy to build up strings:
$s = "static text $variables inserted or appended ".$another_var;
With Cocoa you have to futz around with stringByAppendingString, formats, etc.
Have I just been spoiled by PHP? Or am I missing some basic capabilities of Cocoa string manipulation?
Cocoa sucks at string manipulation
When I say this, I don't mean that it isn't powerful, but rather that it is really inconvenient. I have spent a few months with PHP, and it is unbelievably easy to build up strings:
$s = "static text $variables inserted or appended ".$another_var;
With Cocoa you have to futz around with stringByAppendingString, formats, etc.
Have I just been spoiled by PHP? Or am I missing some basic capabilities of Cocoa string manipulation?