30
submitted 1 year ago by [email protected] to c/[email protected]

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
[-] [email protected] 2 points 1 year ago

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.

[-] [email protected] 2 points 1 year ago

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 ;)

[-] [email protected] 0 points 1 year ago

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.

[-] [email protected] 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!"

this post was submitted on 12 Jul 2023
30 points (94.1% liked)

Programming

17024 readers
134 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 [email protected]



founded 1 year ago
MODERATORS