Panu ViljamaaTagging the CodeTyping ‘d’ twice followed by tab ( ddTAB) is now defined in my WebStorm File->Settings->Editor->Live Templates as producing and inserting…Dec 11, 2019Dec 11, 2019
Panu ViljamaaWhy CSS is DifficultI’ve worked with CSS for several years, not every day but when I need to. Only recently I think I discovered why it always felt difficult…Jul 15, 2019Jul 15, 2019
Panu ViljamaaSoul of A New API: wof() and wol()Below are some excerpts from the tests of a new Array-API I was working on today. The possibility to subclass Array in JavaScript/ES6…Apr 18, 2019Apr 18, 2019
Panu ViljamaaWhy monads can’t give you the answerIf you rely on the definition of monads you cannot use monads for anything — except for creating more monads.Apr 16, 2019Apr 16, 2019
Panu ViljamaaBest Way To Use JavaScript Optional ArgumentsWhen the number of optional arguments increases, using a single {} for all optional arguments becomes increasingly preferable to using a…Apr 3, 2019Apr 3, 2019
Panu ViljamaaUsing multi-arg JavaScript functions with map()The arguments ‘i’ and ‘a’ are never used, but need to be there because map() passes them in. The argument ‘y’ is not passed in by map()…Mar 31, 2019Mar 31, 2019
Panu ViljamaaUsing ES6 Default Arguments As Sub-Expression NamessumOfDoubleAndTriple =Mar 31, 2019Mar 31, 2019
Panu ViljamaaBACK TO THE FUTURE WITH FLOWCHARTS DESCRIBING FUNCTIONS… to be cont’dFeb 24, 2019Feb 24, 2019
Panu ViljamaaThe Syntactic Benefit of Object OrientationSome people say you should use Functional Programming (FP) instead of Object Oriented Programming (OOP). I assume there are also people who…Sep 17, 2018Sep 17, 2018
Panu ViljamaaConstructors Considered HarmfulThis article is about JavaScript/ES6 custom constructors. Using static methods to create instances is better than defining ES6 custom…Sep 3, 2018Sep 3, 2018