Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C++ or Python as a starting point into GUI programming?

Tags:

c++

python

qt

I have neglected my programming skills since i left school and now i want to start a few things that are running around in my head. Qt would be the toolkit for me to use but i am undecided if i should use Python (looks to me like the easier to learn with a few general ideas about programming) or C++ (the thing to use with Qt). In my school we learned the basics with Turbo Pascal, VB and a voluntary C course, though right now i only know a hint of all the things i learned back then.

Can you recommend me a way and a site or book (or two) that would bring me on that path (a perfect one would be one that teaches the language with help of the toolkit)?

Thank you in advance.

like image 451
Plastefuchs Avatar asked Jul 05 '09 22:07

Plastefuchs


2 Answers

Being an expert in both C++ and Python, my mantra has long been "Python where I can, C++ where I must": Python is faster (in term of programmer productivity and development cycle) and easier, C++ can give that extra bit of power when I have to get close to the hardware or be extremely careful about every byte or machine cycle I spend. In your situation, I would recommend Python (and the many excellent books and URLs already recommended in other answers).

like image 147
Alex Martelli Avatar answered Sep 17 '22 12:09

Alex Martelli


http://wiki.python.org/moin/PyQt
You can use PyQT for Qt in Python. They have recommendations for tutorials and references on there.

Google "How to learn Qt" and "Learning C++". There are some decent sources on there.

like image 24
user120242 Avatar answered Sep 21 '22 12:09

user120242