Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm sorry but if every programming language out there uses ?: then that's not ambiguous at all.


Perhaps he meant the ambiguity of parsing?


Indeed, and not just for the compiler's parser. I don't believe that Algol-family syntax is the best representation for source code. Nor do I believe that of S-expressions. I believe it's possible to produce a consistent syntax that's understandable and maintainable (and linguistically justifiable) for a modestly skilled practitioner of the art.

Internal consistency of Perl 6 is more important -- even to novices learning the language -- than consistency with other languages, even Perl 5. Many of the linguistic and syntactic quirks of Perl 5 came from other languages. Not all -- but many.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: