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.

Debugging Lisp Part 1: Recompilation

88 pointsby raphaelssalmost 10 years ago

2 comments

pavelludiqalmost 10 years ago
On more than one occation when writing web code I found myself in the debugger in the middle of a request handler. The browser just sits there waiting for a response. I found the bug and restarted the handler before the browser time-outed. The browser recieved the response as if a bug never existed. Of course this only works if you can find and fix a bug in under 120 seconds :)
bainsfatheralmost 10 years ago
As a non-lisp user, this {easy-debug -&gt; fix -&gt; resume program} appears to be extremely useful, and something that only lisp offers.<p>e.g. wading through clojure stack traces seems very primitive in comparison.<p>How important is it in practice? Can&#x2F;could other languages do this?<p>As an outsider looking at new (to me) languages, it&#x27;s hard to judge what the pros and cons of a language are - especially the cons - e.g. several years ago, when looking at clojure, it took a lot of searching before I concluded that clojure did <i>not</i> have this feature (maybe that has changed now?). Meanwhile the &#x27;learn language x&#x27; books always seem to focus only on syntax, rather than workflow.
评论 #9852340 未加载
评论 #9852546 未加载
评论 #9855086 未加载