Forum > Software Development
Re: Cross-platform programming: C++/Qt vs. Python/Qt
<< < (2/2)
iindigo:
Thanks for the input, Gamh. (I'm the original poster but all my old posts got removed in a mishap).
I see what you and schlumpf are saying in regards to shitty code, but Python is so tempting simply because its learning curve and average time to usability is so much lower. Having written Ruby and Objective-C, I could jump in on intermediate difficulty problems with Python in a few weeks where doing the same with C++ would likely take months. But then again, I may just be grossly overestimating.
How do you guys feel about libraries like Boost? Opinions seem to vary wildly.
On a sidenote, is C++ always lacking in terms of being self-explanatory? Most I've looked at takes much more than a quick glance to figure out exactly what a function is supposed to be doing.
Steff:
I think that beside pointers and the point that c++ don´t force you to do oop it is same easy as all other languages. If you only use latest introduced functions and strict OOP style its also an easy coding language.
And yes Boost is totaly ok and very helpfull. Bettern the inventing wheel again and again. And most time more efficient then own implementation.
Gamh:
--- Quote from: "iindigo" ---I see what you and schlumpf are saying in regards to shitty code, but Python is so tempting simply because its learning curve and average time to usability is so much lower. Having written Ruby and Objective-C, I could jump in on intermediate difficulty problems with Python in a few weeks where doing the same with C++ would likely take months. But then again, I may just be grossly overestimating. --- End quote --- An exemple that just occured with a friend learning Python with almost no C/C++ background : he had to parse an enourmous binary file, knowing its size, his container was a list and at each loop, he was using append() on the list. If he knew that, under the hood, a Python list is a C array, he should have know that it would cause multiple useless reallocations, and would have tried to specify the list length at first. But he didn't so his program was less effective. Just an exemple ;) but I feel like these kind of things are important knowledge in the long run. If you think you can avoid these kind of mistakes, go with Python.
--- Quote from: "iindigo" ---How do you guys feel about libraries like Boost? Opinions seem to vary wildly. --- End quote --- I've almost no experience with this. Seems like a nice extension of the standard library. Many people have bad opinion of Boost because of some specific bugs and the sometimes harsh process of installing/linking.
--- Quote from: "iindigo" ---On a sidenote, is C++ always lacking in terms of being self-explanatory? Most I've looked at takes much more than a quick glance to figure out exactly what a function is supposed to be doing. --- End quote --- Uh yeah that's one of the thing I may reproach C++ with. That's a part of why the learning curve is longer than most languages. Although references like cplusplus.com help understanding most of it.
Navigation
[0] Message Index
[*] Previous page
|