david wrote: > > What's the alternative proposed for C++? >=20 > Free functions at namespace scope. The analogy would be module-level > functions in Python. C++ also has multiple string types, but the > availability of overloading makes this approach practical it works pretty well in Python too, of course: the string module delegates to object methods for all functions; e.g. "string.join()" uses the "join" implementation method to do the actual work, just like "len()" uses "__len__" (etc). </F>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4