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.

Tutorial: Zero to Sixty in Racket

91 pointsby Learn2winalmost 9 years ago

5 comments

spinningarrowalmost 9 years ago
I have barely any Racket experience, but this sounds really good to me:<p>&quot;My favorite part of Racket is how it supports a certain development style of evolving scripts into programs […] I transition from &quot;no code&quot; to &quot;working code&quot; to &quot;robust code&quot; to &quot;re-usable code&quot;, the program is almost always runnable.&quot;
评论 #12314749 未加载
cubanoalmost 9 years ago
Here is the same project, done in PHP in less then 5 minutes...<p><pre><code> $split_by_whitespace = explode(file_get_contents(&#x27;exaample.txt&#x27;),&quot; &quot;); $circular = array(); for ($i=0;$i&lt;count($split_by_whitespace);$i++) { array_push(array_shift($split_by_whitespace)); $circular[]=$split_by_whitespace; } sort($circular); print_f($circular); </code></pre> While I am sure there a lot of interesting use cases for Racket, but when it comes to processing array data, I&#x27;ll take PHP everytime.
评论 #12315691 未加载
评论 #12316845 未加载
WillPostForFoodalmost 9 years ago
I really like Racket, but I wish there was more community and support around it outside the educational world.
eorge_galmost 9 years ago
Great to see Northeastern&#x27;s computer science program represented on Hacker News
pbwalmost 9 years ago
Does he use the symbol for lambda without saying how to type it or whether there&#x27;s an ascii equivalent like &quot;lambda&quot;?
评论 #12334930 未加载