Yeah, I wonder the same. After all making a programming language derived from a real language and not using the "features" of said language seems lacking.
In fact it should be "función", that way it would not matter whether you are writing code or documentation.