Overloading

    That is, you can have different methods with the same name and different number of parameters and they will be considered as separate methods. This is called method overloading.

    For example, we can define four different methods:

    In generated documentation the dummy method will always appear, regardless of you writing it or not.

    However, the compiler cannot always figure out the order because there isn’t always a total ordering, so it’s always better to put less restrictive methods at the end.