I will be teaching a course on numerical methods in dynamic programming, starting mid-February, for which I plan to use Julia. I am wondering what the most mature and hassle-free environment is for
having an integrated editor and REPL,
writing simple programs, around 100 LOC at a time max,
running pieces interactively, debugging them,
making plots of various results
Don’t really need any libraries (DataFrames etc), just plotting simple 2D functions. The purpose is to make everything hands-on. Debugging is a must though.
After a bit of reading and exploration I am currently leaning towards
debugging via Juno.@step,
release branch of Plots.jl for plots, with the gr() backend.
I have tested this and it works quite OK, there is a REPL, one can eval, but I am not a user of Juno/Atom, so I would appreciate suggestions on whether I am doing the right thing. I can always sacrifice features for stability, since dealing with computer problems disrupts the flow of the class.
Thanks. Is it possible to open some kind of REPL capable of running Gallium/ASTinterpreter from Jupyter (ie attached to the same image?) Jupyter seems nice, but switching back and forth between two environments (if I understood your suggestion correctly) could be disruptive, one would need to reload/rerun everything, etc.
You may be right, but for this course, I really want to focus on the content, rather than programming. I could teach it in some other language, even R, but I feel that learning their way around Julia a bit would benefit these students in their future career. I find that for some students, a stepping debugger makes the difference between staring at the screen in despair at some cryptic error message, or figuring it out eventually.
An easy way for them to install most of what they need ( except plots and gr) is the free Juliapro distribution. I tend to use Jupyter for teaching, though, as it is easy and intuitive to share notebooks with students,