Better HN
topnewbestaskshowjobs
Log inSign up

zqlark

2 karma · joined Aug 2, 2022 (4y ago) · 2 submissions

Submissions

comment 4y ago · link · parent

Agreed. Unintentional ambiguities are a problem of PEG parsers. Ironically, the old Python parser also failed to detect ambiguities.

There is a strong aversion in the Python space for unambiguous formalisms. A parser that resolves ambiguities by earliest match first seems to satisfy the dynamic mindset.

comment 4y ago · link · parent

Indeed. Most Python code bases I have seen are maxing out all obscure features like those in the article. In practice, Python today is one of the most unreadable languages in existence.