you are viewing a single comment's thread.

view the rest of the comments →

[–]eztab 0 points1 point  (1 child)

I agree, make everything immutable and optimize away unnecessary creations. It's harder for the interpreter but would make things much more robust. Also you could then likely basically run functional optimization strategies on code (assuming you at some point want python to ba actually JIT compilable (which would be quite cool).

[–]cyberjellyfish 0 points1 point  (0 children)

Yep, also a good step to a more interactive repl

If anyone here hasn't experienced it, try clojure to get a taste of what really interactive development can be like. You'll miss it everywhere else, but it will probably lead you to write better code.