In this video:
- Scott Laningham, Producer, IBM developerWorks TV
What would Crockford like to see in a linguistic successor? Fewer programming elements:
- He prefers SPACES to TABS, the LET statement over VAR (but really prefers the CONST statement)
- He likes the UNDEFINED bottom value instead of NULL (which he thinks has led to some bad design)
- The next language should not have null pointers, but maybe keep NULLNESS
Crockford thinks the lingo could be turned into a purely functional language by getting rid of things like the delete operation, but that it should probably be replaced totally instead of rebuilt.
His two final thoughts:
- Security should be built into the new language
- It should be able to handle multiple cores – the sequential, one-operation-execution-after-another model is not the way the world works any longer
Resources for you
- IBM Code: Create an Android calorie-counter app
- Watch Crockford explore the future of JS
- David Green explores functional JS for lazy developers
- Try an easier path to functional programming in Java
News and stories about developerWorks and trends in software development.