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.

Elements of Programming (2019)

153 pointsby jabajabadualmost 3 years ago

4 comments

sicp-enjoyeralmost 3 years ago
This is a great book.<p>This wasn&#x27;t mentioned in the past thread. Alex presents his ideas in my forms. This one happens to be the most terse and mathematical. That can be good, but I think &quot;From Mathematics to Generic Programming&quot; is much more generally approachable.<p>One practical skill that&#x27;s shown well in this book is writing functions that solve the easiest or special cases, and then layering those into general functions which ensure the preconditions for applying one of those special cases are met. It makes very readable code, and anytime a user of the code knows they have a special case, they can assert it and use the special one for some performance advantages.
评论 #32463803 未加载
评论 #32460487 未加载
评论 #32462108 未加载
keewee7almost 3 years ago
This book proved that C++ code can be elegant and beautiful.
评论 #32462953 未加载
评论 #32462877 未加载
florgalmost 3 years ago
See also a previous discussion of the book: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20437347" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=20437347</a>
_HMCB_almost 3 years ago
Great find. Thanks.