Improve D's syntax to make it more python like

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Mon Mar 24 15:23:48 PDT 2014


On 3/22/2014 2:38 PM, "Ola Fosheim Grøstad" 
<ola.fosheim.grostad+dlang at gmail.com>" wrote:
> 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).
>

Using the same language on client/server is indeed quite nice, partly 
because of less mental context-switching, and also because of increased 
code sharing (which also makes it easier to move things between client 
vs server if you need to). Because of that, and an irritating need to 
support cheapo shared/PHP-hosting servers (which are NEVER run by 
companies who have the slightest comprehension of security), I'd been 
using Haxe pretty heavily for a good while. Haxe is a rather "ok" 
language, which is practically high praise coming from me - I'm 
typically very critical of languages.

FWIW though, lately I've been swinging back over to the side of "I'd 
rather use the best language I can whenever possible, code duplication 
and other concerns over multiple languages be damnned." Life's too short 
to tolerate subpar tools.



More information about the Digitalmars-d mailing list