Live data from Hacker News

A Friendly Introduction to Racket

geometridae.bearblog.dev

31–40 of 195 posts

Re: A Friendly Introduction to Racket

#32

Earlier quoted context omitted.

wasn't Caine written in common lisp? Pretty sure they show that the debugger they used in the command line was gdb (which ... is that even actually possible?)

Yep, `/usr/bin/gdb /usr/local/bin/clisp 1337` ... also in TADC lore, windows has forward slashes.

Windows has allowed forward slashes for directory separators for a long time. Seems like maybe it started with DOS 2.0.

https://en.wikipedia.org/wiki/Backslash#Filenames

Re: A Friendly Introduction to Racket

#33

Earlier quoted context omitted.

It is rich with information, to the point, and presented in a way that a motivated and competent reader can immediately know something about and be useful with racket. That’s how it was for me anyways; someone who didn’t know anything about racket before reading through this. Wtf kind of intro to a programming language doesn’t include syntax rules? We are all informed, experienced, technologically inclined people her…

> Wtf kind of intro to a programming language doesn’t include syntax rules? PP could have been more clear and say syntax-rules (note the dash), which means macros. Macros are usually considered an advanced topic.

Thanks for the clarification! It makes much more sense seeing the term "macro".

Re: A Friendly Introduction to Racket

#34
post #11

Much as I am a fan of Racket, this is not a friendly intro. It is a speedrun. When an introduction says “friendly”, I don’t expect it to assume that I know what lambda is. When an introduction says “friendly”, I don’t expect syntax rules to appear in it. At all.

When I see "friendly introduction," I don't expect to see a deadhead sticker front and center. But I guess if you're an actual Deadhead it's not that startling. ;-)

TBF, deadheads are pretty friendly (just stay away from the Nitrous Mafia) LOL.

Re: A Friendly Introduction to Racket

#35
post #11

Much as I am a fan of Racket, this is not a friendly intro. It is a speedrun. When an introduction says “friendly”, I don’t expect it to assume that I know what lambda is. When an introduction says “friendly”, I don’t expect syntax rules to appear in it. At all.

not to mention a skull? is it a racket thing (or lisp in general thing) to spoof the grateful dead logo?

Re: A Friendly Introduction to Racket

#36

> no special syntax for anything. (list '(1. . #\#) -5/6+7.s-8i `(1 ,@2) 1@1 ;hmmm, no unquote splicing comma ;-) 10# ;surprised? (list #i+1 +1i 1+i) ;complicated or complex? #e-1e10i ;Old MacDonald? "(* 9 10)" #())

It looks more like a "program" for an HP15c pocket scientific calculator.

Not necessarily a bad thing but also not exactly what I would call "expressive".

You may be able to build anything you want --- which may be efficient when communicating with the machine. But I wonder about now well this would communicate with other programmers.

Re: A Friendly Introduction to Racket

#40
post #5
post #2

any time the topic of racket comes up, i wonder if there are any interesting apps i could explore. but all i find is libraries and dev tools: https://awesome-racket.com/

it's an academic language

We used it in the course I had that introduced functional programming. The only memorable thing I can remember writing in it for that class was a topological sort (I believe).
Post reply on HN