04-04-2016, 06:41 PM
(04-04-2016, 06:25 PM)A-Man Wrote: So it's performance vs memory. But the latter is usually way more abundant, so storage is what I'd try to stick with as well.Wrong. CPU caches are a thing and because of that using little memory can actually be faster.
For more information: https://www.youtube.com/watch?v=rX0ItVEVjHc and https://www.youtube.com/watch?v=WDIkqP4JbkE.
(04-04-2016, 06:25 PM)A-Man Wrote: What do you think of friends? Now that and encapsulation would be head-to-head in a way.
friend
is iffy at best. Whenever I use it I always feel kinda dirty, with the exception of operator overloading where the non-member variants are preferred.
Age ratings for movies and games (and similar) have never been a good idea.
One can learn a lot from reinventing wheels.
An unsound argument is not the same as an invalid one.
volatile in C++ does not mean thread-safe.
Do not make APIs unnecessarily asynchronous.
Make C++ operator > again
Trump is an idiot.
One can learn a lot from reinventing wheels.
An unsound argument is not the same as an invalid one.
volatile in C++ does not mean thread-safe.
Do not make APIs unnecessarily asynchronous.
Make C++ operator > again
Trump is an idiot.