3 ms·
>Pycharm tries really hard to paper over the lack of static typing in Python. It does and IMO this is the wrong approach. I usually fire off a test and use tha
by crdoconnor 10y ago
>Pycharm tries really hard to paper over the lack of static typing in Python.
It does and IMO this is the wrong approach. I usually fire off a test and use that the push the code to the line I'm interested in, at which point I fire up IPython.embed().
That gives you perfect code completion, instant variable inspection (including instant docstring and code lookup) and the ability to execute and inspect on the fly.
You can then fairly easily copy and paste the lines you want back to the text editor.
IMO that's a step ahead of just having autocomplete in an IDE.
- vosper 10y agoThat sounds interesting, do you have any details (blog post, tutorial) on exactly how to do that?