Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How is Objective-C a lot better than C++?

What do you mean by "the software game industry is wrong too"?



Objective-C has a very sweet expressivity/complexity ratio.


The game industry writes buggy and poorly performing (relative to how they could be) games in C++ instead of writing better and better optimized games in superior languages.


1) Objective-C is a very dynamic (think Smalltalk), less cluttered and more nicely designed language than C++, that can just as easy fall back to plain fast C.

2) For writing applications, desktop or mobile, nothing in the C++ libs ecosystem comes close to Cocoa/Touch.

3) For the task under discussion (iOS apps), it's the standard that get's 100% of official support from Apple, C++ is not.


DirectX is a pretty nice lib in the C++ ecosystem. OpenGL is comparable but I'd argue DX usually leads the cutting edge of graphics capabilities.


Yes, it is. But on mobile at least, I don't think there is much difference, is it?

I mean, if Windows Phone 7 uses DirectX, that is, compare to OpenGL ES.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: