最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - What does "syntax tax" mean in respect to the TC39 pipe-operator proposal? - Stack Overflow

programmeradmin1浏览0评论

Reading the ECMAScript TC39 pipe-operator proposal; it mentions "syntax tax" when comparing 2 possible alternatives for the pipe-operator implementation (see #hack-pipes-favor-more-common-expressions).

I interpret this to mean that for example extra syntax is required. E.g. for F#-pipes you need to wrap non-unary functions in a lambda taking a single argument to work. So the "tax" is the added extra syntax that is needed to make that work.

(Perhaps this is more a question of general use of English, and I'm not used to how "tax" is used in other contexts.)

发布评论

评论列表(0)

  1. 暂无评论