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

I really dislike the choice of `fun` to represent function, `func` is acceptable, `fn` is acceptable, I don't even mind `def` in Python, but `fun` is a widely used english word that is making me do mental gymnastics while reading mint source code.


Walder's Law states that:

      In any language design, the total time spent discussing
      a feature in this list is proportional to two raised to
      the power of its position.
           0. Semantics
           1. Syntax
           2. Lexical syntax
           3. Lexical syntax of comments
In future, I would suggest not nitpicking the most trivial, irrelevant detail of a language's design. Please consider the level of effort it has taken to create this language.


Small details are off-limits to criticism?


Yes


Standard ML uses the keyword fun to declare a function, so it didn't seem unusual to me.


I agree. It is jarring each time I see it. Might be able to get use to it but definitely question the choice.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

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

Search: