JS Generics

With JavaScript 1.6 Mozilla introduced generic version of a lot of the Array and String methods. Without broad support these very useful methods are in reality only available to Firefox and Firefox extension. Personally I’ve become too used to them to survive long without them. I’ve previously posted the JS 1.5 array extras and I’ve ...

Don’t trust this guy

I was reading through an article about Atlas at eWeek where they quote Russ Nemhauser, head of Nemhauser Media Inc.: “JavaScript is not an object-oriented language. It does not have strong typing; there is no exception handling; and there is no inheritance. One of the biggest problems with the AJAX approach is the amount of ...

Typed Programming

Typed programming can be nice but when you have to write something like this things have gone too far: Microsoft.Msn.Hotmail.SortBy _sortBy = (Microsoft.Msn.Hotmail.SortBy) Enum.Parse(typeof(Microsoft.Msn.Hotmail.SortBy), aSortBy); Compared to a dynamic typed language: var _sortBy = aSortBy;