Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
tel
on Dec 1, 2014
|
parent
|
context
|
favorite
| on:
Functional Programming Patterns
The imperativeness of Racket really doesn't come so much from the *! functions, but instead things like `begin` which explicitly sequence program statements in such a way that only allows them to interact via external mutable state.
taeric
on Dec 1, 2014
[–]
I have a feeling we are on yet different definitions of imperative and such.
(define x 3) (display x) (set! x (add1 x)) (display x)
is about as imperative as they come, by my definition. And not a begin in site.
tel
on Dec 1, 2014
|
parent
[–]
Yeah, there's sort of an implicit begin around the whole thing, though.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: