Re:Reasons Python Sucks
by brudgers on Tuesday December 18, 2018 @04:03PM
(#18710546)
Requiring a type definition, Python's Array type more closely matches Java and C# Lists than Python's List type.
In Python, Arrays are sequence types and behave very much like lists[1] In other words, even in Python, arrays have similar semantics to Javascript Arrays not Java Arrays.
In Python, Arrays are sequence types and behave very much like lists[1] In other words, even in Python, arrays have similar semantics to Javascript Arrays not Java Arrays.
[1] https://docs.python.org/3.4/library/array.html