I don't agree with the special syntax being based on funcs that happen to use the word call. If I were designing an API, special cases like this would be a definite code smell, and I believe the same here. A consistently designed solution would be either:
- A attribute like
@callableapplied to a function you want special syntax on, which would discard all param names - All functions are also implicitly callable, so no keyword required
- An entirely different spelling, like
func _,func(, orfunc self(.
func + call together is poor API design.