[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Could someone ELIFuckingRetarded how to programme arrays? These
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 13
Thread images: 1
File: arraysMan.png (4 KB, 757x146) Image search: [Google]
arraysMan.png
4 KB, 757x146
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
Thread replies: 13
Thread images: 1

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.