Just your typical internet guy with questionable humor

  • 0 Posts
  • 63 Comments
Joined 1 year ago
cake
Cake day: June 22nd, 2023

help-circle












  • Everyone cares way more about the code being legible, the code being fast enough, and the code not using a ton of memory (and even that last one is kind of shrugged off depending on context).

    And then you look at real life and notice that code everywhere is slow, bloated and inefficient. But hey, it’s “legible”! To one or two devs, hopefully.

    The equivalent of your complaint 3mb vs 200mb is like complaining about a person taking a trip to the grocery store

    Terrible analogy. A better equivalent is someone renting a garage to store stuff inside and now, because they have so much space, there’s that urge to fill it, whether it makes sense to or not.

    making things smaller often makes them slower

    It’s usually the other way around. As a rule of thumb, less code = smaller size = faster execution. In theory, 1k lines of code will require less computation, less processing, than 10k.