Why put private fields and methods at the top of class?
It stems from the days when you had to declare everything—that includes functions as well as variables—before you could use them. The internal (private) variables and functions went at the top of the file and the external (public) functions went at the bottom of the file. This meant that the public functions could reference the … Read more