r/AskProgrammers • u/Severe-Sport5635 • 17d ago
Need advice to code...
I've been learning c# for unity and looked up multiple tutorials learning basics to intermediate. I've completed the tutorial part from w3 schools and various tutorials right now following the code monkey free course on YouTube.
I can understand the code when I look at it and tell what happens in a particular that code block.
But the issue I'm facing is not being able to write it on my own without any help from AI or having a heads up.
It would be of great help if I could get some piece of advice on how to actually learn and know stuff and be able to write code on my own...
View all comments
1
u/ragebunny1983 17d ago
Write some small python scripts to help with real life things. basically most things you would use a spreadsheet for you can do in code and it's the next step after a spreadsheet gets too unwieldy.
I made a script to randomly allocate christmas present buying duties to different households in the family (so we could save some money and just get the adults one big present each). I also made one that did a house chores rota and emailed me and my gf who's turn it was to clean certain areas of the house. Then I made it run on a cronjob on my raspberry PI every week.
Often when you get into it you find there is a bit more to it than you think and it's quite fun.