this post was submitted on 13 Nov 2024
794 points (95.9% liked)

Greentext

4402 readers
1273 users here now

This is a place to share greentexts and witness the confounding life of Anon. If you're new to the Greentext community, think of it as a sort of zoo with Anon as the main attraction.

Be warned:

If you find yourself getting angry (or god forbid, agreeing) with something Anon has said, you might be doing it wrong.

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 3 days ago (10 children)

Could be worse, could be programming Javascript (or Typescript).

[–] [email protected] 7 points 3 days ago* (last edited 2 days ago) (3 children)

A text file with a script block and nothing else, containing a console log, is all you need. You already have all the boilerplate to run it in any computer. No extra dependencies, no installing anything. Literally just a notes editor app. This is a valid HTML file:

<script>
console.log("Hello World")
</script>
[–] [email protected] 0 points 2 days ago (1 children)

By that logic we should all program with .bat files

[–] [email protected] 1 points 2 days ago

Bash and bat scripts are really useful for that reason. You're making a bad generalization from my comment. But the premise from OP seems to be that a language's value is how hard it is to get started.

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