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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

A Functional Introduction To Computer Science

188 点作者 debanjan16将近 2 年前

10 条评论

cubefox将近 2 年前
This is a very mathematically inspired introduction, as they say in the initial chapter.<p>What I would like to see is a <i>logical</i> introduction to computer science, or at least theoretical computer science.<p>Start with combinational logic [1], i.e. with Boolean circuits. They are both conceptually simple and relatively close to physical transistors, unlike any functional &#x2F; mathematical approach. Then move on to sequential logic[2] which allows the introduction of memory&#x2F;states, e.g. via flip-flops. From this, more complex circuits and even a primitive GOTO language would be introduced. What I would be interested in is how these circuits relate to the traditional models of computation, i.e. finite state machines, pushdown automatons and Turing machines. Not very cleanly, I suspect.<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Combinational_logic" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Combinational_logic</a><p>[2] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Sequential_logic" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Sequential_logic</a>
评论 #36561886 未加载
评论 #36560416 未加载
评论 #36561559 未加载
评论 #36560660 未加载
评论 #36562903 未加载
wk_end将近 2 年前
Don&#x27;t miss Part II [0], which (not to discount the quality of Part I) is much less elementary and much more interesting.<p>[0] <a href="https:&#x2F;&#x2F;cs.uwaterloo.ca&#x2F;~plragde&#x2F;flane&#x2F;FICS2&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;cs.uwaterloo.ca&#x2F;~plragde&#x2F;flane&#x2F;FICS2&#x2F;</a>
tralarpa将近 2 年前
Oh, they are using Racket. I really love that language. I think it&#x27;s also great that they explain how to work with structures, instead of going the &quot;everything is a list&quot; aproach (the latter is, in my opinion, better suited for advanced students).<p>Unfortunately, I haven&#x27;t managed yet to integrate Racket into my daily work. The last time I tried to use it, the resulting (manually optimized) compiled code was as slow as an unoptimized python solution and 10x slower than a manually optimized Java version.
评论 #36560267 未加载
评论 #36560113 未加载
asicsp将近 2 年前
See also &quot;Teach yourself Computer Science functionally&quot;<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36312603">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=36312603</a> <i>(315 points | 18 days ago | 99 comments)</i>
genericuser256将近 2 年前
This was a really fantastic course, good intro to the principles of recursion and fundamentals of CS
kingkongjaffa将近 2 年前
How to Design Programs is also an intro to programming using Racket as the teaching language <a href="https:&#x2F;&#x2F;htdp.org&#x2F;2023-5-12&#x2F;Book&#x2F;index.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;htdp.org&#x2F;2023-5-12&#x2F;Book&#x2F;index.html</a>
s-zeng将近 2 年前
Ragde is an excellent CS prof. I really enjoyed the functional approach Waterloo takes in first year CS, especially in the optional more advanced version of the course where they go a lot deeper into the math connections and interpreters
评论 #36561500 未加载
amelius将近 2 年前
Can this be considered a modern version of SICP?<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Structure_and_Interpretation_of_Computer_Programs" rel="nofollow noreferrer">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Structure_and_Interpretation_o...</a>
评论 #36561299 未加载
josefrichter将近 2 年前
Oh God, wish I had this when I first started.
yungporko将近 2 年前
this seems like a great resource, thanks for posting.