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

54

u/kayartdev Sep 08 '23

Take a pause from "learning" and start doing something. You'll learn much more by creating something, even if it's something simple, than by constantly reading books and tutorials.

7

u/OkraHistorical6020 Sep 08 '23

That's another problem I have. Because I'm still in school, I can't just stop learning (because I'm paying for it) because I have to worry about passing my courses.

8

u/kayartdev Sep 09 '23

And you can’t find an hour every 1-2 days to work on something?

3

u/OkraHistorical6020 Sep 09 '23

The time I have is on the weekends after work, which I spend on doing more school work (because the college I go to thought it was a great idea to pack on 7-8 courses every semester). I feel like I need a break for myself to do more solo projects, to get rid of the academic stress of getting good grades.

→ More replies (1)

4

u/TranquilDev Sep 09 '23

Yea, I was about to say you can't stop learning. I got my degree too - just focus on your school work. Don't worry about coding unless you happen to have some free time on a weekend and you want to do it for fun. Get your degree, go get an entry level job, I don't care if it's junior dev or help desk, whatever it takes to get your foot in the door. Then spend some time actually learning.

All your gunning for now is that piece of paper. 80 percent of what you need to know you will learn on the job, the other 20 percent is what you will need to know to get a job.

→ More replies (1)

5

u/Sprixx_Dev Sep 08 '23

This!

I started programming when i was 12. it was summer break and i was like, i wanna make a game.

Thats how i got into coding, no books no courses no shit. Just try to get stuff done

7

u/jakeyhubb Sep 08 '23

Hey! I sucked at coding for a very long time and I'm just entering my 3rd year of Comp Sci and the way I started getting better at code was actually when I put the code down.

Someone once told me "coding isn't magic, anything that's solved by code can be solved on paper. code is just language to tell the computer what you want done because you're lazy". Every assignment or problem I pickup, I first draw on my ipad or piece of paper the logic side to the assignment/problem. I'll write out step 1, 2, etc. on which steps of the process I want completed in english and drawings. Once I have them complete, I'll search up syntax of the specific language and how to do loops, variables, etc. through w3schools, geeksforgeeks, youtube, stackoverflow, etc.

So to answer your question, definitely check out leetcode to do random problems with specific languages you want to practise and it will get you to practise drawing things out and steps for each problem which you can use for future problems!

2

u/OkraHistorical6020 Sep 08 '23

I appreciate the advice! I will definitely check out leetcode

5

u/[deleted] Sep 08 '23

Stop studying.

Start writing code.

You need to pick some simple projects. Command-line tic-tac-toe or hang-man, for example. All text based. Or do it as a web page, although that isn't going to be the best fit if you want to stick to Java.

Write a program that does something.

Stop reading about things and thinking theoretically. This is really killing your ability to learn anything.

Write code. When you run into a problem, go search Stack Overflow for answers.

When you have working code, is there something that is messy?

Go clean it up. Reorganize it. Make it better. Add that new feature that just occurred to you.

The way to learn to code is to code. The more you do it, the more comfortable it becomes. There is no substitute for putting in the reps.

2

u/OkraHistorical6020 Sep 08 '23

I appreciate the advice!

2

u/martypants760 Sep 08 '23

Coding isn't the only thing that degree is good for. QA is very important. Coding there might entail black box testing but far less complicated than what you'd be testing. Business analyst is also a good path - more about what should the software do instead of implementing what someone else decided should be coded.

1

u/OkraHistorical6020 Sep 08 '23

I appreciate your reply. Sorry I'm not familiar with the term QA. Can you tell me more about that?

1

u/martypants760 Sep 09 '23

Sorry - QA is Quality Assurance. Many organizations I've worked with, the QA teams are full of people who don't have professional training in testing. A professional with a computer sci/engr degree and specific study of test methodologies and frameworks - that could person would do well

2

u/thedogarunner Sep 09 '23

