I agree 100%.
I always divide my C++ classes into the following sections:
- member variables
- constructors/destructors
- accessors
- modifiers
- operators
Type: Posts; User: DavidP
I agree 100%.
I always divide my C++ classes into the following sections:
- member variables
- constructors/destructors
- accessors
- modifiers
- operators
I mainly prefer "function" because I like to go back to programming's roots: math. Math has functions.
I also prefer "elegant" rather than "robust". I don't mind robust though. I think it is a...
I once read that a "method" is any member function of a class, and a "function" is any function that is not part of a class. Despite what might define a method or a function, I still despise...
I despise the terms "property" and "method". I think they are the bane of our existence.
I think they should always be referred to as "function" and "member variable".