• nous@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 days ago

    TBH I would not use a duplicate code detector at all. That would solve the problem. I tend to find excessive deduplication to be a bigger problem then have some unnecessary duplication.

    If you need a tool to find duplicate code you are probably down the route of excess. They only really time you need to deduplicate code is when it causes a problem for maintenance. Then it is typically trivially easy to find it without a special tool.