Many new programmers are often confused about a very important concept in programming: the variable lifespan. For example, one could not understand why the variable “a” is “not defined” when it’s clearly there:
1 2 3 4 5 6
int x=3; { int a=4; }
a; //Compile Error
Another problem newcomers face when they are first presented callback functions are that they are not able to convert sequential code into callback functions. When the program gets complicated, it is common for a professional programmer to combine the callback functions and sequential coding. When this happens, newcomers may not know the correct order of execution, leading to frustration.
One more problem comes from the “impossible” mission for coding: naming things. Professional coder might use what are called “defensive programming” by naming variables weirdly, like just calling them qfawpssht etc.
In order to make programming more accessible to beginners, we have developed the latest programming language: CLang!