this post was submitted on 21 Apr 2024
718 points (97.0% liked)

Programmer Humor

32472 readers
857 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 27 points 6 months ago (10 children)

It’s not a scripting language?

[–] [email protected] 4 points 6 months ago (4 children)

Depends on how you define "scripting language".

Older techs remember when it was only browser-based and they thought of, and perhaps still think of, "scripting languages" as something that would run from some command-line or another. Starting a GUI browser to run a mere script was a ridiculous concept. (There was also that JavaScript had no filesystem access. At least initially. And then it became a gaping security hole, but I digress.)

Today, there exist command-line accessible versions of JavaScript but even there (I figure) most people wince and choose anything else instead. Maybe even Perl.

But another definition of "scripting language" is "(any) interpreted programming language" and where it runs is unimportant.

From that perspective, sure, JavaScript qualifies. And so does QBASIC.

[–] [email protected] 7 points 6 months ago (2 children)

A script is just a file that can execute a series of commands without the need to compile

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago)

They compile in some point of time because CPU don't know shit about Javascript. But that is for some other discussion.

Edit: typo

load more comments (1 replies)
load more comments (2 replies)
load more comments (7 replies)