User Guide

Rubber Duck Debugging is a programming methodology where you explain the task you are performing
with all the details you are trying to achieve, line-by-line. By describing the problem the programmers
force themselves to express their ideas in a clear way and step by step sequence. This explanation is
called “telling the duck your problem”.
When a coder does so, the bug will be easily spotted as you will be forced to face the logic problems you
might have ignored previously. All with the help of rubber duck programming.
Once you understand debugging you are on a path to becoming a better coder and problem solver.
🦆
Computer Programming Jargon
Syntax is the rules of how a programming language works. To put it simply, the syntax of a
programming language defines how you should write the statements in a program. It is a set of rules
that tell you what combinations of symbols are valid or invalid.
Here is an example of the construct of an English sentence. E.g. - What is your name?
Here we put the pronoun first, then the verb and so on. We don’t say “Name your is what?” or you
might sound like Yoda.
Forward 10; is valid
10 Forward; is invalid
A Syntax error is caused by how you wrote your code that breaks the rules of the syntax to make the
code invalid.
Logical errors are problems with the logic where the program cannot make sense of what it was asked
to do. If a program works differently than you expected it to work, there is a good chance that there’s
a logical error somewhere.
45