Photo by Frank Wouters CC-BY via Wikimedia Commons. Summer is gone. During the equinox, I have tagged version of 1.7.0 of PhantomJS, the headless WebKit for page automation. The code name for this one is Blazing Star with the following back story: “Blazing Star” is a mesmerizing and beautiful flower, it is often used as… Read more »
Monthly Archives:: September 2012
JavaScript’s Future Class Syntax in Today’s Browsers with Esprima and Harmonizr
One interesting proposal for a class syntax for JavaScript is the so-called maximally-minimal classes. There is no guarantee that this will become the future standard which everyone follows, nevertheless its simplicity is the attractive main point. It may even take years until the popular JavaScript engines support this syntax. What if we want to use… Read more »
The Hidden Trap of Code Coverage
Code which never gets tested is an accident waiting to happen. The coverage of the code as it is exercised by the suite becomes an important metric. It is not a surprise if everyone aims to hit that magical 100% coverage. This applies also to the world of front-end web development with JavaScript. I’ve written… Read more »
Git Viewer: GitHub vs Google Code
I often still use Google Code Project Hosting service to keep my public repositories. In this age where GitHub is very popular, I often get asked why I bother to do that and not just stick with GitHub. Here is a short explanation. The first motivation is to avoid intentional centralization. Git is distributed, there… Read more »
Ternary Conditional and Boolean Values
Many programming languages support the ternary conditional operator. It is very useful to shorten the code since something like: if (fast) speed = 70; else speed = 25; can be rewritten to look like the following (C-style syntax). In such a form, it is also concise, readable, and unambiguous. speed = fast ? 70 :… Read more »
