从第一性原理学习 ClojureScript [视频]
ClojureScript from First Principles [video]

原始链接: https://www.youtube.com/watch?v=An-ImWVppNQ

关于 新闻 版权 联系我们 创作者 广告 开发者 条款 隐私权政策和安全 YouTube 使用方式 测试新功能 © 2025 Google LLC

This Hacker News thread discusses a ClojureScript video and the challenges and benefits of using the language for front-end development. A key point raised is the difficulty of attaching a REPL to a production ClojureScript build for debugging, due to optimization tradeoffs. Several users highlighted the advantages of ClojureScript, including its pleasant development experience compared to native JavaScript, its integration with React, and the power of REPL-driven development. Some argue that the REPL approach has limitations when dealing with the deeply effectful nature of UIs. Frameworks like re-frame, which promote pure functions for event handling and effects, are mentioned as solutions. The conversation touches upon tooling for visualizing state and potential improvements in interactive development environments. The thread also notes the transition away from the Google Closure Library, with ClojureScript forking the library to maintain compatibility and avoid breaking changes. Finally, one user recommends Hyperfiddle's Electric Clojure as a "next react" that seamlessly handles client-server communication with one function that spans both sites.
相关文章
联系我们 contact @ memedata.com