3 Most-Known Error Types on Programming
Error is a scary word in the world of programming. Programmer is the person to be blame if there are errors in an application when used. To avoid such things, you must understand and fix any kind of errors in programming. Almost every application must pass various kinds of error before it can work perfectly, the bigger application being built, and the bigger mistake that could arise. It is difficult to imagine if you could type hundreds line of code without find any error when it runs or compiled in the first time. So here we go the 3 most common error list on the programming:
Syntax Error
The most often error found is error in syntax, which is the code that being typed are against the rule of coding of the programming language that used. A programming language has specific coding rules that must be obey. For example in Pascal or Delphi, each statement must be terminated with semicolon (;). If not doing this, the program will raise an error when run.
Every programming language has keywords, for example is ‘if’ condition, ‘for’ or ‘while’ syntax, function terms and arithmetic like modulus, etc. Mistake in write this keyword will cause syntax error. This syntax error is an error that is most often found in programming, but usually it’s the most easily to fix. Some programming language provides Auto Syntax Check facility, which will provide warning message when you typed a wrong syntax.
Run-Time Error
This mistake type happens when program code runs something that couldn’t be carrying out. For example, a program that tries to access unavailable file, or there is an allocation memory error.
Sometimes Run-Time Error happens because some kind of aspect and not always caused by programming mistake. If you deleted some important file that used by a program, then possibly it will get the Run-Time Error when those program runs. Maximal prevention can be carry out by using validation and user-friendly message.
Logical Error
Logical error is an error type that often difficult to identify its cause. Application that contains this error runs without error message warning, but the error will be detected when the program is tested. Logical Error can be fixed by checking program line and the variable value of the code.
Popularity: 21% [?]
Popularity: 21% [?]



