• CptKrkIsClmbngThMntn [any]@hexbear.net
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    I think this is accurate on a larger scale, but I’ll often do things like breaking up a large chain of methods with an interim variable just for readability. A few lines of simple math is better than one line of bit shifting wizardry that does the same thing but doesn’t show the semantic meaning of the operation.

    • Buttons@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I agree. 100 lines of code may be 3x better than 300 lines of code, but 1 line of code isn’t 3x better than 3 lines of code.