clodman84 / Updated-Newer-Fresher-Version-3

It's DoPy bitches!!!!!!!!!!!!!!
https://updated-newer-fresher-version-3.readthedocs.io/en/latest/
1 stars 3 forks source link

Somebody touched my spaghetti #11

Closed clodman84 closed 2 months ago

clodman84 commented 2 months ago

Someone please rewrite the fucking the GUI/Bill.py code pls thanks

I can feel my brain calcifying when I look at it. This is partly because of the way Application/search.py returns the output and dearpygui's item system.

how would you implement this?

first off, application/search.py should return a set of dataclasses instead of a set of lists, this will handle some of the random indexing bt. secondly you can set up a table manager utility or something like that, handles the indexing and modification of tables for us, since the tag system is a lil convoluted. the utility will use the tag system internally of course, but that will all be abstracted away and we can just manipulate cells by specifying their row and column or something like that.