True, but what if you forget what arguments it takes or what order?
Myself, I cannot remember exactly what or in what order arguments must be passed. But when typing out the function name, I clearly see what the arguments names are and thus I can pass the correct arguments and in order.
It is more of a reminder than actual documentation, but it is very helpful. And sometimes it even makes it so that I do not need to read the documentation.
This is the main purpose of putting names in prototypes according to me. Is that a waste of space?
You do need those prototypes anyway, so copy and paste is easier.
I also take shortcuts with not typing out stuff too, but not at such a point where it becomes unreadable. In my opinion, stripping the names of the parameters in prototypes reduces readability. And therefore, I do not do it.
Usually, readability comes before duplicate / unnecessary code.