GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Conversation

Notices

  1. Embed this notice
    Daphne Preston-Kendal (dpk@chaos.social)'s status on Monday, 16-Dec-2024 08:17:42 JST Daphne Preston-Kendal Daphne Preston-Kendal

    Does anyone on or near TC39 know why Brendan Eich’s proposal to adopt sweet.js-style hygienic macros into JS went nowhere? I remember at Strange Loop 2012 he argued that macros would ‘finish’ JavaScript in the sense it would never need any new syntactic features; I can see some posts from three years later where he was still arguing for it

    In conversation about 10 months ago from chaos.social permalink
    • Embed this notice
      Daphne Preston-Kendal (dpk@chaos.social)'s status on Monday, 16-Dec-2024 08:17:38 JST Daphne Preston-Kendal Daphne Preston-Kendal
      in reply to

      Ahead-of-time macro expansion can be expensive performance-wise, and JavaScript has a constraint that’s fairly unique among programming languages: time from getting source code to first execution has to be as small as possible.

      So already there’s a reason to prefer an external system like Sweet.js where code is shipping in pre-macro-expanded form. Unfortunately Sweet.js nor any other language with macros has caught on in this space – probably because front-end developers are wimps ;-)

      In conversation about 10 months ago permalink

      Attachments

      1. Domain not in remote thumbnail source whitelist: cdn2.dan.com
        possible.so - Domain Name For Sale | Dan.com
        from @undeveloped
        I found a great domain name for sale on Dan.com. Check it out!
    • Embed this notice
      Daphne Preston-Kendal (dpk@chaos.social)'s status on Monday, 16-Dec-2024 08:17:39 JST Daphne Preston-Kendal Daphne Preston-Kendal
      in reply to

      Having thought about it some more, I can hazard some guesses.

      In conversation about 10 months ago permalink
      alcinnz repeated this.
    • Embed this notice
      Daphne Preston-Kendal (dpk@chaos.social)'s status on Monday, 16-Dec-2024 08:17:40 JST Daphne Preston-Kendal Daphne Preston-Kendal
      in reply to

      Looking at the proposals that have been accepted since ES6, there aren’t a huge number of syntactic additions anyway (async the only really big one). But ‘decorators’ a la Python are coming down the pipeline, and it’s hard (from a Schemer’s perspective) not to see that as a bad alternative to real macros

      In conversation about 10 months ago permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.