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.
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.