Skip to content

(Updated ) 9 min read Career

So, You Want To Learn How To Code? Here’s What You Need To Know.

Blog Want to learn how to code? These are my favorite programming books, talks, podcasts, newsletters and websites, plus general tips for getting started.

Amazon links here are affiliate links. Buying through one helps pay the power bill for my 79-container homelab. As an Amazon Associate I earn from qualifying purchases.

TL;DR My big list of favorite books, podcasts, courses, YouTube channels, and conferences for learning to code, plus advice on picking a programming language and getting started.

On this page
  1. First, ask yourself “Why do I want to code?”
  2. Picking the perfect programming language for you
  3. Try a couple of free online courses
  4. Just start building something
  5. Learning to code with AI agents
  6. Other ideas
  7. Websites
  8. Newsletters
  9. Podcasts
  10. Twitch
  11. YouTube
  12. Conferences
  13. Books
  14. Talks

So, you want to learn how to code? Here’s What You Need To Know to get started. This is a list of my favorite programming books, talks, podcasts, newsletters, websites, and general tips for learning more about programming. HMU if you have any additions you want to make to my list!

First, ask yourself “Why do I want to code?”

The field of programming is massive and there are so many different programming languages and things to do with it. Ask yourself, do I want to learn how to make websites? Am I interested in creating robots? Can constructing a neural network for machine learning be my thing? Do I just need to make my boss happy and learn how to make a SharePoint site? Each answer would lead to a different recommendation for learning and could affect which programming language(s) you should start learning.

An empty classroom with rows of monitors on long tables, a whiteboard wall covered in notes, and big windows looking out on palm trees and green mountains.
The DevLeague classroom in Honolulu, August 2015.

If you are learning to code because you are looking to make a career change, then you might also want to check out my guide on how to pass a coding interviewMay 13, 2020How to Pass A Coding Interview once you feel ready. I might also recommend that you start looking into one of those Coding Bootcamps. I was personally a technical instructor at a Bootcamp for several years in Honolulu, Hawaii and I know that they can be a great, albeit expensive, way to get into programming as a profession. However, if you don’t need something as intense because you are looking to make a website for your friend’s new band then a Bootcamp might be overdoing it.

Picking the perfect programming language for you

Okay, so now you know WHY you want to get into coding, but now you need to pick a programming language to learn. Which one is right for you? If you were to Google, “Best programming language,” you will likely stumble into a StackOverflow or Reddit flame war with people shouting very loud and confidently that their programming language is the best and everyone else’s sucks.

Here’s my take on this. These are the three I’d pick between:

  • Java is typically used at bigger or more “enterprise” type companies and projects. It’s going to be server and back-end heavy. It’s a safe pick, as Java has been around forever and it remains very stable.

  • Python is a great general programming language, and coincidentally, it was also the first language that I taught myself. Python has been blowing up in the data science and machine learning spaces as well. So it’s great if you want to build a website or a AI that’s capable of taking over the world. It’s up to you!

  • JavaScript is personally my favorite programming language and the one I usually recommend to people getting into programming. It’s the language of the web and today, with Node, you can build servers and the front-ends of websites with one language to rule them all. This is a big deal, because now, you only need to learn one language to build a complete website!

Try a couple of free online courses

First, let’s start with some of my personal FREE websites for learning to code. I would start here if you are just starting to learn. You might find out that programming is not for you, and you haven’t dropped any serious coin.

Codecademy is the perfect place for aspiring coders to start learning. Interactive projects and quizzes let you get the hands-on experience you need to grasp the concepts you’re being taught. There are separate courses for each topic: you might start out with Make a Website or Learn HTML & CSS, and progress to JavaScript, SQL, and more. Codecademy also provides forums for discussion, programming language glossaries, and blog posts and articles to help you as you learn.

If you don’t mind practicing solo, check out The Odin Project, a free option that pulls together some of the best open-source content for turning a coding newbie into a programmer.

FreeCodeCamp not only breaks down coding concepts into small chunks within your web browser, but it also pairs each concept with a relevant exercise that you have to solve before moving on to the next topic. This way, you can’t just skip ahead to the fun stuff; the site forces you to debug your code as you learn.

Other great options:

Just start building something

1 Grok: to understand something completely. The word comes from Robert Heinlein’s 1961 novel Stranger in a Strange Land.

My personal favorite way to learn something is to jump in and try to build something. Start with something like a new personal blog or a Twitter clone and start Googling until you figure it out. This has been my way of learning to code, but it’s not for everyone. I just struggle to stay awake while reading books or watching YouTube videos and I find that I haven’t fully grokked a subject1 till I’ve actually done something for myself.

Learning to code with AI agents

AI coding agents like Claude Code, Cursor and GitHub Copilot can build a working app from a one-sentence prompt now. That’s great when you already know what good code looks like. When you’re learning, it’s a trap: you end up with a project you can’t debug, extend or explain in an interview.

So use the agent as a tutor, not a ghostwriter:

  • Write it yourself first. When you get stuck, ask the agent to explain what’s wrong instead of letting it fix it for you.
  • Ask why. When it hands you code, have it walk you through each line until you could explain it to someone else.
  • Read every change it makes. Treat its code like a pull request from a confident stranger. It’s right a lot, and when it’s wrong it still looks right.
  • Build something without it. Every so often, make a small project with the AI turned off, so you know what you can actually do on your own.

I wrote more about how I build with agents in why coding with AI agents feels like paintingNov 10, 2026I paint, and AI agents made coding feel more like painting.

Other ideas

  • Try one of those toys that help kids learn to code, like Piper. They look awesome!

  • Build a Slack or Alexa bot.

If you need some inspiration, my projects are all on the site, with the code for most of them.

Websites

Listed below are some of my favorite ways to stay up to date. I hope that you can use them as you start your journey into the world of programming. Best of luck!

  • Mozilla Developer Network for frontend (Html, CSS, Js, etc.) code reference and learning. This will be your code holy book and you should follow it religiously!

  • Smashing Magazine for useful front-end and UX tips.

  • web.dev to learn about web fundamentals from Google Developers.

  • v8.dev to learn about Google’s open-source high-performance Javascript and WebAssembly engine that empowers Chrome and NodeJS.

  • css-tricks to learn everything about CSS. Period.

  • javascript.com to start learning about Javascript.

  • frontendfront.com to stay updated with the latest web news, trends and conferences happening all over the world.

  • 2 Jul 2023Twitter renamed itself X in July 2023.

    twitter.com, instagram.com to follow people you like, discover what they do2 and share your work.

    2 Jul 2023Twitter renamed itself X in July 2023.
  • codepen.io to build, test and discover frontend code.

  • codesandbox.io to build and share web applications using modern technologies.

  • github.com to host and review code, manage projects and build software alongside millions of developers.

  • stackoverflow.com to get answers to your toughest coding questions, share knowledge with your coworkers in private, and find your next dream job.

Newsletters

Podcasts

Twitch

YouTube

Conferences

Books

If you want to hear more about my thoughts on CS fundamentals and finding your place in tech, check out my talk The Art of Computer Science.

Talks

(There is another great list of talks about JS to be found here)

You can check out my Top Tech Talks of all time here:

The Tech Talks That Have Had The Biggest Impact On My CareerJan 8, 2019The Tech Talks That Have Had The Biggest Impact On My Career

Works on My Machine

Get the next post by email. My newsletter covers homelab builds, AI tools and open source, and it goes out when I have something to say.

It’s free, and you can unsubscribe anytime. You’ll get an email to confirm first.

If you liked this post, consider sharing it on Hacker News, Bluesky, LinkedIn, or X.

Joe Karlsson at his desk, chin on hand, with a microphone in front of him

Joe Karlsson

Technology is better when it's weird and it's yours. Everything I write about runs in my house.

More about me →

BlueskyLinkedInGitHub