News for hackers. Stuff that matters.
Re:HaXe - Code Once. Deploy Everywhere. by azakai on Saturday March 03, 2012 @05:52PM (#3661352)
> Unlike JavaScript which can take hours to debug, haXe has a very strict compile-time type checking feature that allows you to catch errors before testing your program in the browser

It's great that you invented a new programming language. haXe is very cool. But why do you feel the need to disparage other programming languages?

If you personally don't like dynamic typing, that's fine. But putting that in the blurb for haXe will annoy a large potential audience for your language. For what?

Re:HaXe - Code Once. Deploy Everywhere. by FlemishBeeCycle on Saturday March 03, 2012 @07:18PM (#3661528)
While I disproportionally use Ruby and JavaScript on a daily basis, this statement is referring to a specific type of (common) error, which is largely alleviated by the use of static typing, and therefore not exactly untrue.

I didn't take it as a disparaging of dynamic typing.

Re:HaXe - Code Once. Deploy Everywhere. by azakai on Saturday March 03, 2012 @07:20PM (#3661535)
It's not untrue.

But why the singling out of JavaScript? The statement is true for Python, Ruby and Lua as well.

And why even mention another language or class of language in a negative way? I propose that the sentence would better have been written as

> haXe has a very strict compile-time type checking feature that allows you to catch errors before testing your program in the browser

It loses nothing by removing the disparaging part.

Re:HaXe - Code Once. Deploy Everywhere. by FlemishBeeCycle on Saturday March 03, 2012 @08:31PM (#3661649)
My guess is that rather than give an exhaustive list, the author wanted to give an example of a familiar language _without_ static typing. As Haxe is more similar to ECMAScript than Python, Ruby, Lua etc. - it's the most appropriate comparison.

As a person who likes (the good parts of) JavaScript, I read it as trying to appeal to me with promises of less debug time.

Re:HaXe - Code Once. Deploy Everywhere. by willvarfar on Sunday March 04, 2012 @11:56AM (#3663122)
Haxe is not new. I was using it years ago.

It started out as an actionscript (which is javascript) compiler for flash that was simply enerated far faster swf files than the macromedia toolchain.

From this grew an actionscript like language called haxe that strives to solve what were seen as the wrongs of the javascript language. And in my opinion it succeeds.

Its cool to see that the cross platform angle grows and i hope haxe reaches the mainstream awareness it deserves.

You should try it :)

Re:HaXe - Code Once. Deploy Everywhere. by wavephorm on Saturday March 03, 2012 @06:42PM (#3661455)
The biggest problem for Haxe is with appropriate JavaScript libraries that abstract the shrinking number of differences between browsers, plus the advent of NodeJS working on pretty much every possible operating system, JavaScript is becoming what Haxe wants to be.
Re:HaXe - Code Once. Deploy Everywhere. by azakai on Saturday March 03, 2012 @07:21PM (#3661538)
Interesting, I didn't realize that. Perhaps this isn't random bashing then, but a response to a perceived threat.
Re:HaXe - Code Once. Deploy Everywhere. by tarwin on Monday March 05, 2012 @04:10PM (#3668356)
Ah, but there is a reason people also write NodeJS in haxe. You get compile time checking, code completion etc. And clean Javascipt code at the end ...