• unmagical@lemmy.ml
    link
    fedilink
    arrow-up
    22
    arrow-down
    1
    ·
    1 month ago

    I, uh, hate that radius calculation. Why does the radius need to be reactive? What do you stand to gain over just setting to like 3 or 4px and moving on with your life?

        • tapdattl@lemmy.world
          link
          fedilink
          arrow-up
          19
          ·
          1 month ago

          He did

          […] Why does the radius need to be reactive? What do you stand to gain over just setting to like 3 or 4px and moving on with your life?

          Junior webdev points

          AKA you gain nothing.

          • unmagical@lemmy.ml
            link
            fedilink
            arrow-up
            23
            ·
            1 month ago

            Oof, I might have wooshed there. Totally read that comment as criticizing my inquiry as things a Jr would ask and not as the implementation being “look what I as a Jr can do!”

    • pcouy@lemmy.pierre-couy.frOP
      link
      fedilink
      arrow-up
      3
      ·
      30 days ago

      I’m not sure how this relates to the shared post. I’m just searched the article for “radius” and only found one example where a variable is defined then used later. Were you talking about this ? Or can you clarify what “radius calculation” you hate ?