As a C/C++ guy I'm used to some sort of type safety which Javascript unfortunately can't do out-of-the-box. To start a small new project of mine I was evaluating several mobile development frameworks (see my former post(s)) along with Javascript tools.
What most people (at least at the time of writing) do say is: Forget to try to obfuscate, hide and/or pseudo-encrypt your hardly-written Javascript code. If there's someone who wants to steal your code, then there will be way to do it, period.
But what's more about RTTI or type-safety in general? From former Javascript experiments I know that it's much more likely that some part of an application breaks because some object or variable is used in a different way it was meant to be.
To make it short: I still don't have the definite answer for it, but I found the Closure Compiler so far and it makes a rather good impression to me (besides some critism found on stackoverflow and others).
I really would love to get Javascript compiled (yes, I know, there's Google's Dart coming up!) ...maybe some Lint replacement(s) will help me out? Searching further ...
Freitag, 20. Januar 2012
Abonnieren
Kommentare zum Post (Atom)
0 Kommentare:
Kommentar veröffentlichen