• pHr34kY@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    edit-2
    1 day ago

    There’s probably a few things you can do live on a call.

    I always wanted to try passing a common function through a minifier then a beautifier. Show them the code with unhelpful variable names, and ask them what name they would give the function.

    A good programmer would be able to identify a string compare function or an IP bitmask eval function pretty quickly.

    • iopq@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      1 day ago

      I probably wouldn’t, because I call a library to do it for me. That’s because I’m not a C programmer and it’s easy to use libraries in other languages since they have package managers that just import all the other packages