Hacker News new | ask | show | jobs
by nicwest 2140 days ago
I found that learning and writing some Clojure and Go made me think better about the code I was writing in my main language (python).

I enjoyed working through Clojure for the brave and true: https://www.braveclojure.com/clojure-for-the-brave-and-true/

and the go tour is probably the best introduction I've ever had to a language: https://tour.golang.org/welcome/1

4 comments

I can imagine the impact Clojure had; learning about Lisp had a big impact on my programming journey.

What was it about Go that made your Python code better, though?

Go helped me learn about designing good interfaces, and how to write tests using dependency injection rather than just patching stuff out.
This is my recommendation as well, although since you mentioned it, I would throw in SICP as well,

You can work through SICP to help learn Clojure/LISP at the fundamentals level, and then expand out to more practical use cases with the recommendations above.

I came here to suggest these two languages, too. On the other hand, you could focus on building something non-web. A language, a video game, etc.
That's a good idea. It'd probably be great for me to start a non web-app side-project.
Because the syntax alone is already so different it was a great way for me to "re-learn" programming. Even for the very short while I played with it, it really thought me to look further than the default go-to patterns I used to use.