• CptKrkIsClmbngThMntn [any]
    ·
    10 months 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
      ·
      10 months 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.