Prev | Current Page 784 | Next

L. McColl-Sylvester and F. Ponticelli

"Professional haXe and Neko"

parentNode.appendChild(elsampler);
}
}
Advantages of ha X e/ JS Development
A web developer with JavaScript experience can wonder why he should pass to program with haXe
instead of continuing to develop directly with the language. There is more than one reason to explain
why and all the reasons provided are per se very valid.
First and foremost it is the strictly typed environment. Having type checks at compile time reduces
considerably the number of errors and typos. Be sure that this will not limit your programming style;
type inference permits to declare types only when absolutely necessary; you have Dynamic to solve
situations where many types are accepted and there is always the untyped backdoor.
The haXe compiler is smart and helps you to maintain your output file as lean as possible; in fact, you
can have a huge library of classes but only the types used in your current application will be embedded
in the output file; you are actually encouraged in building stable and solid libraries that can be reused
from project to project.


Pages:
772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796