what type of thought you need to have while you write the program? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

what type of thought you need to have while you write the program?

I am referring to programs that are based on user input data and data processing. I was wondering what are the principles that are used to write a good program.

11th Apr 2017, 10:06 AM
Umbe
Umbe - avatar
7 Answers
+ 5
1. Study the problem as user rather than a programmer to get better insights of the problem coz that way you will be more able to understand the requirements, 2. Now pen down the inputs to be read and outputs to be given. Create a mock outline of the program. 3. There after code and test whether it is full filling the requirement. Make incremental changes it till you reach to the final product.
11th Apr 2017, 10:18 AM
देवेंद्र महाजन (Devender)
देवेंद्र महाजन (Devender) - avatar
+ 13
Never worry about bugs, we can easily handle those:D Code untill it stops showing Syntax error:P Be more creative and logical😉😉
11th Apr 2017, 10:08 AM
Dev
Dev - avatar
+ 11
@Umbe Both😊
11th Apr 2017, 10:16 AM
Dev
Dev - avatar
+ 7
If I dont have any ideas to code, it is only I know that I will have a good idea of a code, always happen to me lol.
11th Apr 2017, 10:11 AM
MrCoder
MrCoder - avatar
+ 6
what you have to focus more? type of variables or data processing of the input?
11th Apr 2017, 10:14 AM
Umbe
Umbe - avatar
+ 6
i think in c++ you can do everything with everything so i was asking.
11th Apr 2017, 10:15 AM
Umbe
Umbe - avatar
+ 6
OK XD
11th Apr 2017, 10:17 AM
Umbe
Umbe - avatar