News for hackers. Stuff that matters.
Re:MoonScript: Dynamic scripting language that compiles into... by toastal on Saturday February 01, 2020 @08:41AM (#22210447)
I used this playing with a Lapis project years ago. It very much fit the zeitgeist in the wake CoffeeScript's popularity. Although usable, it feels a bit dated now and a product of its time. The zeitgeist now requires static typing.
Re:MoonScript: Dynamic scripting language that compiles into... by mhd on Saturday February 01, 2020 @08:44AM (#22210459)
The good thing about playing to fashion is that you just have to wait for things to cycle.
Re:MoonScript: Dynamic scripting language that compiles into... by marcosdumay on Saturday February 01, 2020 @09:24AM (#22210629)
Fashion only cycles on equivalent choices. Some stuff are better or worse than the alternatives, so they stick either in use or out of it.

Types are one of those things that will stick in use. We will also probably see a wild diversity of type systems in experimental languages, as there is very likely one better than everything we use today.

Re:MoonScript: Dynamic scripting language that compiles into... by boomlinde on Saturday February 01, 2020 @12:32PM (#22211746)
> Fashion only cycles on equivalent choices. Some stuff are better or worse than the alternatives, so they stick either in use or out of it.

Even if that is true, there are potentially a lot of dimensions to consider in solving the problem of what is better or worse. Some of these dimensions, or where in that dimension what-is-better falls, take a long time to discover and are different for different problem spaces. Sometimes you think you've got it right only to learn that you were wrong much later.

But it isn't true. Fashion is by any indication only loosely concerned with utility and sometimes settles on downright masochistic flavors-of-the-day.

Re:MoonScript: Dynamic scripting language that compiles into... by mhd on Saturday February 01, 2020 @09:41AM (#22210709)
Contradicts history, but let's just see.
Re:MoonScript: Dynamic scripting language that compiles into... by toastal on Saturday February 01, 2020 @08:59AM (#22210518)
I'm unsure of this. It seems the jury's pretty out on typed == good, but we'll see in 10 years.
Re:MoonScript: Dynamic scripting language that compiles into... by anonymoushn on Saturday February 01, 2020 @08:43AM (#22210453)
There's TypedLua for this I suppose.
Re:MoonScript: Dynamic scripting language that compiles into... by mrtnpwn on Saturday February 01, 2020 @10:16AM (#22210904)
Sadly the active development stopped, but there's an attempt to bring it back by one of the maintainers of LuaRocks.

https://github.com/hishamhm/tl