• mmddmm@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    On the context of a node package, I’m pretty sure that “solution” is utterly worthless and doesn’t come even close to targeting the same functionality the old code had.

    But odds are the one place the library author used that function can be replaced by a completely different functionality that happens to use the suggestion.

    • deadbeef79000@lemmy.nz
      link
      fedilink
      arrow-up
      6
      ·
      1 day ago

      On the context of a node package,

      It’s probably a package with one five line function, and a poor implementation at that.