Regarding actual objective suggestions, if I can give any besides what others have told you, would be:

  • Explore github for projects around some specific tech that you'd like to learn more about. You'll find trully amazing stuff, and you don't have to spend 1 cent. Usually they'll have docs on how to explore and use them. Not really familiar with Java, but a quick search led me here: https://github.com/TheAlgorithms/Java.

    • Clone the repo, or fork it and clone the forked repo to have your own version of it, look at some part of the code, and tinker with it. Try to understand it, break it, test it, make changes to it. Have fun.

    • Another thing you can do is open some actual real project on Github in one tab/monitor, an IDE and a terminal on the other, and pretty much copy the code. Don't copy+paste it, write what you read. That'll give you muscle memory.

  • There are many code challenge websites out there. If you want to test yourself, those places can be very good for you to understand where you are in a certain tool or area of knowledge. Quite humbling sometimes actually.

  • Talk to people more experienced and ask for mentorship or advice, like you're kinda doing here. But, IMO, while advice and mentorship are valuable, you need action. Build stuff. If you're into Java, pick anything you find interesting that was built with Java and try to create a simplified version of it by yourself, with a repo on Github. Doesn't need to be marketable. Do it for yourself. Research on Google and Stackoverflow when needed.

  • Get an internship if you can. Can't stress enough how that can be an incredible experience, and probably the best opportunity to get a full time job (at least where I live).

Everyone has sucked at coding at some point. No one is born knowing how to do it. It's not a natural ability even though it's mainly cognitive. "Programming" demands a lot of deliberate practice, struggling, frustration and as a result of these, learning. It's not a profession that stands on repetitive tasks and predictable outcomes. And you can't learn it just by reading or by watching someone else do it.

You need to put yourself out there and make mistakes, otherwise you won't learn anything. Learning is painful. Shiny and well edited tutorials and courses can only go so far. Use them as starting points, but don't put much faith in them for greater results. They're slices of knowledge and experience accumulated by others that are mostly cropped and trimmed for monetization purposes (which is not a bad thing in principle).

And keep in mind that coding is just one part of the job in most cases. You'll mostly need to be able to communicate well, make decisions, explain yourself and be a good team member.

Hope I could help somewhat :)

1

u/OkraHistorical6020 Sep 09 '23

Thank you so much for the advice! Very much appreciated

1

u/HarshTruth- Sep 09 '23

I don’t get how you’re in you third year and you’re this bad at programming. Haven’t you been giving project/assignment to do something in regards to programming?

1

u/OkraHistorical6020 Sep 09 '23

Maybe my wording was poor. I've been able to get through all of the labs, assignments, etc., throughout the years with decent marks. The main issue is doing something for myself. In the labs or whatever, I just follow the steps and complete what's needed, but creating something that I like is what I haven't been able to do.

1

u/HarshTruth- Sep 09 '23

In that regard, I’m in the same boat as you. Sucks

1

u/Background_Junket_35 Sep 09 '23

It is not uncommon to not actually learn much about coding in the majority of CS classes, let alone CE. A lot of it is theoretical, general knowledge type stuff. Java would be a good language to try and become proficient in, usually a decent number of jobs out there. I learned more about programming through internships than I ever did in classes. Maybe try finding a summer internship?

1

u/OkraHistorical6020 Sep 09 '23

I have applied for multiple internships for my upcoming winter semester, hoping for the best. I appreciate your advice!

3

u/hdtv2001 Sep 08 '23

Scrimba.com, zerotomastery.io
Zero to Mastery (ZTM) has a java course but try this for java first: https://www.youtube.com/watch?v=j9VNCI9Xo80
And if you are only interested a couple courses on Zero to Mastery you can buy them individually on udemy.com instead of subscribing to ZTM

3

u/QuanDev Sep 08 '23

if you keep worrying about earning the grades and passing the courses instead of focusing on learning the fundamentals, you'll pay a bigger price later on when you graduate. If you land on a job, you might have imposter syndrome, then you start getting depressed, questioning career choice, etc.

Either work harder, meaning spend less time on social media/ hanging out with friends/ gaming, etc. to learn the fundamentals beside doing the homework, or just do barebone work on the homework and allocate time to learn the basic. If you have to work part time besides school, now that's a harder to do. So maybe take a semester off to relearn your fundamentals and build something before resume your classes?

When I was in college, I spent at least 5-6 hours every day (aside from attending class) to do homework, learn the fundamentals, watch countless of youtube videos until I understood the concept before starting doing the homework. Doing homework until 3am is very normal to me. I was working part-time, but I figure I couldn't do with while working, so I quit the job, borrowed student loan and grind my way through it. It's important to fully understand the concepts before even starting your homework.

That was a few years ago. Now you have chatGPT, which is the most powerful learning tool I've ever seen. I'm working as a dev now but still use it every day to learn new things. I'd suggest you to pay $20 a month for GPT Plus, then treat it like your private CS tutor.

In your situation, you can start asking questions like: "I'm learning Java, but I lack fundamentals. Can you show me a list of important concepts I need to learn?"

