Python Forum
do you have an idea for optimizing this code?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
do you have an idea for optimizing this code?
#4
To be honest the code is messy🧬 and not good at all.
You have written all in one file and start with 3 classes with single letter names,
then on line 76 start with some Flask.
Then some logging and FalconPy before start with Flask routes.
I don't think anyone when look this code and try to advice some optimizing,have to clean it up first.

With Flask you have full freedom(good and bad)🎭,you have chosen the more bad way not do any project setup at all.
Django gives a more finish Project structure setup,with Flask have to this yourself.
My setup when work with small to medium Flask app is similia to this Organizing a Flask Project Beyond Single File
Reply


Messages In This Thread
RE: do you have an idea for optimizing this code? - by snippsat - May-22-2022, 10:30 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  do you have an idea to optimize this code[recursion]]? netanelst 4 1,319 May-20-2022, 06:41 PM
Last Post: jefsummers
  Optimizing a code Amniote 4 2,519 Jul-11-2019, 05:33 PM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020