Re:ERP-Application in Python, PyQt5 and PostgreSQL
by DirkJanJansen on Thursday April 30, 2020 @06:13AM
(#23029287)
I'm aware, that the code could be organised better.
But keep in mind, that the program is not written by a professional. It's intended as an example for integration python with a database system for the community and i am convinced that the program helds many aspects as a learning purpose for instance integrating graphs. And screenshots by the way are available in the project at https://github.com/DirkJanJansen/Pandora/tree/master/Install...
And as far as to your first comment over creating tables, this is not creating tables, but defining it to the program.
I should read more accurate, before commenting
[ Parent
| on HN ]
Re:ERP-Application in Python, PyQt5 and PostgreSQL
by trashburger on Thursday April 30, 2020 @06:36AM
(#23029400)
The problem is that if you are putting this out there for purposes of education, it should use best practices, and it clearly doesn't here. I suggest that you significantly refactor this code. I believe that it can become much better with more modularization, more clearly explaining some aspects of the code and better project structuring.
Re:ERP-Application in Python, PyQt5 and PostgreSQL
by Jugurtha on Thursday April 30, 2020 @12:14PM
(#23032509)
>The problem is that if you are putting this out there for purposes of education, it should use best practices
There's a French saying that goes "C'est en forgeant qu'on devient forgeron" (it is by "black-smithing" that one becomes a black-smith).
One way to discover best practices is by putting things out in the open and receiving benevolent feedback on how to do it better.
The code will improve as the author reads more about best practices to apply on a real project they have shared with the comunity, and a benevolent comunity submitting issues and pull requests.
Here's the link to create an issue in that repo:
Re:ERP-Application in Python, PyQt5 and PostgreSQL
by the-dude on Thursday April 30, 2020 @09:24AM
(#23030509)
Putting something out in the open does not imply any duties.
If you are so concerned, fork it.
Re:ERP-Application in Python, PyQt5 and PostgreSQL
by anon102010 on Thursday April 30, 2020 @09:45AM
(#23030725)
We look forward to seeing your version!