4 ms·
I guess that wasn't clear. I surf methods, not by opening files, but by going directly to the definition or declaration as needed. Sure its in some file, but I
by JoeAltmaier 12y ago
I guess that wasn't clear. I surf methods, not by opening files, but by going directly to the definition or declaration as needed. Sure its in some file, but I deal with 1000 methods and sure don't make any effort to memorize where they are - since its entirely irrelevant to the correctness of the code.
To make it clear: I favor factoring APIs into classes.
- throwawayaway 12y agoI think factoring api's into classes makes a lot of sense too, I think this idea of preferring non member functions undoes a lot of the functionality and team building cohesiveness that C++ offers. It's strange that C++ luminaries like Stepanov, Meyers and Stroustrup favour non member functions.