gregorni on Nostr: As much as it conflicts with convention, I actually think arrays starting at 1 in Lua ...
As much as it conflicts with convention, I actually think arrays starting at 1 in Lua is more programmer-friendly.
#Lua #arrays #programming #ProgrammingLanguages
Published at
2024-01-02 20:43:01Event JSON
{
"id": "26de094312f750026a9ea0f35f81ab0791c10a9b3eedeff92ed8e2d432a7658a",
"pubkey": "c11aadc9287b869c37c47b8f7a96ba91e934160714ad9ee348a65198253ca4d0",
"created_at": 1704228181,
"kind": 1,
"tags": [
[
"t",
"lua"
],
[
"t",
"arrays"
],
[
"t",
"programming"
],
[
"t",
"programminglanguages"
],
[
"proxy",
"https://fosstodon.org/users/gregorni/statuses/111688298118911670",
"activitypub"
]
],
"content": "As much as it conflicts with convention, I actually think arrays starting at 1 in Lua is more programmer-friendly.\n\n#Lua #arrays #programming #ProgrammingLanguages",
"sig": "7d66aa0ddd803fccd6e4502365d875fda4f4a86ea879bd4ec82eca9f68bcf3d02cbbf48b12e48ed87581f60940e6768dfbdbf91d02ab0df5be12758cfb20b064"
}