Improve D's syntax to make it more python like

Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com> Ola Fosheim Grøstad" <ola.fosheim.grostad+dlang at gmail.com>
Sat Mar 22 11:38:27 PDT 2014


On Saturday, 22 March 2014 at 17:54:16 UTC, Russel Winder wrote:
> like "end to end" the same language. Many are asking about 
> server-side Dart as well as client-side Dart in the browser.

Yes, a CLI/server Dart VM exists that is suitable for a http 
server. The advantage of client/server code sharing is obvious 
when you write web-apps, but I am a bit weary of using dynamic 
languages on web servers since runtime errors can be nasty. I 
personally would like to see a Dart version with a much stricter 
type system, but I think the Dart library is just about right for 
web development and the language itself is pretty well rounded 
and pragmatic (but nothing spectacular).

> IPython is an excellent tool for creating documents that 
> incorporate executable Python as an integral component. It is
> "literate  Python programming". However it is only a good tool
> if the end result is a document to be read and shared.

Hm, I use it for all kinds of small scale experiments/testing, 
which usually just involves getting those 1-4 lines of python 
code right (array transformations, regexps etc). I guess it 
depends on what you use Python for.

> I think the Python IDE such as Wing IDE,
> PyCharm, actually do the REPL and editor model better.

They probably are, but my point was more that a REPL/interpreter 
friendly syntax is not the same as a write/compile friendly 
syntax.

(I am currently using Eclipse with PyDev and am a bit reluctant 
to use even more IDEs, but I see that PyCharm has a new free 
edition that I probably should check out. Thanks for the tip!)

Ola.



More information about the Digitalmars-d mailing list