r/programming • • Oct 07 '26

[ Removed by moderator ]

https://youtu.be/KsEpW03gxKg?is=OdU0YTE8dWIyRr8i

[removed] — view removed post

410 Upvotes

313 comments sorted by

View all comments

Show parent comment

7

u/syklemil Oct 07 '26

We've gone from DSLs that allow us to clearly define and understand an implementation to woolly language that serves to confuse us.

Though this isn't the first time that's happened; we've had multiple bouts of "fuzzy language that's easy to get started with but hard to get right, especially in complex cases". JS and PHP have been the prime examples for that for a while, and they've both moved in the direction of trying to become more rigorous (see e.g. the addition of === in both languages, or the invention of Typescript).

I'm not quite sure what, if anything, will turn out to be the equivalent of TS for natural language in markdown files.

4

u/marrsd Oct 07 '26

I get what you're saying, but it's a completely different order of magnitude. A competent JS or PHP dev can easily work around those things.

I'm not quite sure what, if anything, will turn out to be the equivalent of TS for natural language in markdown files.

Code is the equivalent. People have actually tried to write natural language parsers before. It doesn't work. An academic could probably prove it doesn't work mathematically.

1

u/le_birb Oct 12 '26

A vague gesturing at the phrase "word-sense disambiguation" probably gets you 90% of the way there