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

My first language is python and I code in Racket in my spare time. I found going through the little schemer taught me recursion. Once I got it in Racket, it was easy to figure out how to do it in Python.

Also being forced to read the docs b/c there are not as many YouTube videos and stack overflow answers has been great to get over my fear of doing that in python.

Lastly not having a specific library requiring you to develop more of the code from scratch, has helped me think about how to tackle harder problems on my own.

Some helpful tips for a beginner in Racket.

1. The Racket discord is very helpful

2. If you are having trouble debugging an error in Racket, and it isn’t giving you a specific line number. Try racket -l errortrace -t my-program.rkt

3. Racket has a vscode plugin called Magic Racket

4. Drracket’s syntax highlighting leaves a lot to be desired, but you can change what gets highlighted to a high degree of granularity in it’s settings



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

Search: