Third Disadvantage of Script Languages

A compiler catches syntax errors at design time but syntax errors in a script cannot be caught until runtime. Even expert programmers make syntax mistakes when they write code. Both a design-time compiler and a runtime script engine expect the code you write to follow certain rules of syntax. For example, if you call a function that displays a message to the user, you must use the proper name for the function, and pass the parameters that the function expects in the proper order. If you don't do this, the compiler or script engine will complain at you. With a compiled language, such inevitable mistakes are caught at design time, and compiler won't complain the program until the programmer fixes them. However, since a scripting language is not compiled until runtime, syntax errors might slip through for your users to see.