I think you chaps have identified the issue.
If you look at most of the scientific stack (Rstudio, Spyder, I am sure Matlab but cant remember as I dont have a license now), and even the Sys Admin IDE's (Powershell ISE, SQL Server SSMS), all these systems have the concept of being able to highlight a section
of code and run just that piece selected.
FYI, I think one of the biggest differences between professional coders and proficient infrequent scientific coders is that the latter probably prefer the interactive environment as they code iteratively. The feedback from the REPL interpreter provides confidence
inducing way points to build up the code base. This may include needing to visualize the output or inputs within the function to check the dimensionality. Moreover, once the script have taken shape, then most will introduce some form of a docstring, and I
certainly include a few examples in my functions. I imagine full time hard core developers to write 100's of lines of code without needing to engage the feedback loop - I guess its a matter of style.
Under my slower type of development process, hopefully you can see that sending small fragments of code to the IPython REPL by issuing Ctrl+E sequence, gets very repetitive and would justify a 'hot-key' remapping. Personally, as I use solutions / projects as
a container to keep related work, there is no concept of an 'entry point' into the project. Imagine that you are pricing difficult securities on an infrequent basis, but want to keep similar pricing endeavors together so that you can audit and review investment
decisions made. Sure in time, once the process becomes sufficiently frequent and you have amassed sufficient experience, a more architected solution can be designed where the concepts learned within the various pricing analysis can be aggregated into a unified
May I recommend that it could be worth checking in with the scientific community and seeing if any of this resonates? Personally, I would really make use of
- A setting in the PTVS configuration that allows me to change the F5 'run' behaviour so that if a section of code is selected, then this code is executed via the interactive IPython session. (please see F5 vs F8 in Powershell IDE or SQL Server Management
Studio F5 for Microsoft technologies that adopt this).
- Not all Projects or Solutions have a single entry point as they can also be a collection of related idea or similar exercises repeated through time stored in individual date stamped files.
I have only been using VS2013 with PTVS for 1 day, the tool looks very promising.
If I could ask, when you chaps get around to organizing your next big version roll out, please could you show some WPF examples (either using IronPython or
as it would be nice to see some not too complicated but definitely not simple examples if they already exist. I appreciate most people are slowly migrating
to web based applications, but I still think there is sufficient mileage in desktop applications which are currently undeserved by Python.
Thanks for the short-cut tip, I will take a look tomorrow when back at work.