• 0 Posts
  • 9 Comments
Joined 2 years ago
cake
Cake day: July 24th, 2023

help-circle

  • This, unfortunately, means that semicolons are often inserted in places where you were not expecting them

    example:

    ()=>{
      return {k:"v"}; // returns the object
    }
    ()=>{
      return      // returns undefined 
        {k:"v"};  // unreachable 
    }
    

    so the advice is to always include them manually yourself so that you are never unpleasantly surprised.

    The example will be unpleasantly surprising, no matter where you put semicolons.








  • This was not a design consideration when usenet was being developed, because the assumption was all the users would have a name, email, and traceable identity so if you acted like a stupid shit, everyone already knew exactly who you were, where you worked/went to school, and could apply actual real-world social pressure to you to stop being a stupid fuck.

    The first email spammer got a call from the US Air Force Major in charge of ARPANET and nobody send spam for a while. We should have kept doing that.