• 2 Posts
  • 1.83K Comments
Joined 2 years ago
cake
Cake day: August 9th, 2023

help-circle
  • No, I’m trying to get people to think. If I laid out my full opinions on this subject (compilers and interpreters aren’t that different anymore, even machine code often runs more like bytecode in many ways, “scripting” is a term that hides what’s actually going on, etc.), then people get into endless debates. My questions are designed to pick apart assumptions.

    Admittedly, people didn’t appreciate when Socrates did this shit, either.



  • Scripting languages are often considered to be very high level and can commonly run without compilation. Making them great to automate tasks or create a simplified interaction/abstraction layer to a more complex program.

    Then Python is not a scripting language.

    Programming languages usually have much lower level access, and by extension they tend to be more complicated. In exchange for that, you get much more control.

    Would you consider C to be more or less complicated than Perl?








  • That is not how Python works. There are very few languages that work by executing line-by-line anymore. Unix shell scripts are one of the few holdouts. JavaScript also does it to a certain extent; the browser starts executing line-by-line while a compiler step works in the background. Once the compiler is done, it starts execution of the compiled form right where the line-by-line execution left off. It helps JavaScript be more responsive since it doesn’t have to wait for the compiler to finish.