Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm foraying into the lisp land for the first time with SICP, and the one thing that bothers me the most is that Scheme is so hard to debug. As a Python programmer who is used to just used to print debugging, this becomes very frustrating very early on.


What's preventing you from print debugging in Scheme? For convenience, I almost always define something like this:

    (define (println . args)
      (for-each (lambda (arg)
                  (display arg)
                  (display " "))
                args)
      (newline))




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: