• marcos@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    Oh, I was fearing we worked together, so I just went to check one of my workplace’s megaviews. But no, it’s 448 lines.

    I wrote its first version a few years ago, with less than 100 lines, then I rewrote it with common subqueries so it could be actually maintained. It was much larger by that point. Later I removed some of the ambiguous (and subtly bugged) subqueries and rewrite it to use only about half of them. Looks like I need to do something about it again.

    My consolation is that I’m not the one maintaining it.