791
you are viewing a single comment's thread
view the rest of the comments
[-] arc@lemm.ee 3 points 14 hours ago

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

[-] jol@discuss.tchncs.de 7 points 12 hours ago

An text file with a 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>
[-] Lysergid@lemmy.ml 1 points 7 hours ago

I think you forgot to pollyfill your console.log and now you have some error in some script in some callback

[-] Seeders@sh.itjust.works 1 points 8 hours ago* (last edited 8 hours ago)

I love javascript. Shit. Just. Works.

Even if you, the programmer, are a complete fucking moron, by god javascript will try to make your program run as long as possible.

[-] herrvogel@lemmy.world 1 points 2 hours ago

Javascript is a beautiful language where '3' - 1 = 2 but '3' + 1 = '31'.

[-] ReluctantMuskrat@lemmy.world 2 points 5 hours ago

Even if you, the programmer, are a complete fucking moron, by god javascript will try to make your program run as long as possible.

I mean it might not work as intended but it'll run and not complain!

[-] Seeders@sh.itjust.works 1 points 5 hours ago

god damn right

this post was submitted on 13 Nov 2024
791 points (96.1% liked)

Greentext

4384 readers
1401 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