top | item 16426780 (no title) Divver | 8 years 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... discuss order hn newest krylon|8 years ago > 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. Divver|8 years ago 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.
krylon|8 years ago > 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. Divver|8 years ago 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.
Divver|8 years ago 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.
krylon|8 years ago
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.
Divver|8 years ago
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.