But C++ was never really all that great at OO. Virtual methods were its only real dispatching system. Almost no metadata available. 3/11
I.e., preventing raw access to your dynamic array, lest someone forgets to keep the internal count fresh.
-
-
In that way, UFCS bothers me as it removes subtle queues about what a function can do or what access it has.
-
Unless you don't bother with privacy, but at that point you're just back at C and may as well just use function syntax.
- Näytä vastaukset
Uusi keskustelu -
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.