|
|
|
|
|
by shrimp_emoji
836 days ago
|
|
> doing anything else is fighting against the environment Video game programming, where performance really matters, is a great way to see the cost of forcing the hardware to deal with human abstractions (mainly OOP). Rules like "never have a Boolean in a struct" or "an array with linear access can be faster than a tree with log access" wake you up to the reality of the hardware. :p In academia, and the especially academic, utopian realm of functional programming, you're trained to live in dreamland. If you can afford it, though, hey, it's a nice place to be. |
|
OO outside of contexts where every little bit of performance matters suffers in exactly the exact same way.
> If you can afford it, though, hey, it's a nice place to be.
No arguments there! A huge majority of applications can afford to be written this way, even ones where performance is a concern (WhatApp, for example).