Java > Scala -> new thread: GUI for D

Jacob Carlborg doob at me.com
Mon Dec 5 04:32:24 PST 2011


On 2011-12-05 10:24, Adrian wrote:
> Am 05.12.2011 09:17, schrieb Jacob Carlborg:
>> On 2011-12-05 08:17, Adrian wrote:
>>> Yes it is - but did you ever tried haXe ? IMO it is the best cross
>>> platform language around - you target JavaScript, Flash, PHP, NEKO, C++
>>> and soon Java and C# with one language. Typesafe with type inference,
>>> compiled and code completion support from the compiler.
>>
>> I have looked at haxe but to me it just basically looks like Java. I
>> think CoffeeScript is better, has a less verbose syntax. Although static
>> typing would be nice to have sometimes.
>>
>
> I wouldn't compare it to Java and I wouldn't say its verbose either, its
> expressiveness is close to D . It is a full dynamic language with all
> the benefit and safety of static typing through type inference. You can
> use it object oriented or functional. It has a fantastic remoting
> framework with type checking at compile time! cross platform - no other
> language has this to offer.
>
> CoffeeScript is just a JavaScript alternative without a real benefit.
> HaXe is a complete framework.

I think the benefit is that CoffeeScript has a better syntax and better 
features (compared to JavaScript). Well, CoffeeScript isn't supposed to 
have any runtime or similar. It's compiled into standard JavaScript 
without needing any extra runtime methods.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list