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.

Introducing ClojureScript

81 pointsby abpalmost 14 years ago

5 comments

sirnalmost 14 years ago
The best thing with the introduction of ClojureScript, at least for web applications, is that we can now write the whole application in Clojure without context switches. Gaka for CSS, ClojureScript for JavaScript, Hiccup for HTML and Clojure for everything else. Possibly someone could design a form validation library that validates both server side and client side with the same code. Love the possibility being presented here.
评论 #2798437 未加载
评论 #2797385 未加载
DanielRibeiroalmost 14 years ago
Great Introduction! It is nice how this project makes the point that <i>"JS is Assembly Language for the Web"</i>[1][2]<p>[1] <a href="http://news.ycombinator.com/item?id=2783060" rel="nofollow">http://news.ycombinator.com/item?id=2783060</a><p>[2] <a href="http://www.hanselman.com/blog/JavaScriptisAssemblyLanguagefortheWebPart2MadnessorjustInsanity.aspx" rel="nofollow">http://www.hanselman.com/blog/JavaScriptisAssemblyLanguagefo...</a>
ericmoritzalmost 14 years ago
Unless I'm doing something wrong, they need to do some optimizations to code size if this is going to be used client side nearly 30k is a lot of overhead for a function that returns "Hello, world!"<p><a href="http://pastebin.com/P5MTvP5Q" rel="nofollow">http://pastebin.com/P5MTvP5Q</a>
评论 #2796026 未加载
评论 #2796021 未加载
krosaenalmost 14 years ago
"""ClojureScript also makes use of the Google Closure library for capabilities such as event handling, DOM manipulation, and user interface widgets."""<p>Kinda wished they had stopped at the language and left the DOM out of it.<p>Still, very cool.
评论 #2798531 未加载
cdcarteralmost 14 years ago
Now that this one is done, I'm going to get started on COBOLScript!