Re:A Gentle Introduction To Learning Calculus
by a-priori on Friday May 02, 2008 @07:17PM
(#180011)
Actually, the reason was more that C was designed for systems programming, and that sort of code often has to interface with hardware devices through memory-mapped registers. To do this, you need to be able to write code that uses variables of the correct width. This is why C has all the various sized variables in signed and unsigned variants.
[ Parent
| on HN ]
Good point -- C was designed to interface with hardware ("high level assembly") whereas javascript was designed to interface with web pages & browsers. Either way, the history helps understand the design decisions.