What is your coding strategy? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 19

What is your coding strategy?

Do you plan your programs carefully using written pseudo-code or do you use trial and error? Recent statistics show that young programmers often use trial and error while older programmers try to solve problems by planning ahead. Which are you?

4th Apr 2017, 6:08 PM
Karl T.
Karl T. - avatar
25 Answers
+ 5
Depending on the size of your projects, the plan evolves from a simple command to a mindplan of commands, which develops into tasks' list, which in its turn mutates into functions list, which turns into behaviour list and so on. Judging from own mistakes I can say that correct evaluation of the project scopes and hence the plan size save much time.
6th Apr 2017, 1:25 PM
Alex Snaidars
Alex Snaidars - avatar
+ 31
Although I'm old, I'm insane. I directly start coding, get stuck again and again, disturb Google uncle a lot and then finally get mad 😡
4th Apr 2017, 6:28 PM
Shamima Yasmin
Shamima Yasmin - avatar
+ 22
Idea!>How will I do that?>Code...
4th Apr 2017, 9:10 PM
Illusive Man
Illusive Man - avatar
+ 16
I might actually plan ahead if I get charged for every compilation error I recieve. =^= Most of the plannings happen in my head, so even if it seems like I go head front with a problem, I know what I'm doing.
4th Apr 2017, 10:32 PM
Hatsy Rei
Hatsy Rei - avatar
+ 15
i always do with a plan that is trial and error.
5th Apr 2017, 9:21 AM
Agus Mei
Agus Mei - avatar
+ 11
I usually write pseudocode in the ide as comments and then fill in the proper code. This way it feels like I'm getting straight into it but I'm really planning ahead. I always keep my pseudocode comments as well so I can refer back at a later date and remember my thought processes.
4th Apr 2017, 7:42 PM
Shane
+ 9
My approach is usually based on a top-down analysis and early prototyping.
4th Apr 2017, 6:49 PM
Álvaro
+ 9
I try writing pseudocodes, but end up in a trial and error situation...😅
6th Apr 2017, 11:35 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 9
I do both, but it does depend on the size. Small projects are good for planning while large project will need more trial and error. Though that's just me, I'm backwards 😂
8th Apr 2017, 8:07 PM
SoraKatadzuma
SoraKatadzuma - avatar
+ 8
first i work on a paper and draw a diagram of variables,functions ...and their relations. then after writing them in codes i simply try and fix. i get the most help from the internet, these q&as and books.
7th Apr 2017, 8:30 PM
Yazdan Hamidi
Yazdan Hamidi - avatar
+ 7
most of my codes here are not planned and i just make it up as i go along, tackling each issue as i hit a wall.... talking about code efficiency issues... xD
6th Apr 2017, 10:50 PM
Burey
Burey - avatar
+ 4
as i am new in coding world so i have to think so deeply, properly but i am enjoying the process...
6th Apr 2017, 6:59 PM
Vega
Vega - avatar
+ 4
as a student, only trial and error... you can't plan a heads if you're only at the beginning! you set a goal and try concar it what ever you can!
6th Apr 2017, 7:21 PM
‎איתן מוצ'ה‎
‎איתן מוצ'ה‎ - avatar
+ 4
Basic drawn ideas are my way to go about it, and then trial and error. I sometimes have trouble, though, of polishing/finishing my ideas before I move on to the next one!
6th Apr 2017, 10:33 PM
Jeremie
Jeremie - avatar
+ 3
I use a mixture of both. though I'm only 13
6th Apr 2017, 12:47 PM
harshith v
harshith v - avatar
+ 3
people always say that you should plan out your program on a sheet of paper. I always start from the code...
10th Apr 2017, 9:54 AM
Zablas
Zablas - avatar
+ 2
Although I'm old, I'm insane. I directly start coding, get stuck again and again, disturb Google uncle a lot and then finally get mad
7th Apr 2017, 2:27 PM
SABEEL K M
SABEEL K M - avatar
+ 2
I can't imagine making a plan. I prefer to stream my imagination into code. That's just my way though. I also find that coding on the spot really helps with solving real world problems. It increases adaptability overall.
10th Apr 2017, 7:13 AM
Cocoa
Cocoa - avatar
+ 1
I first thinl about what my programm should do. Then I create an UML-Diagramm and after that a flowchart. At last I start programming.
7th Apr 2017, 1:07 PM
Thecitybuilder93
+ 1
Unfortunately i am from the one who doesn't plan ahead and just build programs and when bug comes out...I spend continous hours in running program in debugging mode untill the problem gets solved.
8th Apr 2017, 8:57 AM
Fahad
Fahad - avatar