Then it'll show you a list of things, then ask follow up questions like: "Explain the differences between public and private classes? What are they? When do I need them? Give me examples".

If you still don't get it, ask more follow up questions: "I still don't understand. Can you explain inheritance in laymen's terms?" Or "Explain like I don't know anything about Computer science".

You pay $20 / mo, abuse it. Note that know how to ask chatGPT is also a skill you'll have to learn. Where to learn it? Ask chatGPT.

Afterward that, google (or chatGPT) some project ideas to build with Java, then start building. If you got stuck, you guess it, chatGPT again.

If you're really determined, you could come out on top after just a few weeks, I guaranteed.
________________
EDIT: Forgot to mention, try CS50 from Harvard. It's free and it's the best CS course I've ever seen.

3

u/[deleted] Sep 09 '23 edited Sep 09 '23

You should make a project like others are saying, but where people get tripped up is here: if you make tic tac toe don’t look up “how to make tic tac toe” because you won’t learn anything that way.

It’s necessary to look up things you don’t know how to do but it should be on a way smaller scale. Look up stuff like, how do I set up a new project, how to render an image on the screen, how to make a game loop. Break down the requirements yourself then work on each one at a time. Just start with displaying a board, the clicking one to cross it off, then having two people take turns doing that, etc.

Don’t worry about screwing steps up, if you don’t do parts of it wrong you won’t learn anything. You don’t learn things by doing them correctly, you learn by fucking them up and having to do it again a different way.

Another tip is, when you do a step like rendering an image, go deeper into reading about that step than you have to. Make sure you understand what you did and why. Ask chat gpt questions like it’s a teacher, it’s useless at writing cod but it’s pretty good as a proxy for a person who can explain what things are and why things work a certain way. It’s a lot easier than looking up things sometimes and if you are asking simple questions like what does x do it won’t give bad info.

Also, refactor your code. The first time you write something will probably not be very good and refactoring cements your learning and teaches you to write better code.

3

u/Recent_Strawberry_54 Sep 09 '23

In my experience, you learn the most by actually building something. Start working on a side project. It doesn't have to be impressive, or huge, or complicated. Just start building something. Work on it for about 15-30 minutes every day as a break between your coursework. Getting started with an idea is the hardest part, once you get started it's easy to keep going. There will be times when you make no progress and have no idea what you're doing. This is ok. Just keep working on it. Eventually things will start to click and you'll find yourself thinking about your project when you're not working on it, and you'll want to spend more and more time working on it. When you finally finish (could be years from when you start, could be months or weeks), and have a finished product you feel satisfied with, start another one. Repeat this for the rest of your programming career, and you'll do very well for yourself.

TL:DR; you learn the most from applying the things you know how to do in side projects.

1

u/GiggleGag Sep 08 '23

Why do you need a YouTube video to do it?

That's not meant as a knock. Actually why a YouTube video? What are you getting from this YouTube video that's missing.

-1

u/OkraHistorical6020 Sep 08 '23

I usually use YouTube to try and understand the concepts of things that I wouldn't understand in lectures

1

u/GiggleGag Sep 08 '23

Such as?

I'm failing to see what you learn other than the solution. What does the video itself actually provide that other means do not?

Why not just try it and research your errors and make incremental updates until it works?

That's all programming is in a nutshell anyway

→ More replies (2)

1

u/[deleted] Sep 08 '23

Classroom examples are anything but realistic. They’re neat small projects to show some features. My advice, and what I’m doing, is look at your interests and try to make an app for it. If you like D&D try to make a character sheet. Get GitHub and push to your repositories. That is a huge thing for building a portfolio. And eventually try to make something with intention to publish. That is huge for getting noticed.

2

u/OkraHistorical6020 Sep 08 '23

Thank you for the advice!

2

u/rizzox7 Sep 08 '23

I was in the same route starting as a computer engineer. I was able to grasp basic arithmetic operations until I got to arrays. I just couldn't get it and it all fell apart then.

Switched to computer science, and everything just clicked. There were more fun programming assignments like building a game or solving for puzzles. Would I have done those type of assignments on my own? Probably not. lol

2

u/genericdude98 Sep 09 '23

One thing to note is that coding in CS degrees is probably harder because you are working with peculiar cases of Data Structure and Algorithms quirkiness. A lot of the time at least as a webdev coding is not nearly as hard as it is in classes

2

u/PaulEngineer-89 Sep 09 '23

