Item 23: Prefer non-member non-friend functions to member functions
Imagine a class for representing web browsers. Among the many functions such a class might offer are those to clear the cache of downloaded elements, clear the history of visited URLs, and remove all cookies from the system:
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.