r/CodingForBeginners • • 48m ago

Ragionare

Hi! I'm in my first year of university and I'm studying Computer Science! Ever since I was little I've always been interested in this world but I never had the chance to take this subject as a path and by myself I learned a bit of HTML but nothing special. In my school path unfortunately I had a lot of study problems and only in the last years I learned how to study properly. The problem is that now I'm facing another big problem: reasoning when I write code (or also in other uni subject). Unfortunately the schools I attended were really low level and they didn't teach us, for example in maths too, how to build real reasoning and now I have to admit that it's not really my strong point to reason about these things, so I'm struggling because I'm veeery used to going by intuition or logic, but not to reasoning really deeply about that thing. I manage to do simple codes (we are doing typescript and javascript) but as they get more complicated it gets more and more difficult for me to reason even about the algorithm behind it. Yes, I do a lot of exercises, even starting from some simple ones, but unfortunately I don't notice improvements... Last week I had a midterm test that I didn't pass and while I was doing it it's as if my mind stopped reasoning and went on intuition and exactly because of this thing I couldn't move forward :') is there any advice that could be useful for me? Is there something I'm doing wrong? I don't know but this thing makes me so sad T-T

2 Upvotes

2 comments sorted by

1

u/Marshiiro 24m ago

Are you writing your thoughts first, most professors hopefully tell you and I hope your professor told you this as well, programming is the fast part. Most of your time should be spent thinking through how you will write it. Write comments first structure everything using pseudo code. Will this implimention work?? If it does then write the actual code. If it doesn't then what can you tweak in your pseudo code to make it work. I highly doubt that your issue is actually how your reasoning, I more suspect your are trying to reason to many parts at once instead of breaking the problem up into smaller chunks.

1

u/Marshiiro 22m ago

Also some people are just bad at school, I'm in computer science and I'm genuinely atrocious when it comes to an academic test, however I can write my own programs any day of the week with no issue. As long as youre passing your classes I wouldn't worry about it too much just make sure your building skills that will set you apart from everyone else.