Quote Originally Posted by Elysia View Post
I think I see where the confusion stems from... Why couldn't they just make it the same for classes and functions? Silly standard-izers...
But IT IS the same for classes and functions. The function declaration is a prototype - it tells the compiler "there's some function, and it takes some parameters", but nothing about what the function actually does. A function definition, like it's class counterpart, defines what is in the function (what it does).

--
Mats