Dave DeLong on Nostr: It kind of blows my mind that there's no simple way to play around with a javascript ...
It kind of blows my mind that there's no simple way to play around with a javascript module. I can't just make a .js file, import the other code, and run it. I seem to have to resort to some sort secondary build system, or run things in a browser w/ an html file.
This seems so … backwards. Why does it take so much ceremony to just run some code? Why doesn't it work out-of-the-box?
Published at
2023-12-21 21:36:44Event JSON
{
"id": "409dd43fb033bc5e0830d1320e30010a2a91388e12d478992007613b5cbacf0b",
"pubkey": "ec75b63e3a9cda85714089f8d92bf564cb2bbcf14408581463b080ec98b9e536",
"created_at": 1703194604,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/davedelong/statuses/111620561623937071",
"activitypub"
]
],
"content": "It kind of blows my mind that there's no simple way to play around with a javascript module. I can't just make a .js file, import the other code, and run it. I seem to have to resort to some sort secondary build system, or run things in a browser w/ an html file.\n\nThis seems so … backwards. Why does it take so much ceremony to just run some code? Why doesn't it work out-of-the-box?",
"sig": "fbf046ff2eadfe663263e3e91e2f23834beb3e2bf6694c83533e86e91357682de396df2435d62e3eac1b5f88f9cea424b6a931f5ab4b4a98508c5c58aca52bb2"
}