Hacker News new | ask | show | jobs
by pixie_ 5160 days ago
I still like ActionScript because I like javascript, but in many cases I want to declare my types so I can get type checks at compile time instead of being surprised or having to write unit tests to be sure of myself. Also refactoring large javascript or python projects is my nightmare because getting it to 'compile' means nothing, so many bugs could be lurking still.
1 comments

Reminds me of this: https://twitter.com/#!/dozba/status/198081985506328576. Seriously, put the effort in to learn a unit testing framework (Qunit) and a mocking framework (SinonJS) and use them. You'll find that refactoring your large dynamic projects no longer involves blindly 'changing shit'.