+ 1

I have understand all concepts clearly but why i can't write a code properly :(?

i have tried so many times to write a code. i have completely understood concepts as well but still i am not able to code. why? :(

2nd Jul 2017, 6:09 PM
Ammara Dar
Ammara Dar - avatar
4 Respuestas
+ 3
It is a pretty common problem when you start learning how to program. It's like learning how to use a bycicle with inverted steering. You may understand how it works and how you should handle it, but actually applying that understanding is not something you can do right away. It takes time to assimilate that knowledge and apply it efficiently. https://youtu.be/MFzDaBzBlL0 This is exactly what happens with programming. You may understand all the code, the syntax and paradigms of every programming language, but when it comes to using it is a completely different thing. What you need to do is start writing simple programs. there are many simple excercises online that you can try, like building a number guessing game, or tic tac toe, etc. When you start writing code you'll find yourself with errors and obstacles, which you'll have to overcome either by trial and error or by searching on the web. Over time you'll start understanding how to overcome those errors yourself. I also recommend looking for more practical courses on the web, there's this free course from Harvard which I took and it's amazing: https://www.edx.org/course/introduction-computer-science-harvardx-cs50x Hope this helps.
2nd Jul 2017, 7:09 PM
Alejandro Aristizabal
Alejandro Aristizabal - avatar
+ 3
I can totally relate to you as I often face that problem being a newbie. But I feel more comfortable with coding now. Try to practice what you have learned. Convert your concepts into codes by solving various exercises which, can be as simple as writing a code to add two numbers or as complex as printing a pattern. The bottom line is that to get comfortable with coding, you need to practice. Write as many codes aa you can.You can find lot of exercises on web or books. Good luck! :)
2nd Jul 2017, 8:46 PM
Masquerade
Masquerade - avatar
0
Also, I would suggest using an IDE for C++, Java, Python, and the like, as an IDE points out your mistakes instantly and tells you the problem clearly. If you use a basic text editor, I would suggest switching to something more sophisticated.
2nd Jul 2017, 7:45 PM
Everqueen
Everqueen - avatar
0
thank u so much :) i appreciate your suggestion
2nd Jul 2017, 8:17 PM
Ammara Dar
Ammara Dar - avatar