How Can I Make Coding Fun and Personal?
Posted by Matts84840@reddit | learnprogramming | View on Reddit | 12 comments
Hi everyone! I’ve been studying programming at school for about 3 years now, and I’ve picked up some knowledge in Java, C++, and a bit of Python (though not very well). The problem is, whenever I try to build something on my own, I usually end up failing—mainly because I just can’t stand following YouTube tutorials or similar guides.
So my question is: what’s a fun way to learn coding by actually creating something useful and personal, rather than just copying lessons? Thanks in advance for the help!
Griffidemus@reddit
well personally when I was trying to learn Python.. I decided to make a bot that played a game for me.
they havent broke down software design cycles yet?
Matts84840@reddit (OP)
I'm doing the same stuff rn!! I started yesterday (after all your advices) to program a RL AI that plays briscola (italian card game) for me in java, I have to implement all the reward system etc.. because yesterday I could finish only the main structure of the game.
EncouragingProgram@reddit
My suggestion is, instead of following a YouTube tutorial to make a project, find a project that is meaningful to you. What is a real-world problem in your life, or your community, or something you are passionate about? Make that project. If you are working on a real project that is meaningful to you, it will help motivage you to want to create the solution.
Matts84840@reddit (OP)
I started yesterday to program a RL AI that plays briscola and I'm having mad fun, thanks for the advices!!
Matts84840@reddit (OP)
briscola is a italian card game btw
nedyah369@reddit
I’m kinda going through a similar thing. What I’ve realized kinda works for me is to write down/draw something you want to build, and then use the code as best you can to produce the desired outcome. Just coding aimlessly for me is boring, but using code to express an idea that you understand is a lot more interesting.
Matts84840@reddit (OP)
that actually really helped me, I'm working on a RL AI that plays briscola (an italian card game), entirely made in java, and I'm having a lot of fun, thanks!
Happy_Witness@reddit
i highly recommend not touching any "tutorials" or ai's. Try to follow your couriosity and think for yourself. Understand every little bit of code you write and if you dont know how things are done, look online. you can also look at tutorials but never at its code. just look at the architecture the tutorial is using and try to implement it in your own program without copy pasting anything.
Icodcommunity@reddit
If you want to learn coding by creating real, useful projects, you might want to check out icod.ai .
It’s a no-code platform that lets you build websites and apps from scratch, but with advanced features that normally require coding-just $15/mo cheaper than all other platforms.
circles927@reddit
Maybe limit yourself to using only documentation when necessary.
That should be the dev way of doing things.
aqua_regis@reddit
Don't you even see the intrinsic contradiction here? on my own - tutorials
If you want to do something on your own, don't use tutorials. Sit down and plan it out. Write specifications of what your program should do. Flesh them out. Break them down. Then, start to program.
powerphp@reddit
I'm not sure how advanced you are. As a beginner you could just make a simple hello world app in a new language. Then add features. It gets the string to return from the command line, or a database or a REST api. You could take something you built in C++ and build it in python.
I've been learning golang. I decided I wanted to build an API client and an API server. Those are things I've built in other languages. I knew what it should do, and figured out to get golang to do it.