Definition of logical thinking
It is an essential part of programming. If you know many programming languages but lack logic skills, you will not be able to reach a high level. Learning algorithms and practicing coding will always help you come up with a variety of solutions to a single problem
Try to break the big problem down into partial problems
If the problem is complex, this does not mean that it needs a thousand lines to be solved, but rather that it needs the ability to deal with it intelligently
Think of all cases
You must think about all the conditions that an application or program can be exposed to so that something does not happen to stop it from working
Learn to draw models before programming
To learn to model solutions to a problem, this will help you a lot in building the correct logic and provides you with a clear picture of the problem and helps to understand more about all the solutions that you can think of
الترجمة
تعريف التفكير المنطقى
هو جزء أساسي من البرمجة , فإذا كنت تعرف لغات برمجية عديدة ولكنك تفتقر إلى مهارات المنطق فلن تتمكن من الوصول إلى مستوى عالي، تعلم الخوارزميات وممارسة التكويد يساعدك دائماً على التوصل إلى مجموعة حلول متنوعة لمشكلة واحدة
حاول تقسيم المشكلة الكبيرة إلى مشاكل جزئية
إذا كانت المشكلة معقدة فلا يعني ذلك أنها تحتاج إلى ألف سطر لتُحلّ وإنما تحتاج إلى القدرة على التعامل معها بذكاء
فكر بجميع الحالات
يجب أن تفكر بجميع الشروط التي يمكن أن يتعرض لها التطبيق أو البرنامج حتى لا يحدث خطأ ما يوقفه عن العمل
تعلم رسم النماذج قبل البرمجة
أن تتعلم تصميم حلول لمشكلة ما فإن ذلك سيساعدك كثيراً في بناء المنطق الصحيح ويوفر لك صورة واضحة عن المشكلة ويساعد على فهم أكبر لكل الحلول التي يمكن أن تفكر بها