- 04 March, 2017 07:46
Crockford griped about systems clutter and confusion in programming, offering a litany of examples. As an example, he mentioned the ongoing disagreement among developers over whether to use tabs or spaces. "Get programmers together and ask, tabs or spaces, and they will have very strongly held opinions and no data to support those opinions," he lamented. "So we spend a lot of time arguing and having problems interoperating." He proposed getting rid of tabs as a solution.
var statements but both are not needed, he said.
Var declares a variable in a function, while
let is for declaring variables in a block. He prefers
var confuses Java programmers, and he prefers the
const statement, which is similar to
let but does not accept assignments.
Crockford emphasized security as well, noting that it should be built into the structure of a language to stifle the exploits that have been happening frequently. The next language also should be better able to deal with multiple cores. Most languages have followed the sequential model of Fortran, executing one operation after another, he said. "That's not how the world works anymore. We now have lots of cores available to us, which all want to be running at the same time."