sketerpot comments on Computer Science and Programming: Links and Resources - Less Wrong

29 Post author: XiXiDu 29 May 2012 01:17PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (47)

You are viewing a single comment's thread. Show more comments above.

Comment author: sketerpot 30 May 2012 05:45:47AM *  5 points [-]

As written, that wouldn't actually upvote anything; it would evaluate the variables upvote and arundel-post and build a cons cell containing them, which would serve as the value of the expression. Since we're talking scheme, functions called for their side-effects customarily end with an exclamation mark. I would write something like this:

(upvote! arundel-post)

Here endeth the extreme pedantry! And now, before I forget, I'm going to go upvote the post instead of just talking about upvoting it.

Comment author: shokwave 30 May 2012 07:39:15AM 1 point [-]

So, when the Little Schemer told me to cons some cake onto my face...

I get to have my cake and eat it too?