Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. ∑ XahLee (xahlee@noagendasocial.com)'s status on Sunday, 14-Jan-2018 23:39:34 EST ∑ XahLee ∑ XahLee

    yesterday, i took half a day to convert #javascript object to es2015 Map, for much more proper code. Today, i had to revert it back, cuz apparently lots browser still can't do Map. So i got more angry at these js "compilers" namely #TypeScript etc really fake compilers.

    of course, the industry monkeys will say u should “polyfill”. fill them hindquarters. If u do, the import/require syntax is not even valid es2015 code. Dragging in complex fancy packagers. WTF is comp sci when u need it?

    In conversation Sunday, 14-Jan-2018 23:39:34 EST from noagendasocial.com permalink
    1. lnxw48a1 (lnxw48a1@nu.federati.net)'s status on Sunday, 14-Jan-2018 23:47:13 EST lnxw48a1 lnxw48a1
      in reply to
      @xahlee One reason they do all those things is because the browsers' implementation support is so scattered. I'm not saying they are right, but the alternatives are either 1997-era "this site works best in Internet Explorer 4" buttons or limit functionality to #JavaScript subsets that are broadly supported.

      Or, you know, create sites that mostly work without relying on JS. Has the industry forgotten "progressive enhancement" again?
      In conversation Sunday, 14-Jan-2018 23:47:13 EST from nu.federati.net permalink
      1. ∑ XahLee (xahlee@noagendasocial.com)'s status on Sunday, 14-Jan-2018 23:49:40 EST ∑ XahLee ∑ XahLee
        in reply to

        @lnxw48a1 well, if typescript etc are real compilers, compile es2015 to es5. Things would work.

        am not sure what you mean?

        they don't do that because, to create real compiler, will make their their code, the compiler, much more complex. I think that's primary reason.

        In conversation Sunday, 14-Jan-2018 23:49:40 EST from noagendasocial.com permalink
        1. ∑ XahLee (xahlee@noagendasocial.com)'s status on Sunday, 14-Jan-2018 23:50:14 EST ∑ XahLee ∑ XahLee
          in reply to

          @lnxw48a1 oh, and the result js es5 code won't be line by line similar to the es2015 one.

          In conversation Sunday, 14-Jan-2018 23:50:14 EST from noagendasocial.com permalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.