You are viewing a single thread.
View all comments
3 points

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

permalink
report
reply
7 points

An 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>
permalink
report
parent
reply
0 points

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

permalink
report
parent
reply
1 point
*

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.

permalink
report
parent
reply
2 points

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!

permalink
report
parent
reply
1 point

god damn right

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply

Greentext

!greentext@sh.itjust.works

Create post

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:

  • Anon is often crazy.
  • Anon is often depressed.
  • Anon frequently shares thoughts that are immature, offensive, or incomprehensible.

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

Community stats

  • 6.9K

    Monthly active users

  • 976

    Posts

  • 23K

    Comments