The biggest problem a beginner faces is the problem of Logic Developing. Many of Beginners do not have too much creative thinking. Today i m going to share with you the techniques which i used to strengthen my logic in programming and they helped me a Ton. Believe me you are going to love them.
Know the Purpose Of Every Line 1 : Translate your own Programs into pseudo code and think what action each line of code is performing in your program. Know the importance of every line you type.
Read Other programmer’s Code 2 : Obviously I am not asking to copy other programmer’s code always use your own methods. But after developing your own logic for a problem try to compare that with other’s programs. You can learn a lot by doing this.
Challenge Your Skills 3 : Keep testing and Challenging yourself on a regular basis. Try to do something new every day your quest for knowledge should never end.
Challenge The Rules 4 : Always keep challenging the rules of the language for example java does not allow constructor overriding. Think that why the developers chose not to allow constructor overriding. What problems would arise if it was allowed? and what are the possible benefits if it is allowed?
Understand The Algorithms 5 : Try to understand the algorithms you find on the internet and write code for them by yourself rather than copying code from the internet some example algorithms are Bubble Sort , Array Reversing , Even or odd functions , drying shapes using asteriks and loops and many more.
Play Logical Games 6 : You should play logical games like Puzzles, Strategy. These will help you to think logically.
Write Algorithm First,Then Code 7 : Write the algorithm for the problem first and then write code for that. This will also help you in understanding algorithms.
Write Your Own Code 8 : Always try to develop your own logic don’t copy code from the internet internet should always be your last option.
Never Lose Heart 9 : A large number of beginners fail to become a successful programmer because they are impatient and lose heart too early. So Never even think of giving up just keep trying and every thing will be fine.
I Hope these are going to help you. If you have any suggesions or queries Email me at firstname.lastname@example.org.