3 ms·
> does let you pick and choose which parts you want to use Isn't that the case for most programming languages (ie, you can use the implementation you want/need
by spoiler 3y ago
> does let you pick and choose which parts you want to use
Isn't that the case for most programming languages (ie, you can use the implementation you want/need), though?
- vidarh 3y agoNot to the extent of C++. E.g. you can't opt out of dynamic dispatch overhead in Ruby, because everything is method passing, but "virtual" in C++ is a choice. The commitment to ensure that features do not add cost(memory, runtime) if you don't use them is something fairly uncommon in other languages, and many languages have features you can't meaningfully avoid.