r/programming • u/[deleted] • May 08 '18
Excel adds JavaScript support
https://dev.office.com/blogs/azure-machine-learning-javascript-custom-functions-and-power-bi-custom-visuals-further-expand-developers-capabilities-with-excel
2.4k
Upvotes
2
u/tripl3dogdare May 08 '18
I'd just like to point out, since we're at at, that Lua has:
1-indexed arrays with none of the good excuses
One of the messiest dictionary/hash systems I've ever seen short of PHP
Terrible scoping rules
Syntax that can't seem to decide if it wants to be C-style or not
A barely-comprehensible class system
Among other problems
Whatever technical advantages it may have over JavaScript are in my opinion far outweighed by the user experience - while JavaScript certainly isn't perfect, it at least feels like I'm using a language that knows what it's trying to be even if it fails, rather than a language that can't make up it's mind on anything. To each their own, though - nothing wrong with preferring Lua as long as you know why you prefer it =}