TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Roll your own JavaScript lambda syntax

14 pointsby _srobertsonover 14 years ago

2 comments

DanielRibeiroover 14 years ago
Coffeescript has a much better syntax. Actually it has two much better syntaxes, one with a common semantics: a closure that captures the value of self (which is the default one in ruby/smalltak/python/scala, etc).
评论 #1988899 未加载
netghostover 14 years ago
Alternatively there is also Oliver Steele's functional javascript which is neat: <a href="http://osteele.com/sources/javascript/functional/" rel="nofollow">http://osteele.com/sources/javascript/functional/</a>