best thing we can do today to JavaScript
2022-08-08 17:51:24.54798+02 by Dan Lyke 0 comments
‘The best thing we can do today to JavaScript is to retire it,’ says JSON creator Douglas Crockford
Crockford also notes though that JavaScript will be hard to shift, in particular because it is the language supported by every browser for DOM (Document Object Model) manipulation. Asked about what can replace it there, Crockford said: “There are two difficulties. First, we don’t have the next language yet. It needs to be a minimal capability-based actor language that is designed specifically for secure distributed programming. Nothing less should be considered.
“Second, we need all of the browser makers to adopt it and to simultaneously replace the DOM with a well designed interface. Good luck with that.”
Via this Metafilter entry linking to Genesis — an interpreted, procedural, and Turing-complete Paleo-Hebrew programming language.
Why not make an object-oriented language?
This suggestion makes me consternated. Genesis will never be object-oriented because the Bible explicitly forbids object worship...