4 ms·
Kind of like spider? Or Emacs? Or PyDev?
by sqrt17 12y ago
Kind of like spider? Or Emacs? Or PyDev?
- truncate 12y agoMore like DrRacket.
- sqrt17 12y agoI know DrRacket from back when it was called DrScheme and you had to manually set it from "extremely limited scheme-like language that won't allow you to do anything" to "actual R5RS scheme". I found DrScheme and its cousin DrJava nice for beginners, but I think within the context of Python, IPython Notebook is just so much better because you can wire in some pretty pictures and formatting. Then again, the separation between "code that is meant to stay" and the REPL may be a useful concept that you want to teach beginners.
- eru 12y agoYou still have to tell it the mode. But you usually do that once at the top of a file (recommended) or set it as the default.
- jarcane 12y agoDrRacket defaults to the full Racket language. You have to switch over to use the teaching languages or the r*rs implementations, but Racket is there from the off, and switching languages is as easy as editing the #lang line at the top if you don't feel like arsing around with the GUI for it.
- soegaard 12y agoThe defaults has changed in modern times (5 years ago?).
- truncate 12y agoI don't use IPython, so I dunno what exactly IPython gives. However, DrRacket does allow images as input and output directly in REPL and source[1] Another cool DrRacket feature for beginners as well as experienced is its debugging features. Whenever your program interrupts, be it exception or breakpoint, you can visually trace bindings to its source by hovering pointer on symbols which in turns shows a series of arrows. [1] http://docs.racket-lang.org/quick/ http://docs.racket-lang.org/quick/
- klibertp 12y agoDrRacket is on par with IPython qtconsole and only slightly more limited than notebook nowadays. Embedding images or graphs is very well supported as well as normal text; you can also easily save such sessions to a file too. Such a file does need DrRacket to be viewed, but other than that I'd say it's rather close to IPython Notebook. Additionally DrRacket has a nice feature for displaying contracts and limited help/docstring for highlighted symbol, a bit of auto-completion (no context sensitivity unfortunately) and a feature for displaying where the identifier comes from with arrows, which is neat sometimes (to be fair it breaks down completely when working with many macros). There are also three killer features: macro stepper, debugger and futures visualizer (which lets you see sync points of your parallel computations to (hopefully) optimize them away). Personally I switched to Emacs, because I deal with more than one Lisp on a regular basis and because I find DrRacket harder to customize (this may be just me being used to Emacs however). I still use DrRacket when working with graphs in Racket and it's very pleasant. Anyway, DrRacket is very high quality basic IDE and I wish every language would come with something similar. It has its problems (performance, sometimes), but by the time you hit those you're probably already using something more advanced.