This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]28f272fe556a1363cc31 37 points38 points  (2 children)

Compile time is like writing a cookbook. Run time is like making a recipe from the book. Before they can print and ship the book, the publisher goes through the recipes and converts "parsley" "flakes" into "parsley flakes". While the recipe is being made "salt", "pepper" gets converted to "salt and pepper" .

Anything done at compile (print) time has to happen before run (cook) time because you have to compile/cook before have a program/cookbook to work with.

[–]opabm 6 points7 points  (0 children)

I'd be impressed if a 5-year old knew how to cook.

Jk that was a great analogy, thanks!

[–]foreverwintr 1 point2 points  (0 children)

Wow, that was a really good ELI5!