logoalt Hacker News

maxlohlast Tuesday at 10:53 AM2 repliesview on HN

A backward compatible design would be resolve to user-defined functions first, built-in keywords afterwards.

That way any new keywords won't be a backward incompatible change.


Replies

IshKebablast Tuesday at 12:08 PM

That's a pretty bad design. You don't want users to be able to create functions named as keywords because it will break other code.

willvarfarlast Tuesday at 12:02 PM

if you have a UDF called .until and then this becomes a keyword, does the new 3rd party library you start using that uses the keyword .until still work, and what does the LLM vibe-coded start doing in the future when it makes use of the .until keyword?