this post was submitted on 12 Jul 2023
31 points (94.3% liked)

Programming

17443 readers
169 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
 

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
[–] kurogane@lm.helilot.com 2 points 1 year ago (1 children)

Do you have a virtual machine, or a filesystem that you could mess with?
A good project idea would be to manipulate files on your system. Sort them, duplicate them, add programmatically one line to their content. The possibilities are plenty and you can see the result of your code.
Besides that, look for tutorial repositories on Github (or codeberg.org).
Last but not least, VSCode is my personal favorite, but you could check out PyCharm for beginning, as it has more features out of the box.

[–] 14th_cylon@lemm.ee 2 points 1 year ago (1 children)

A good project idea would be to manipulate files on your system. Sort them, duplicate them, add programmatically one line to their content.

you really think this is good advice for someone who just downloaded their first ide and are asking what to do next? i think you skipped few steps ;)

[–] kurogane@lm.helilot.com 0 points 1 year ago (1 children)

This is why I said it should never be done outside of a VM or sandbox. But you are right, this is playing with fire haha.

[–] 14th_cylon@lemm.ee 1 points 1 year ago* (last edited 1 year ago)

that's not the point. the point is person first has to learn how to print hello world and few other things, before they get to manipulating content of the filesystem.

it is like if person asked "so i don't have a driving license and have no idea how to drive a car, what should i do to change that?" and you would reply "well there is this cool racetrack where people are driving their muscle cars at 100 mph and they really know their stuff, you should join them!"