News for hackers. Stuff that matters.
Re:XL: An Extensible Programming Language by slooonz on Wednesday February 21, 2024 @10:02AM (#39454638)
IMO, there’s a wide unexplored design space between the minimalism of Lisp and richness of other languages. A programming language inspired by something like KDL (https://github.com/kdl-org/kdl) has the potential to be in a very sweet spot between the two. "Everything is a node" instead of "everything is a list" is only slightly more complicated, but also vastly more readable that a soup of parenthesis.
Re:XL: An Extensible Programming Language by mbork_pl on Wednesday February 21, 2024 @11:13AM (#39455652)
Where would you put Lua on this spectrum?

Also, I do not find Lisp unreadable - you train your brain to ignore the parens and look at the indentation instead pretty quickly. And you can always tell Emacs to gray out the parens if you really want. ;-)

Re:XL: An Extensible Programming Language by slooonz on Wednesday February 21, 2024 @12:58PM (#39457150)
> you train your brain to ignore the parens and look at the indentation instead pretty quickly

But I don’t want to train my brain to ignore useless syntactic noise, I want my brain to be guided by helpful syntactic guides.

Re:XL: An Extensible Programming Language by mbork_pl on Thursday February 22, 2024 @04:39AM (#39465035)
Good point, but if you start treating indentation as part of the syntax, we all know where it would lead...
Re:XL: An Extensible Programming Language by agumonkey on Wednesday February 21, 2024 @01:55PM (#39457901)