On 2012-08-13 08:51, Russel Winder wrote:

Shells such as Python, Scala, etc. are good for some one-off experiments
and tasks, but I think in general they are over-rated in general
usefulness.  Much better for non-trivial experimentation is to have a
super-lightweight editor/execution. Groovy has GroovyConsole, Python has
IDLE. Personally I find Emacs/rdmd excellent as an experimentation
combination for D codes.

I'm using TextMate (Mac OS X) and rdmd. I just create a new document, type the code and run it from within TextMate. I don't even have to save the document. I probably should make it so it automatically wraps the code in a main function for even easier and more script like usage.

--
/Jacob Carlborg

Reply via email to