That is the case for single file projects. In this case, it's just more code to maintain.
However, in multi file projects this is necessary to allow different files access to the functions declared in other files.
Oh. It is also easier to read a class that has its method definitions outside of it.