I don’t care what the school does. When I was in college we submitted preference for classes and we received a schedule back after they were all in. Often maybe 1 or 2 classes were “right”. Everything else was a screwed up unworkable schedule. Often things like one class ends and ten minutes later the next starts but the second class is on the other side of campus (too far) or it gave me night classes or scheduled the worst instructor on campus. So you’d have to reschedule, add/drop, and so on to fix it. You are never “locked in”.

6-8 classes sounds about right but that us never how you count “load”. First you need to figure you should expect 3 hours per week per credit hour on average. So a 3 credit class is a 9 hour commitment. So a “real job” will be 40-50 hours per week for most people, or 13-17 credit hours but if you have limited funds go closer to 17 credits per semester. Do not exceed 20 which would be a 60 hour school week and at that point don’t try to work a job or you burn out. There are exceptions. A phys Ed class typically has no homework and some other classes are “easy”. And the toughest classes typically require more time so never schedule more than 2-3 per semester…make up the rest with easy ones and watch out for stacked prerequisites where there is a sequence of several classes that you must take in order. Don’t fall behind on those or it takes longer to finish.

Other than this you can’t be all work no play even after college. But in grade school there was a routine for everything. You go to school same time every day, do some homework in school, maybe after school activities or a job that is pretty consistent, homework, eating and sleeping on the same schedule. In college YOU schedule all that. Don’t let it get out of balance. It’s really tempting very often to go have fun but you suffer consequences.

Also this is all stuff you may use on the job. But if you go for say networking later you may find yourself as a database administrator so that stupid databases class you had may turn out to be useful after all. Grades are “important” but more important is learning the material. Interestingly enough high school for me was a sleeper. I rarely spent more than an hour on homework. It was way too easy. Advanced classes were too easy. College was a dream/curse. I never had study skills or needed them so I was a straight C student the first year or two on average with a couple D for Done classes. It took a while to “get it”. I did go to grad school after 5 years (two undergrad degrees) but I was allowed in under probation with a 2.997 GPA (the minimum was a 3.0). So it took 3 years to convert a C to a B. It took lots of business classes to do that (they curve to a B so As are easy).

2

u/arrow__in__the__knee Sep 09 '23

Mess around with small programs. Download stuff from github you find impressive and kinda just dissect them. Alternatively make small projects. I know learning low level languages helps programming click into people but thats just hard if you have classes and work so keep that in mind.

2

u/007beer Sep 09 '23 edited Sep 09 '23

As long as you understand the core concepts with how functions are formed, object and data types are declared, and algorithmic logic, plus interaction with databases, you're pretty much set. I'm not sure what kind of language or applications you aim to build, but if you understand general logic, it's a matter of understanding syntax, and a lot of the knowledge is transferrable.

In the age of ChatGPT, you have a lot more fancy resources and tools than us older techies had! Which is also great for breaking down code.

Edit: Java might be dated, but it helped me pick up Apex for Salesforce (it is based on Java). Lastly, before you decide on picking up a language, ask ChatGPT what purpose it generally serves, pros/cons, and types of applications built on it.

2

u/polarphantom Sep 09 '23

I'm in my 5th year of a career in software development, working senior at a moderately large international company. I still suck at code.

I can't offer much advice right now other than to not be too hard on yourself. This is a long long road and the learning never really ends. As soon as you grasp one thing you realise its opened up 5 more doors you've never seen before. It took me a long while to stop basing how "good" I was by comparison with other people, and to start comparing with myself in the past.

2

u/dlevz Sep 09 '23

The best thing to do is write code by building things and make mistakes whilst you do it. You can then learn to fix your mistakes through google searches etc. That's when you really learn. Watching tutorials on YouTube can be helpful but you should try and implement what you have learnt without copying the code from the video.

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...

3

u/BlackberryNew2838 Sep 08 '23

https://www.freecodecamp.org

Just start from the bottom up. This website is amazing 🤩. No bs, just straight to coding immediately. From the very basics of a language, then building little by little on top of that.

😎🍻

1

u/0ccelot Sep 08 '23

Learn by doing things the hard way.

1

u/Riverside-96 Sep 08 '23

I've been learning more from books recently & they are good in the sense that you don't need to remember all of the concepts at once if you know where they were introduced in the books you can always flip to that chapter for a refresher. Bit more of a chore doing that with videos...
That said, amigoscode's crash course on spring boot is good. I found it's helpful to not try to attempt anything full stack. Spend time focussing on back end & then front end will be less intimidating when you know you have half the ground covered.

Still I think it's better to just get cracking once you have half a footing & then hit the books only for clarity. I'm guilty of not putting what I'm learning into practice enough myself. I do have a lot of notes for project ideas if you're feeling uninspired though.

