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.

Codeworld: An open-source educational programming environment using Haskell

73 pointsby cnbuff410almost 11 years ago

4 comments

drcodealmost 11 years ago
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_almost 11 years ago
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 未加载
pathikritalmost 11 years ago
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>
kp25almost 11 years ago
Amazing stuff to dive into Haskell..<p>Wish there exists a similar environment for other languages like Python, Javascript.