• Snarwin@fedia.io
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    Well, remember, a code smell isn’t something that’s inherently bad, it’s “a hint that something might be wrong”.

    I’m not saying that anyone should flag lambdas as a problem in code review, just that when you see one, it’s probably worth taking a second to ask yourself if a named function would make more sense.