2 ms·
We're talking about a language, not just a tech. Vendors always had C++. It's agnostic. Apple and its coolness. I doubt people would use Cocoa without nextstep.
by jokoon 13y ago
We're talking about a language, not just a tech. Vendors always had C++. It's agnostic. Apple and its coolness. I doubt people would use Cocoa without nextstep.
And honestly, right clicking with mac, what a nightmare, always bringing the throbber. When I think about it, apple delivers the software that works with the hardware, but the soft is just cool, it's not really nice to work with. Most features comes from unix anyway. While microsoft was hardware agnostic and allowed the computer industry to grow, Apple just comes in with apparatus and just want people to forget the pain of what allowed the computer industry to grow by delivering both soft and hardware.
You can't make programmers learn a language which works in so many different ways, and expect to create a monopoly on such apps. Or maybe it will take time for crowds to forgets C++ and use cocoa.
- gurkendoktor 13y agoAll relevant compilers on OS X allow you to mix and match C++ and Objective C. If you look at Apple stack traces, you will see plenty of C++ in there. I don't see how using a few "Objective" bits in your C++ code is any worse than using non-portable COM interfaces in C++ on Windows.
- jokoon 13y agoI don't know, I'm just talking about ogre3d. Besides, the fact windows has non portable code, doesn't mean OSX should too. Especially if it uses unix as a base.
- pjmlp 13y agoUNIX is only portable for command line tools, POSIX does not define anything GUI related. XWindows and OpenGL are not part of POSIX. Did you ever wrote portable GUI applications across UNIX systems using only UNIX standards?
- jokoon 13y agoWell what's the point of using unix then, if it's not to make unix-friendly app not compatible ? To attract linux nerds ? > XWindows and OpenGL are not part of POSIX. I don't really care about POSIX, I care about being able to recompile apps for a new OS, without having to rewrite core parts or change the design. I guess people would start to make new apps for the sake of apple. And by the way, what's the point of Cocoa compared to other existing things ? Is GUI programming that much important, now that everybody is using html and js ? Is it worth changing the wheels for the sake of a language paradigm ? At the kernel level, I don't see why there's a need for cocoa.
- pjmlp 13y agoHTML is for documents, it just sucks for anything native platforms have since the mid-90's.
- pjmlp 13y ago> Vendors always had C++. It's agnostic. All C++ compilers have vendor extensions.
- astrodust 13y agoI've done a lot of C++ programming and Objective-C is significantly easier to write code for. It takes hours to understand Objective-C compared to years for C++. C++ is great at a lot of things, but interface glue is not one of them.