News for hackers. Stuff that matters.
Re:Why most of us won't be inventing little languages by taeric on Monday April 17, 2023 @11:28AM (#35602224)
Contrary take, all programs are little languages. They are, of course, written in a larger language that has more capabilities, but every program is reducing down to the parts that are getting used. And moreover, most of the bugs are when people don't keep themselves to this reduction.

Is why most "little languages" should probably not aim for complete capabilities. The smaller you can keep these little languages, the better.

But, this means you will get more things like regex as a little language. Format strings. Basic workflow validation programs. Not full programming interfaces.

Re:Why most of us won't be inventing little languages by ssivark on Monday April 17, 2023 @12:05PM (#35602747)
Completely agree that every program (domain model) is in essence a little language.

But I don’t follow your comment about bugs corresponding to when programmers don’t stay within the reduction. Do you mean simply that every “bug” is (literally) a misunderstanding of the domain semantics , or are you making a stronger/constructive statement?

Re:Why most of us won't be inventing little languages by taeric on Monday April 17, 2023 @12:24PM (#35602997)
Apologies, I was not trying to say all bugs. But it is not surprising to find bugs in code when someone pulls in new libraries/functions/whatever to a piece of code. More so if it ships out any data to use those things.
Re:Why most of us won't be inventing little languages by Izkata on Monday April 17, 2023 @08:15PM (#35608385)
> Completely agree that every program (domain model) is in essence a little language.

You almost called them by name: domain-specific language(s).