If anything, it seems like modern C++'s embracing functional techniques means (possibly) more successful OO than before. 4/11
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.
-
You don't lose privacy in a functional language. Local variables in a function returning a function, for example (see JS.)
- 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.