Old Habits

For the record, it turns out C++ fixed the inconsistency in C of forward-declared functions taking no parameters possibly allowing parameters to be passed. But I still declare those functions and class methods with a (void) parameter list anyway.

Old habits die hard.

old-habits

Reference.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.