Could someone ELIFuckingRetarded how to programme arrays? These cunts just never work for me and it's really getting on my tits at this point
>>51528444
>programme arrays
What the shit are you talking about?
Consider the following:
Kill you are self
consider the following:
read a tutorial
Which language?
Don't use arrays. They're the devil's handy work.
>>51528444
what language?java? learn how to use collection classes instead of arrays
>>51528444
I can hook you up for php and javascript arrays.
>>51528529
JS array only has integeres as index.['val0','val1','val2','val3']
JS object can be used instead of an array and the index can also be a string.{'0':'val0','1':'val1','2':'val2','3':'val3'}
>>51529688
>using hashmap instead of an array even if you only need integer indexing
Fucking webdevs
>>51528444
What's the issue?
An array is just a special case of a matrix.
Think about matrices, and follow the rules of matrices instead those of numbers and you'll be fine.
(i.e., unlike numbers, not every matrix in invertible, commutativity generally doesn't apply, not all matrices can be multiplied together, there are divisors of zero, etc.).
What exactly are you having difficulty with?
>>51529798
Don't waste your time, dude. The OP has never done matrix operations, I'm sure.
Even then I usually just use NumPy for matrix computations and barely have to think about it.
>>51529755
i don't see the problem.
>override prototype stuff
>possibillity to add non-int keys
>great chance to complete fuck your length
>reference