• @[email protected]
    link
    fedilink
    1129 days ago

    You know we’ve reached peak bloat and stupidity when JavaScript web apps have a compilation step, and I don’t mean JIT.

      • NoSpotOfGround
        link
        fedilink
        429 days ago

        Except… the compilation step doesn’t add type safety to JS.

        As an aside, type safety hasn’t been something I truly miss in JS, despite how often it’s mentioned.

          • NoSpotOfGround
            link
            fedilink
            228 days ago

            Ok, that could be true. I assumed they meant the “building” phase that some frameworks go through.

    • @[email protected]
      link
      fedilink
      128 days ago

      If the goal is to not have apps be too large, you probably don’t want to send the full variable and function names and all of the comments over the wire every time someone loads a webpage. That would be a very inefficient use of bandwidth, wouldn’t it?

        • @[email protected]
          link
          fedilink
          English
          127 days ago

          I guess it’s easier and safer to make a string replace for each function name beforehand than hoping the compression algorithm will figure that out.

          Also, as SpaceCowboy points out, comments are completely useless for the final web page. There’s no need to even compress them.