Namespaces In most programming languages we know the concept of** namespaces (or packages)**.****Namespaces allow us to group code and help us to avoid name-collisions. In c# for example you have this declaration namespace MyNameSpace { public class MyClass { } } If you want to use MyClass, you...
Often I see problems arise when people try to tackle Javascript. Taking a certain behavior for granted can get them frustrated. Javascript has little differences but they can cause unexpected results if not taken into account. One of those differences is the way it handles...
The first thing you often hear when talking about JavaScript is often “JavaScript doesn’t have visibility modifiers, hence it doesn’t support private variables”. This is only valid for 50%, because JavaScript indeed doesn’t have visibility modifiers (public, private, friend) but it has...
So many times I have heard complaints about the flaws of JavaScript. Many people say it’s a kiddy language, it’s error prone, it’s a pain to work with and it lacks all of the good stuff that we have in strong-typed languages...
To conclude the series on elegant web forms, I will walk you through a full example of a simple company and contact management tool. The app in itself doesn’t do much, but it serves to illustrate the points mentioned in the previous posts. [![elegant_...