+ 1
How to think logically when coding ?
To all the developers and engineers round here, I have a problem in thinking logically when it comes to coding. And I want to develop such skill, could anybody please guide me and tell me how ?!
10 odpowiedzi
+ 2
Doing math Exercises, they can develop your logical skills, like algebra or calculus also keep practicing in code, here in sololearn there are good exercises you can do, from the basic like making a program that outputs the fibonacci numbers, make sure you acquire the basic knowledge in programming like how does an array work?, the for, do, while loops. I really recommend download games like peek (find it in app store, not sure if exits on google play), believe me this is for me the perfect tool if you want to increase your logical thinking, it helped me a lot, and remember that practicing makes the master.
+ 3
Believe it or not, Microsoft offers a class for this very subject.
The name of the course is "Logic and Computational Thinking" and it is free to audit the course. There is no coding, just logical thinking.
https://courses.edx.org/courses/course-v1:Microsoft+DEV262x+1T2018a/course/
+ 2
In sololearn we have many ways to exercise your brain to think logically.
1. You can take a code challenge. Don't get down if you had a losing streak. Code Challenge is made for us to think faster and logically not to gain win and fame.
2. Use the code playground to write some simple code like fibonacci, print triangle using array, palindromes, etc...
3. A lot of members here sharing their solution to solve a problem. Why not try to explore and read their code on how the algorithm works.
those things are somethings you can do in sololearn. But there a lot of things you can do outside! :) But most important, have a healthy lifestyle!
+ 1
Choose a problem. Write a list of things you want to implement/code, what should it do, how to get what you need... Draw a diagram, arrange the list items in a (chrono)logical order, add dependencies, prerequisites and notes, and connect everything with arrows representing the natural flow. If the plot is too complicated, try rearranging it once again or merging things that belong together and simplify it. If it is still too complicated, discard things that are not necessary for a while and repeat previous step... You do not need to learn rules of how to plot flow diagrams, just be creative and try it your way. If you draw a time axis, there will be only one operation per point in time...
+ 1
yes Muhammad Fouad Al-Haroon, I perfectly understand u, your problem is very usual among the developers. The main issue we got is the lack of logical skills, but the solution for me is simple: practicing, in math, logical excercises, coding & the time will show you the results
+ 1
ODLNT Man you came to me from the unkown with a beautiful gift! 😍
0
Try to take some lessons in object oriented design and model driven development. Maybe those concepts can clear up your mind :) good luck!
0
Raul Oliva Thank you so much my friend 😊 notice that I know how to program via C language, but I lack the logical thinking!
That's why everytime I try to solve a problem by coding I get confused and afraid not to program or solve it right ..
Qnd accordingly I do not practice much, did you get me ?!
0
Am new to programming. I have gone through multiple videos for programming, though I can understand the syntax and how it is used, but am not able to write a simple program on my own. I don't know from where to start learn coding and write a program.
Please can you help me out. can you suggest any website links that will help me with my coding problem.
0
Rejit Rajan There is a website called pdfdrive.com where you can download programming books, reading a programming book while practicing, like practicing everyday all day, will help you reach your goal, believe me. Plus some excellent websites like geeksforgeeks.com, stackoverflow.com, look you can search google and you will get the best websites related to programming. But the main think is to practice!