31

I’ve been wanting to learn how to code for a while so I figure now is as good a time as any to start. I downloaded VS code on my laptop for python but I don’t really know end product I should try to code and I also am just bad and barely know what I’m doing. Does anyone here have any advice on what to code and how best to learn?

you are viewing a single comment's thread
view the rest of the comments
[-] beregoth@lemmy.world 19 points 1 year ago
  • Hello World
  • Read a file
  • Write a file
  • Read a file and loop through it line by line, printing each one (for loop or equivalent)
  • Program that consists of 2 or more source files

What I'm getting at is instead of a full program, write code snippets and small programs. In doing this eventually an idea for something larger will pop into your head.

[-] dbaner@lemmy.world 7 points 1 year ago

When I'm learning a new language I like to try and solve problems from sites like https://adventofcode.com/ or https://projecteuler.net/ I find this gives my learning more of a focus. After you've done a few of these you should have enough confidence to attempt your own projects

load more comments (8 replies)
this post was submitted on 12 Jul 2023
31 points (94.3% liked)

Programming

17314 readers
68 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS