r/AskProgramming • • Sep 08 '23

I suck at coding

I'm in my 3rd year of computer engineering, and I have no idea how I made it this far because I absolutely suck at coding. Other than printing "Hello World", I can't write anything else without the help of YouTube. I really want to be able to write simple programs by myself, but when I have multiple assignments and labs along with having to work, I have no time to do that. I'm more focused on completing my assignments for marks instead of grasping the concepts of what I'm doing. I like Java and I want to be proficient in it before branching out to other languages. Where is the best place to properly learn the concepts like private, public, static, etc.? What is the best website to start from because I feel like I have to really understand those concepts, before starting to build small programs.

Edit: I appreciate all your responses! I will definitely try to make more time to do more personal coding. I have decided to take a year off from school after my 3rd year in order to do that. During that time, I hope to get an internship to help me. Thank you all again!

Edit 2: Thank you for all the feedback guys! You have all given me the confidence and motivation to keep going. Just to clarify one thing, this 3rd year is my final year of college. Taking a year off was just to work on my own projects (like most of you have suggested), before heading to a recognized university for a 2 year degree. If I'm able to get an internship during the time off, I will decide against a further education in university. I appreciate all your support once again!

74 Upvotes

74 comments sorted by

View all comments

2

u/natesovenator Sep 09 '23

Get used to being busy and thinking about your work. every. waking. moment. Because when you get to a real programming job, you'll go home and unless you have something that literally rips your attention away from work, you'll be thinking about things at home and it becomes your life. If you do not find it enjoyable and are trying to do this for the money, you are going to hate life.

I recommend trying to make a game in JavaScript(NOT JAVA) for the browser, it's simple enough to grasp the basics, it has no compile time, you simply refresh the page, you can test code snippets right in your browser console. As a bonus, you can start immediately, you need no extra tools besides maybe a localhost web server, nodejs has it built-in. You will also have the option to start looking at software development stack later on, and integration is relatively simple..

Second reason for JavaScript, is it's object oriented programming, interpreted, and the amount of free examples, resources, and documentation is phenomenal for a beginner. Spend at least a half hour throwing something together on it every day. And explore! Use the console to your advantage, most stuff will autosuggestion, show you values, functions at your disposal. And don't use any libraries!!! Not until you've got a working game/prototype. You need to understand the logic, not necessarily the language, most programmers I've taught have that base issue, they automatically go to "what library can let me do this in one line"... stop that. Reinvent the wheel. You're learning. Understand the flow of data and how things interact behind the code. That a string is literally an array. That for loops are just while loops with 3 statements inside of it. There's so much to the logic that people do not understand. ...And I'm ranting, rambling, and my bum aches, so I'll stop here...