Try your best to break your code first before telling everyone it works... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Try your best to break your code first before telling everyone it works...

not a question... I learned the hard way

19th Oct 2017, 7:57 AM
Narishment Killit
Narishment Killit - avatar
2 Answers
+ 5
This is a very good hint for debugging!
19th Oct 2017, 8:46 AM
Limitless
Limitless - avatar
0
good question .Right .. It Structured programming concept called functional decomposition . decomposition means divide your code into subroutines or methods also named functions or procedures in some languages in order to make easier to catch any errors . also decomposition could help you in reusability . if you defined a function that add two numbers in a program (A) , then you can reuse it again whenever you want as a separate function . hope that answered your question
6th Nov 2017, 1:21 PM
AbdElAziz Mahmoud Abdo