←back to thread

7 points _Crownwell | 2 comments | | HN request time: 0.513s | source
1. blackbear_ ◴[] No.44463505[source]
Maybe controversial, but if you already know how to program then doing a small project with a LLM is the fastest and most efficient way. Ask it to implement something, then go read the documentation to understand what is going on. After you got the hang of it, try to implement something yourself and ask the LLM to rewrite it in an idiomatic way.

This worked for me after several failed attempts at learning Clojure in the pre-LLM era, when I had to spend ten minutes googling for things for every minute of actual coding. It's a fantastic way to quickly get a hold of the most common library functions and patterns.

And for those who say that LLMs aren't perfect or can't be trusted: who cares. At this stage just focus on being able to stand on your own, only then work on perfecting the craft.

replies(1): >>44470199 #
2. holden_nelson ◴[] No.44470199[source]
This is the way. I’m learning Haskell right now like this kind of. I’m reading through a book, coding examples and exploring further as I go, and using an LLM to fill in the gaps / parse the esoteric compiler errors. It’s insanely efficient.