• 0 Posts
  • 2 Comments
Joined 2 years ago
cake
Cake day: August 18th, 2023

help-circle

  • Without one, the run time system, must assign some semantics to the source code, no matter how erroneous it is.

    That’s just not true; as the comment above points out, Python also has no separate compilation step and yet it did not adopt this philosophy. Interpeted languages were common before JavaScript; in fact, most LISP variants are interpreted, and LISP is older than C.

    Moreover, even JavaScript does sometimes throw errors, because sometimes code is simply not valid syntactically, or has no valid semantics even in a language as permissive as JavaScript.

    So Eich et al. absolutely could have made more things invalid, despite the risk that end-users would see the resulting error.