top | item 7937746

(no title)

yeahbutbut | 11 years ago

> "Let's make a function that has the side effect of introducing variables into scope. That's a great idea."

And ``let'' is? ;-)

Doing a (let [request] (check-auth ...)) would be equally dumb. Let's not blame the tools.

discuss

order

jsn|11 years ago

That's not not how 'let' works, you can't do that with 'let'. You most definitely should blame the tools here.

yeahbutbut|11 years ago

You're right, let is a macro so you can't pass binding forms from a variable, my mistake. But surely Scheme has some function for binding variables to the local scope...

My point is that trusting user input is the error, not having the ability to play with the scope.