• Coldus12@reddthat.com
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    5 months ago

    In what world? 1k lines is a lot… Even a few hundred can take hours if everything is unknown, code is legacy, and naming is bad.

    Like if there is a line like this memcpy(ptr, src, 4 * 6 * sizeof(real));

    • What’s that 4?

    • What’s that 6?

    • Is real a float? A double?? What are we copying, where, why???

    This is a line I saw recently. 1k code is huge even if readable.