Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to write graphical programs

I have learned C++ and Qt4. I wrote one graphical program with 3000 rows and I found out that there is really complicated to keep code simple, transparent and well-structured. I like design patterns etc. because they are really effective and helps to keep code simpler and more transparent. Now I am going to write another "bigger" application but I would like to have a clear code which will be easy to edit and won't be big problem to add some enhancement etc.

I am looking for some guide, pattern, manual or experience which says how to structure code in graphical applications to be well-structured due to testing ( unit and integration ) in business logic and future edits.

If this manual will be directed to C++ and Qt it will be better but it is not main requirement.

Thanks for your tips.

like image 632
Gaim Avatar asked Jun 25 '26 00:06

Gaim


1 Answers

I would highly recommend the book, Code Complete; http://www.cc2e.com/

like image 198
Dimitar Avatar answered Jun 27 '26 14:06

Dimitar



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!