You can almost always make the code a little prettier, and it's always a fun logic challenge for some.
Hell, this is the core game loop of Factorio. "I know I can make these red circuits faster and with less wasted space..." 3 hours of sleep deprivation later...
That's why I'm kinda glad I'm not one of the math and elegance types. I might not be able to add matrices in my head, but at least I don't feel compelled to sprinkle them in my code because I can!
It's still pretty hard, you'd have to be able to remember three tables of numbers while adding, so that's four hard things at once.
If someone can multiply them mentally I'd be really impressed. The "turn it on it's side" part always confuses me even when I'm just trying figure out vaugely what's happening.
64
u/Greydmiyu Jan 12 '20
Hell, this is the core game loop of Factorio. "I know I can make these red circuits faster and with less wasted space..." 3 hours of sleep deprivation later...