News for hackers. Stuff that matters.
Re:PyScript: An open source platform for Python in the browser by bob020202 on Friday August 16, 2024 @04:55PM (#41270330)
If it's not something that needs extensive testing, I'd rather maintain that codebase than a "proper" one. Data science people don't pump out 100 files with 20 layers of OOP, and they don't know how to use Redux or whatever overkill navigation lib. It'll be a main.py that just does what you want. Maybe there will be copy-pasted code, but even that can be more readable sometimes.
Re:PyScript: An open source platform for Python in the browser by v3ss0n on Saturday August 17, 2024 @02:57AM (#41272522)
You are right about over engineered redux and react, It would be a lot less painful to maintain main.py and a lot more grepable