theFibonacciEffect@feddit.de to Programmer Humor@lemmy.ml · 1 year agovimfeddit.deimagemessage-square17fedilinkarrow-up1173
arrow-up1173imagevimfeddit.detheFibonacciEffect@feddit.de to Programmer Humor@lemmy.ml · 1 year agomessage-square17fedilink
minus-square𝘋𝘪𝘳𝘬@lemmy.mllinkfedilinkarrow-up2·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-up2·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.