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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Codeworld: An open-source educational programming environment using Haskell

73 点作者 cnbuff410将近 11 年前

4 条评论

drcode将近 11 年前
Wow, this is very impressive- Very clean, Haskell-like code in the programming examples. I&#x27;m still looking for the right tool to get my young daughter started on programming, and this is probably the best option I&#x27;ve seen so far (gotta start &#x27;em early with that Hindley-Milner type inference :-)<p>The main weaknesses I see are (1) the sample programs are all 20+ LOC long... a young child doesn&#x27;t want to write more than ONE line of code without a meaningful result. (2) The syntax is so unforgiving... I think the ideal tool for learning programming would follow the mantra &quot;do what I mean not what I say&quot; and fill in gaps to generate a result (sort of like how web browsers will go to great lengths to render even the most flawed html.)<p>These are not really limitations in your software, just additional enhancements that could be added to your software that would really make it shine!
评论 #8188661 未加载
评论 #8188378 未加载
评论 #8192954 未加载
评论 #8189352 未加载
bjz_将近 11 年前
It&#x27;s interesting to see that the drawing functions are defined using tupled parameters: <a href="https://github.com/google/codeworld/blob/master/codeworld-base/Internal/Picture.hs#L139" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;google&#x2F;codeworld&#x2F;blob&#x2F;master&#x2F;codeworld-ba...</a><p>Is this to make it easier for beginners?
评论 #8192977 未加载
pathikrit将近 11 年前
Reminds me of Elm: <a href="http://elm-lang.org/" rel="nofollow">http:&#x2F;&#x2F;elm-lang.org&#x2F;</a> Example: <a href="http://elm-lang.org/edit/examples/Intermediate/Pong.elm" rel="nofollow">http:&#x2F;&#x2F;elm-lang.org&#x2F;edit&#x2F;examples&#x2F;Intermediate&#x2F;Pong.elm</a>
kp25将近 11 年前
Amazing stuff to dive into Haskell..<p>Wish there exists a similar environment for other languages like Python, Javascript.