Hi,
What are the drawbacks for not having separate keyword for method, something like meth or method, Why func for method?, is it not simple enough to address method with same name for supporting readability and clarity of intent
Thanks,
Saurabh
Hi,
What are the drawbacks for not having separate keyword for method, something like meth or method, Why func for method?, is it not simple enough to address method with same name for supporting readability and clarity of intent
Thanks,
Saurabh
It is similar to using "let" and "var" for members. The reason of this reuse (for very similar things) – is to keep the number of keywords small.