You've probably retained more than you realize you're just struggling to get the ball rolling. If you're staying on top of your grades you must be capable at least.

CLI color code converter.

Hotel api: start basic & then maybe give rooms grades which determine price increase based on some metrics, day of the week, time of year, holidays, etc. Store bookings in a db.

1

u/3i-tech-works Sep 09 '23

You may be trying to run before you crawl. Start small. Don’t start trying to build complex projects. Don’t try to build mobile apps or duplicate Facebook. Instead create small mini projects. Forget about public, private, static for now. Learn those later. Do what you know and do it over and over to get really comfortable with it.

1

u/adastrasemper Sep 09 '23

Where is the best place to properly learn the concepts like private, public, static, etc.?

r/learnprogramming - probably your questions have already been answered there

r/explainlikeimfive/ - I like this one when I'm struggling with complex ideas

Also keep searching videos on youtube. Don't just watch one, watch videos from different sources, and one of them will explain the things the way you can easily understand

1

u/khedoros Sep 09 '23

You only get better at coding by coding...and figuring it out yourself, not following a tutorial. As you've progressed through your courses, the assignments should've been starting at an easy level and ramping up. If you've been youtubing the answers, then you've been missing the point of the assignments and fucking yourself in the process. It kind of sounds like you'll have to go back and actually learn what you should've been learning before.

1

u/[deleted] Sep 09 '23

I can sympathize with that having no time to experiment given your swamped with class work. It's much like trying to do job interviews jobs while working full time.

I would not take a year off school. I hate schooling and I would get too comfy. Try some Android development using Java and their Android Studio. You'll learn how Android works and how to make products for it.

1

u/Brilliant_Ad2120 Sep 09 '23

Business analyst here - do you like people more than cude? Have we got a job for you!

1

u/GuyF1eri Sep 09 '23

Piano players don't learn from reading books. DO SOMETHING! You have the initiative, and you're clearly smart enough. Just try to figure out how to do something practical with your skills. "before starting to build small programs" is the wrong mindset. Just start. Just start writing code

1

u/Nervous_Midnight_570 Sep 09 '23

My suggestion is this. Do not take a year off to learn how to code. Why risk not completing a 4 year degree to learn coding on your own when you can get the 4 year degree and then practice coding once you have a marketable degree? If you stop after three years, you are going to lose "learning momentum or continuity" and going back after a year off is going to be a struggle.

1

u/connorjpg Sep 09 '23 edited Sep 09 '23

I have decided to take a year off from school after my 3rd year in order to do that.

I don't know if I'd recommend this unless you are trying to stray from Computer Engineering. Most my friends who did CE focused more on hardware anyways, were not overly good coders and still found success within the field. Although I encourage you to learn more about programming, I don't know if delaying your learning is worth it. That being said I was a Java 1 and 2 tutor at my university so this is what I would do with my students.

As for resources, here you go :
- Alex Lee's YouTube specifically his learn Java Playlist
Amazing course for the basics and topics, short videos, straight to the point. Good place to start or refresh.
- W3schools java page
Honestly, this is what I learned Java with. Its a bit boring and bland, but the topics are all shown and their are exercises attached.
- W3resource java exercises with answers
Practice makes perfect... this is a exercise bank on Java problems (w/ the answers) for you to practice based on topics you would be learning.
- Mooc Programming full java course
Personally never used it but heard great things, takes you through all of Java 1 and 2 coursework.
- Developer Roadmap guide on what to learn
Here's a guide if you don't have one on what to learn and when. Helpful if you are feeling stuck and don't know what to learn next.
- TutorialsPoint good java documentation
Documentation can be dry and bland but I learned a ton from this website. Specifically the collections framework section will come in handy in the future.
- etc... I have more if you want lmk

Make sure you know these :

- Variables, Data Types, and Operators

- If statements, Switch statements, Loops

- Classes, Objects, Methods

- Imports (legit just work with the java.lang.Math, java.util.Scanner at first)

- Try-catch blocks*as per your specific question about public static and private, that would be covered in Classes, Objects and Methods.***If you already know all this you are good to go, just start building and google along the way.**Hope this helps!

Cheers.

EDIT : Just to add. Everyone else here is right, building things will help and will give you more confidence in the language. That being said, if the basics and fundamentals are not understood you will have less knowledge on what you just built. When you learn a topic build a small program that just utilizes that topic, then move on until you have a good understanding of Java Basics and OOP.

