Tagging 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
Why 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
Soul 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
Why 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
Best 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
Using 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
The 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
Constructors 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