Thursday, April 21, 2016

Syntax and sematic errors


What’s the difference between syntax and semantic errors in your code? Which do you think are more difficult to deal with? Describe the process you use to debug code.

Syntax errors are code that the compiler does not understand and semantic errors are code the compiler understand but its not what the programmer intended. I think semantic errors are more difficult because the programmer thinks he knows what they are doing but it is wrong.

No comments:

Post a Comment