1

u/CordyCeptus Sep 09 '23

That's part of the process. You aren't gonna know 90% of the shit you want to write unless you specialize in the language. Get good at referencing and looking shit up.

1

u/[deleted] Sep 09 '23

The people who write code for google, google every 4 minutes

1

u/dark_enough_to_dance Sep 09 '23

Thank you for asking this question because I'm just like you! Now gonna need to read all comments!

1

u/wiikzorz Sep 09 '23

Do some easy leetcode problems

1

u/tenderpoettech Sep 09 '23

Hmmm maybe start w the semantics ie flow of information first, write pseudo codes, then apply the syntax over. Syntax is really just the tool.

Every language has its quirks, and that pseudo code u write might be specific to Java for example, but algos don’t really change much between languages when you’re able to have that flow or sequence or logic defined on paper, either as a flow chart or pseudo code or both, the language/syntax becomes somewhat easier to learn.

Don’t try to learn from syntax first, try not to, it was harder for me, being bog down by the grammar and all that.

1

u/[deleted] Sep 09 '23

Like everyone else here is saying. Take a break from learning and just open up VScode and build something even if you have to google/YouTube/ChatGPT most of the way to finish. Build build build.

1

u/DGC_David Sep 09 '23

Yeah coding is one of those things you just gotta keep doing.

1

u/redchomper Sep 09 '23

Stop trying to hit me and hit me.

Stop following youtube video tutorials. They are not designed to teach. They are entertainment at best, clickbait at worst.

There are generally tutorials for programming languages. Those will teach you to use those languages, not how to design and code a quality software product.

The marks/grades are not the point. I won't give any hiring preference to a 4.0 over a 3.0 but I will prefer if you can explain your designs.

Forget about Java. It's an abomination, from a pedagogical point of view. Your school probably exposed you to some Java early on. Think of it as a weed-out course. Real comp-sci is done with pen and paper. Real software engineering is done with dry erase markers and a whiteboard. OK it's also done with a lot of other things, but the point stands.

Your best bet is to do the coursework for understanding, and the grades will follow naturally. Anything less is cheating yourself, which is the most insidious and pernicious form of academic dishonesty. Also, it leads to this kind of anxiety.

Oh, and take an internship!

-2

u/joonazan Sep 08 '23

The best place to learn is usually the official docs. For java they don't looks as friendly as for Python or Rust but at least the information will be correct, so give them a try.

https://docs.oracle.com/javase/tutorial/java/index.html

2

u/Hei2 Sep 08 '23

Shouldn't the best place to learn have been the college that OP has been attending for 3 years?

1

u/cikeZ00 Sep 08 '23

Really depends. Some college programs just aren't as good at teaching you how to code, while others are. I've met some of my peers who are on their way out of college yet have no clue how to implement the stuff they learned at college in practice while writing code. Sometimes you just have to get your hands dirty and code stuff for the heck of it alongside college to get a proper grasp of things.

0

u/OkraHistorical6020 Sep 08 '23

This is my case exactly. Most of the professors I've had do a lousy job teaching, which leaves me spending more time figuring out how to complete assignments (time that I could have used to practice on my own).

1

u/joonazan Sep 08 '23

You have to do learning yourself. School just helps a little bit. University is very useful when you're trying to learn something that only few people know or want to advance the state of the art but OP's still learning the basics.

1

u/redchomper Sep 09 '23

No. Colleges should not put too much effort into teaching any specific programming language. Just enough to get by, and then talk about abstract concepts. Colleges are meant to educate, not train.

0

u/[deleted] Sep 09 '23

Java is horrendous and archaic. Learn something functional

0

u/[deleted] Sep 09 '23

I gained the most getting when:

  • using frameworks

  • copying others code and modifying it

Ask ChatGPT to give you code that does what you want. Look at it. Tweak it. Ask it questions.

0

u/[deleted] Sep 08 '23

[deleted]

3

u/[deleted] Sep 09 '23

Easier said then found

1

u/[deleted] Sep 08 '23

[removed] — view removed comment

1

u/Nickwahh Sep 09 '23

Is math a huge part of programming? Obviously it is if you’re doing game design etc depending on program. But I really do hate math

1

u/Dukhlovi Sep 09 '23

You can solve the second one with strings too :) but some mathematics is handy ofcourse . For web developper its less important than a Nasa engineer. I do program for my job but i dont do maths further than basic multiplication ,division subtraction and addition. For game programming you have libraries to do the heavy math for you but some understanding is usefull.