Aug-05-2022, 03:02 PM
(This post was last modified: Aug-05-2022, 03:15 PM by deanhystad.)
Looking at it now, that is a bit harsh. Sorry.
Your solution is a good solution for an underlaying problem. Fix the underlaying problem and your code is not needed. Would you write code like that for your use? Of course not. You would organize your data to make it easy to work with.
In another thread brianhclo mentions being new to programming. In that post as well as this, the code exhibits a problem common to new programmers; Using tons of variables instead of lists, dictionaries or classes when you have related information.
Your solution is a good solution for an underlaying problem. Fix the underlaying problem and your code is not needed. Would you write code like that for your use? Of course not. You would organize your data to make it easy to work with.
In another thread brianhclo mentions being new to programming. In that post as well as this, the code exhibits a problem common to new programmers; Using tons of variables instead of lists, dictionaries or classes when you have related information.