DEV Community

Discussion on: Explain the difference between compiler and interpreter like I'm five

Collapse
 
itachiuchiha profile image
Itachi Uchiha

Being a lover is a kind of interpreted language. Marriage is a kind of compiled language. Behind these, love is an interpreter. If you're a compiler or interpreter, that doesn't matter. In both situations, you have an interpreter.

Other things just an output.

Of course, this is a stupid example. But you feel more flexible with a lover. Your decisions will be interpreted when you need to use them.

While you're married, you can't flexible. Your all decisions will analyze first and then compile.

I don't know, am I crazy? What the heck is that example?

Collapse
 
ogzhanolguncu profile image
Oğuzhan Olguncu

If I had any previous knowledge about compilers and interpreters, I would definitely forget every bit of it after that example 😄.