Hacker News new | past | comments | ask | show | jobs | submit login

I’m not really sure what you mean. Both prefix and infix if are both based on natural language conventions. So, for that matter, is reading code from left to right and any other number of patterns.

The infix if form is as if not more readable than the prefix if in cases where only a single statement is guarded.

I mean we could code without any pesky natural language at all by using some kind of lambda calculus with de Bruijn indices, but I think most people would find that considerably less readable.




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

Search: