DEV Community

Cover image for A framework to learn how to code
David Chappell
David Chappell

Posted on β€’ Edited on

1

A framework to learn how to code

What I wish I knew when learning to code

  1. Get a big picture view of the code/language you're trying to learn. Read several examples of good code. Skim the code the first time. Think of questions of what the language is trying to do.

  2. Find a cheatsheet(s) for the language you're trying to learn. Stick to one credible source. With the cheatsheet handy try to answer questions from step 1.

  3. Find solid examples of concepts/syntax of good code. Stick to one credible source (like Code Academy).

Side note: At this point I also realized _that learning to read & write code is like reading/writing music 🎼.

Learning a programming language is like learning to read a different type of Music or instrument. More about that in another blog post

  1. Watch videos of people coding (from a credible source, maybe not Youtube). Maybe even watch the video at 2x speed

  2. The fun part, code & do the work!

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay