From bba161afbc96cade2c2c32f5e56a8c0c470c55e7 Mon Sep 17 00:00:00 2001 From: Rohan Saha Date: Fri, 12 Oct 2018 11:49:28 +0530 Subject: [PATCH] Update index.md Added more information to the advantages of compiled languages and to the disadvantages of interpreted languages for a better understanding. --- .../compiled-versus-interpreted-languages/index.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/src/pages/guide/english/computer-science/compiled-versus-interpreted-languages/index.md b/client/src/pages/guide/english/computer-science/compiled-versus-interpreted-languages/index.md index 28a00d7f85..fabe044910 100644 --- a/client/src/pages/guide/english/computer-science/compiled-versus-interpreted-languages/index.md +++ b/client/src/pages/guide/english/computer-science/compiled-versus-interpreted-languages/index.md @@ -41,7 +41,8 @@ e.g. Python can be executed either as a compiled program, or as an interpreted l ### Advantages and Disadvantages #### Advantages of Compiled Languages -Programs compiled into native code at compile time usually tend to be faster than those translated at run time, due to the overhead of the translation process. +* Programs compiled into native code at compile time usually tend to be faster than those translated at run time, due to the overhead of the translation process. +* All the errors are provided to you at once. This allows the programmer to correct all the mistakes at once and recompile the code for execution. #### Disadvantages of Compiled Languages The most notable disadvantages are :- @@ -52,7 +53,8 @@ The most notable disadvantages are :- An Interpreted language gives implementations some additional flexibility over compiled implementations. Because interpreters execute the source program code themselves, the code itself is platform independent (Java's byte code, for example). Other features include dynamic typing, and smaller executable program size. #### Disadvantages of Interpreted Languages -The most notable disadvantage is typical execution speed compared to compiled languages. +* The most notable disadvantage is typical execution speed compared to compiled languages. +* The program stops executing when the first error is encountered; the program (script) continues to execute until the next error is encountered or till program termination. #### More Information: