theFibonacciEffect@feddit.de to Programmer Humor@lemmy.ml · 1 year agovimfeddit.deimagemessage-square4fedilinkarrow-up112
arrow-up112imagevimfeddit.detheFibonacciEffect@feddit.de to Programmer Humor@lemmy.ml · 1 year agomessage-square4fedilink
minus-square𝘋𝘪𝘳𝘬@lemmy.mllinkfedilinkarrow-up0·1 year agoI like my arrays iterable, that’s all I need to know. No matter if the index is 0, 1, ‘foo’, or a serialized array (oh wait, no, that’s PHP).
minus-squareFonzie!@ttrpg.networklinkfedilinkarrow-up1·1 year agoThat’s not an array, that’s a string. Someone is converting an array to a string and is using that as key. A lot of languages could do it, and none of them should.
I like my arrays iterable, that’s all I need to know. No matter if the index is 0, 1, ‘foo’, or a serialized array (oh wait, no, that’s PHP).
That’s not an array, that’s a string.
Someone is converting an array to a string and is using that as key.
A lot of languages could do it, and none of them should.