Hacker News new | ask | show | jobs
by Divver 3039 days ago
As a side note,

Scheme and parenthesis hell when writing code on the midterms....

Also car caar cdr cddr etc etc (you can theoretically nest as deeply as needed)

hahaha that class...

1 comments

> Scheme and parenthesis hell when writing code on the midterms....

Writing code on paper sucks in many (all?) languages. At least the ones I have tried. Python might actually have an advantage on that front, Haskell, too.

Yeah I agree with you.

But scheme especially when you have code like this:

(letrec ((even? (lambda (n) (if (zero? n) #t (odd? (- n 1))))) (odd? (lambda (n) (if (zero? n) #f (even? (- n 1)))))) (even? 88))

The level of nesting can get rediculous.

Writing that on a midterm is harder than Python or java.

I’d say Python is nicest when writing out code.