+ 4
How can I make myself faster in implementing the code?
I can identify the logic of a program.. but I take a lot of time to implement in coding and get the correct output.. how can I improve myself?? https://www.sololearn.com/discuss/786766/?ref=app https://code.sololearn.com/WFseja10kYEQ/?ref=app https://code.sololearn.com/WFseja10kYEQ/?ref=app https://code.sololearn.com/cYR2UcfNDy7q/?ref=app
2 Answers
+ 3
Practice. Try competitive programming (CodeChef, HackerRank, etc.). Try making a real world project. Make a program in one language, then try replicating it in all of the other languages you know.
+ 2
I'm unbelievably honored that you featured my code in your post! đ
Basically, practice and repetition. most of my codes follow the same design so it gives me tons of practice doing the same thing. alternately I use Google like the air I breathe lol. I'm constantly looking up more efficient ways of doing what I already know how to do.
Don't be afraid to ask for help or suggestions. I needed help with the timer function in my newest game Color Game 2.
Think of large codes as a bunch of small codes all bundled together in one. Take a simple javascript if else statement. easy to do. now, you can nest 2,3,4 of them together in one large complex function.
You say u have no problems understanding the logic, so write your code the same way you break it down in your mind. piece by piece. Hope this long drawn out comment helps lol đđ€đ