TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Rich Hickey on Clojure 1.4's Extensible Reader, ClojureScript

78 点作者 timmy-turner大约 13 年前

3 条评论

nickik大约 13 年前
The Extensible Reader is really the next step in terms of a common extensible data exchange format. Atm everybody builds this himself for his application, this commes with alot of wheel reinvention. Make it extensible is the first step to find out whats most used. People can find each other and creat common abstractions.
gosub大约 13 年前
I can't see the gain of:<p><pre><code> #uuid "550e8400-e29b-41d4-a716-446655440000" </code></pre> over:<p><pre><code> (uuid "550e8400-e29b-41d4-a716-446655440000") </code></pre> The reader already supports it, functions/macro are already namespaced and you still have to parse it anyway.
评论 #3832070 未加载
评论 #3832660 未加载
评论 #3832074 未加载
fogus大约 13 年前
A simple example reading a UUID of the form `#uuid "550e8400-e29b-41d4-a716-446655440000"` is found at <a href="https://github.com/clojure/clojure/blob/master/src/clj/clojure/uuid.clj" rel="nofollow">https://github.com/clojure/clojure/blob/master/src/clj/cloju...</a><p>A much more complex example reading a UTC instant in time like `#inst "2010-11-12T13:14:15.666-06:00"` is found at <a href="https://github.com/clojure/clojure/blob/master/src/clj/clojure/instant.clj" rel="nofollow">https://github.com/clojure/clojure/blob/master/src/clj/cloju...</a>