Live data from Hacker News

LuaJIT 3.0 proposed syntax extensions

github.com

1–10 of 170 posts

Re: LuaJIT 3.0 proposed syntax extensions

#2
So is LuaJIT resuming active development after a decade or so of only maintenance? Great!

A lot of these changes make sense (although some of them are a bit too TIMTOWTDI for my taste) - but perhaps LuaJIT 3 would benefit from a change of name as well? Certainly with all these changes, it would be more like a separate language than merely a JIT-compiled version of Lua.

Re: LuaJIT 3.0 proposed syntax extensions

#4
post #2

So is LuaJIT resuming active development after a decade or so of only maintenance? Great! A lot of these changes make sense (although some of them are a bit too TIMTOWTDI for my taste) - but perhaps LuaJIT 3 would benefit from a change of name as well? Certainly with all these changes, it would be more like a separate language than merely a JIT-compiled version of Lua.

>TIMTOWTDI

What on earth is this supposed to mean?

Re: LuaJIT 3.0 proposed syntax extensions

#5
post #4
post #2

So is LuaJIT resuming active development after a decade or so of only maintenance? Great! A lot of these changes make sense (although some of them are a bit too TIMTOWTDI for my taste) - but perhaps LuaJIT 3 would benefit from a change of name as well? Certainly with all these changes, it would be more like a separate language than merely a JIT-compiled version of Lua.

>TIMTOWTDI What on earth is this supposed to mean?

There is more than one way to do it.

Re: LuaJIT 3.0 proposed syntax extensions

#7
Never will I understand ternary operators. As soon as you introduce it, some chuckle heads want to use them everywhere. Worse if the syntax allows nested ternarys. I guess it keeps the language open for code golfing, but it otherwise seems like redundant syntax that at best saves a few characters.

Re: LuaJIT 3.0 proposed syntax extensions

#8
post #4
post #2

So is LuaJIT resuming active development after a decade or so of only maintenance? Great! A lot of these changes make sense (although some of them are a bit too TIMTOWTDI for my taste) - but perhaps LuaJIT 3 would benefit from a change of name as well? Certainly with all these changes, it would be more like a separate language than merely a JIT-compiled version of Lua.

>TIMTOWTDI What on earth is this supposed to mean?

There Is More Than One Way To Do It.

That takes me back a bit. It's a perl-ism. I used to think it was a great design feature but I've come to strongly prefer "There should be one way to do it, and it should be obvious"

Re: LuaJIT 3.0 proposed syntax extensions

#10
post #8
post #4

Earlier quoted context omitted.

>TIMTOWTDI What on earth is this supposed to mean?

There Is More Than One Way To Do It. That takes me back a bit. It's a perl-ism. I used to think it was a great design feature but I've come to strongly prefer "There should be one way to do it, and it should be obvious"

Interesting, thank you.
Post reply on HN