79407061

Date: 2025-02-02 18:10:59
Score: 2.5
Natty:
Report link

According to a very fundamental theorem in computer science it is possible to use data structures instead of self modifying code. It would be better to discuss the problems in your python code than how to solve them with variables that automatically change their name at run time, which is a very quick recipe to create a maintenance nightmare. Not even the python language itself changes its own variables. The only thing that gets close is higher order decorators, and they already can be a headache to debug.

Reasons:
  • Blacklisted phrase (1): how to solve
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Max Headroom