Re:Comparing Parallel Rust and C++
by leotaku on Thursday November 07, 2019 @11:12AM
(#21474464)
I personally much prefer the smaller "fn" to "function". I started learning programming with python's "def", so maybe it comes from that.
[ Parent
| on HN ]
def is way better than fn. you can read def at least.
Read def? What the point of that? You might say "def" when you see it, but you think of the concept of a function. You should be translating fn to "function" in your head or if you speak it out loud, the same way you say "plus" when you see +. How do you "read" + otherwise? It's the same for every mathematical symbol, since there is no actual way to read them, since they communicate a concept that you most likely translate into your own language in your head.