Hacker News new | ask | show | jobs
by samatman 2108 days ago
I upvoted this, although I disagree about tables vs. separate objects and arrays. If you were to say separate maps and a specialized array type, I would be more inclined to your point of view! Not sold completely, mind you.

In either case, it's a productive disagreement. I agree that Lua isn't a perfected language; merely a very, very good one.

From your list, I would takeaway default arguments as the first thing to bring over to this hypothetical successor language. Arrow functions could be avoided by the simple expedient of renaming the keyword `function` to simply `fn`.