0

What's wrong with my code learning?? please answer

I mostly ask about some topics or code examples in discuss section. But there's something really disturbs me for a long time. I'm a computer engineering student ( for 1.5 year this is my 3rd semester ) so i have to learn languages in given time to do my project/ homework. Here's the occuered i mostly study languages on sololearn, w3school, youtube and some other sites for specific questions. Till this day i could never finish my coding projects. I'm trying to learn some languages. I'm looking at other peoples examples and i can say why they used that code block but when it comes to writing my own i'm just staring to computer screen. It's looking so imposible for me to write. I don't know where i am doing wrong. I'm starting to think i made a wrong choice with ce but it's also something i wanted ( not my parent's push i mean) So am I the only one who thinks like that or is there something i'm missing. Just please help me about it cause putting some effort but not getting any result is a really demoralizing thing

24th Dec 2022, 3:41 PM
Lalala
Lalala - avatar
3 Respostas
+ 2
Hello, I would say what Lamron said, practice. There is no better way to understand programming than putting your knowledge into practice. Even if they are just simple programs in programming languages you have learnt/are learning, it will help you significantly, in understanding how to program certain bits. And like </CODER> says, using comments in your code is useful and helps with code maintainability - you can understand and remember how each block of code functions. But definitely keep using all areas you are currently using (Sololearn, w3school etc), but ensure you apply the knowledge you learnt by making several programs. And for your projects, maybe before starting, do a bit of plan/design/brainstorm session, as every coder does, include what you are going to program and what bits of code (perhaps some algorithms eg pseudocode) you will need to tackle the problem, as well as any variables/data structures you think will be required in the program. Don't give up, and good luck! You can do this!
24th Dec 2022, 5:15 PM
Hassanah
Hassanah - avatar
+ 1
When you learn it, try to use your own examples, and where possible combine them with what previously was learned. In this way you will remember and understand it more efficiently. Learning and practing is a big difference. You can learn a language in a month, but you will not be able to use it - which is implementing practice. Therefore, practice and practice
24th Dec 2022, 3:44 PM
Lamron
Lamron - avatar