Tariq on Nostr: I give up. It's 2024 and I can't create an m×n array in #JavaScript in about 10 ...
I give up.
It's 2024 and I can't create an m×n array in #JavaScript in about 10 characters of code.
What has JavaScript been doing the last 20 year? Arrow notation? Promises? Typescript? Ecma something? JavaScript package bundling?
Bonkers.
( Even core #python doesn't have 2d arrays )
💀
Published at
2024-07-20 16:28:56Event JSON
{
"id": "5c7f3835268cf11c6054e714dea1e36add6c9c9c039650c6a891d5204576dcf5",
"pubkey": "340694a5c7115fe0918fe7ec9038786592e3804f1a0e457e3e09d03ecfdadc6b",
"created_at": 1721492936,
"kind": 1,
"tags": [
[
"t",
"javascript"
],
[
"t",
"python"
],
[
"proxy",
"https://mastodon.social/users/rzeta0/statuses/112819761075132353",
"activitypub"
]
],
"content": "I give up.\n\nIt's 2024 and I can't create an m×n array in #JavaScript in about 10 characters of code.\n\nWhat has JavaScript been doing the last 20 year? Arrow notation? Promises? Typescript? Ecma something? JavaScript package bundling?\n\nBonkers.\n\n( Even core #python doesn't have 2d arrays )\n\n💀",
"sig": "7d9747a91357be8d1054ad7faaf103d11009df89a5cefd0e99f19c824195ff827249cc43b9df1c43fa0df762e3093a43ba3e80b84c5e38153797c82d20b53da1"
}