Copernicus |
2015-02-26 18:58 |
Re: BQ Aquaris E4.5 Ubuntu Edition - first ubuntu phone announced
Quote:
Originally Posted by m4r0v3r
(Post 1462133)
Qt is hard man lol maybe its cause I don't know C++ as well as I do Java, but a 10 sec thing in Java takes me 15 mins in C++, I could just be a terrible programmer
|
Actually, that's kind of the way the two languages were designed, at least at first: something that takes 10 seconds in Java does take quite a bit more time in C++. However, something that takes less than a week in C++ could take weeks in Java, and something that takes a month or more in C++ can be totally unmanageable in Java. Both C++ and Java put an emphasis on object-oriented programming and templates, concepts which support programming-in-the-large; however, C++ more closely follows C's policy of allowing the programmer a wide latitude of freedom, whereas Java tries to hold the programmer's hand as much as possible. So, once you start doing something the designer of the language never thought about, you start tripping over language restrictions more quickly in Java than in C++. :)
Of course, Java is a lot better nowadays than when it first came out, but in my experience you generally still have an easier time creating novel code and managing large projects in C++ than in Java...
|