• Javascript URL Object

    I've been doing some operations on URLs in Javascript where I needed to extract different parts from a string URL, such as the domain, port, and most importantly the parameter values. I really wished there was some function which takes a string URL and breaks it down into an ...

  • New Version of the Blog is Out

    Hello everyone, as you can see I have just rolled out a new design for this blog, the old one was nice yet had some evident problems in terms of UX, layout and colors. So I decided to revamp it into this. The new blog design is simpler, the layout ...

  • Exercise: Alien Language Pattern Matching

    As part of my programming workout I was going through some nice Google code jam exercises and came across an interesting exercise from the 2009 qualification round related to matching words against patterns. Not hard but interesting to solve.

  • The undefined vs null Pitfall in Javascript

    Sometimes I come across JavaScript code with a lot of null checking against properties that are uninitialized, which is really wrong. Many people might think that uninitialized properties get a default value of null, but that is not the case despite having something like foo == null resulting in true, assuming ...

  • TypeScript: Enhanced Javascript

    One of the most important platforms nowadays is the web, and Javascript incorporates a large share from any web application today more than ever. As we get more into the single page applications trend and Javascript on the server (such as NodeJS), this language can't be really dealt with ...

« Page 2 / 3 »

Fork me on GitHub