Oh, I just remembered two other reasons for that:

1) Performance: If you do not have variable arguments you have to implement if/else switches that cost cpu cycles. Also the AVM needs to create array instances for a variable argument length to implement just switches. 2) Documentation & auto completion: If the logic varies for different arguments it can be clearly documented and the documentation as well as the type checks still work.

yours
Martin.

Reply via email to