News

Nowadays JavaScript has three different keywords to declare a variable — var, let and, const. Each has its own properties and particularities. Let’s start by making a simple comparison table ...
n "Constants" (JavaWorld, March 30, 2001), I wrote, "I'd be interested to hear how others declare their constants and why. I can post your responses in a future Q&A." Well, here are some reader ...
In the bad old days, I only used constants as a way to assign names to values. Things like this, for example: Private Const DaysInWeek As Integer = 7 However, these days most of my variables are ...