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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Lessons learned after working one year as a Common Lisp Developer (2018)

194 点作者 xept超过 3 年前

6 条评论

xept超过 3 年前
This is &quot;The Good&quot; part of the lessons. There&#x27;s also &quot;The Bad&quot; one: <a href="https:&#x2F;&#x2F;cdagostino.io&#x2F;posts&#x2F;2018-03-28-one-year-common-lisp-developer-part-2-the-bad.html" rel="nofollow">https:&#x2F;&#x2F;cdagostino.io&#x2F;posts&#x2F;2018-03-28-one-year-common-lisp-...</a>
评论 #29508463 未加载
taeric超过 3 年前
I&#x27;m doing this year&#x27;s advent of code with literate org-mode buffers using common lisp. Been a surprising amount of fun. And I&#x27;m coming around to the idea that the loop macro is where most languages are ultimately converging.<p>That and format. Which is remarkable. Certainly dense, but in a &quot;this code is clearly responsible for making a string of that list, serves no other purpose.&quot; Something lacking in basically every other language, where a depressing amount of coffee exists simply to make a string of a list of objects. (Amusing, as Java finally got streams, which can look like LOOP, but with more periods. And probably more parens...)
评论 #29507400 未加载
评论 #29508170 未加载
评论 #29509055 未加载
gleenn超过 3 年前
I find it fascinating that the author was forced to learn CL because there were no jobs in Haskell. I believe him, but as a Clojure developer, I find it very hard to find a lot of jobs in any functional language, especially lisps. They exist, but I just don&#x27;t see a lot of good ones. Someone tell me I&#x27;m crazy.
评论 #29507341 未加载
评论 #29507107 未加载
评论 #29509788 未加载
isoprophlex超过 3 年前
So... I want to like Lisp, and every time I read stories like these I understand why people enjoy it.<p>But then I see a code snippet, something like this manual datetime string parser. Apparently the programmer needed to roll their own, and I wonder: how on earth am I going to convince my corpo overlords that this language belongs anywhere near a production system?<p><pre><code> (let ((year (parse-integer string :start 0 :end 4)) (month (parse-integer string :start 6 :end 7)) (day (parse-integer string :start 9 :end 10))) (- (+ (\* year 31556926) ;; no. of seconds in a year (\* month 2629743) ;; no. of seconds in a month (\* day 86400)) ;; no. of seconds in a day (\* 1900 31556926)))) ;; lisp timestamps start at 1900</code></pre>
评论 #29508292 未加载
评论 #29507418 未加载
评论 #29510906 未加载
评论 #29508039 未加载
评论 #29507993 未加载
评论 #29507157 未加载
评论 #29508404 未加载
评论 #29507168 未加载
评论 #29507135 未加载
评论 #29511100 未加载
评论 #29509586 未加载
TheGrkIntrprtr超过 3 年前
This book containing interviews with Common Lisp hackers is pretty interesting. <a href="https:&#x2F;&#x2F;leanpub.com&#x2F;lisphackers" rel="nofollow">https:&#x2F;&#x2F;leanpub.com&#x2F;lisphackers</a><p>I believe the author worked at grammarly, using CL. Would be nice if he wrote an updated version!
ir193超过 3 年前
I&#x27;ve seen a lot posts saying condition system in common lisp is unmatched. is there similar thing in scheme?
评论 #29510792 未加载
评论 #29508067 未加载