We all know that Javascript is powerful but it can be a really terrible language when misused. Moreover, it lacks several advanced features that are taken for granted in other languages. One technique that is always overlooked is metaprogramming: hystorically only lisp dialects support it properly, and programmers regularly underestimate its power. In the spirit of Coffeescript, Typescript, Clojurescript and other similar projects I have developed Metascript, which is designed to provide everything those languages offer, and then some, with a strong emphasis on metaprogramming. We’ll have a quick tour of the language and see how it solves a lot of the problems that we need to deal with every day when writing code.
