Hacker News new | ask | show | jobs
by miki123211 55 days ago
WHy aren't we doing this for Python?

Surely iPython (what powers Jupyter notebooks among other things) + maybe pdb could do it? And agents are definitely familiar with how those work.

1 comments

Totally possible in Python, but clojure is typically more amenable to this kind of change because of how data is immutable by default, you can just replace without any consequences because the application is already developed with that concept in mind.

For iPython that's totally possible because the model there is just some kind of dependency graph. Regular python programs, much more complex I'd bet unless the architecture takes it into account

> For iPython that's totally possible because the model there is just some kind of dependency graph. Regular python programs, much more complex I'd bet unless the architecture takes it into account

The iPython shell has %autoreload 2 (autoreload on changes) which is incredibly helpful for debugging and iteration.

I do agree that Lisp is better, hooking an agent up to Emacs is a lot of fun (and I'm only getting started!).