Tag: Static Typing

Take The Best From Both Worlds: Functional AND Object-Oriented Programming

Wondering what are the benefits of functional and object-oriented programming and how to combine them? Look no further: this slide deck highlights key features of both approaches in a structured manner.


Static Typing in JavaScript & Best Tools to Do It

There are three popular possibilities – jsDoc (with e.g. Google Closure Compiler), Facebook Flow and Microsoft TypeScript. First one uses comment like annotations – does not corrupt pure JS – while next two extend JS so they have to be transpiled. I will compare them briefly in a moment.