Compiled vs Interpreted Languages, which one is better? Explain like I’m 5

Daniel Mesizah
3 min readJun 14, 2022

Compiling the source code and interpreting the source code are the two primary methods for turning source code into machine code. Because of this, before our source code can be executed, we will need to convert it into machine code in some fashion.

Most of the languages you’ll interact with will fall into either category, so this isn’t a big decision. Though, it’s important to distinguish the two. Imagine that you have access to your own computer and that I have access to my own computer, and that you want to write a program for me to run on your computer. To generate machine code in a compiled language for me, all you have to do is write your source code and then process it with an application that is specifically referred to as a compiler.

It doesn’t matter what kind of machine is on the other end because we don’t provide machine code; instead, we send the source code and let the other side handle it, making it more portable and…

--

--

Daniel Mesizah

Coder who likes to share what he knows with the rest of the world