Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Python lacks a native array too but its list type seems to do just fine. What is it you want to do that you that requires an array?


Python's lists are lists in name only when compared with lists in functional languages. Whilst Python may offer additional array/vector implementations its lists are equivalent to arrays or vectors in other languages such as Ruby.


incorrect. python has array.array which behaves just like in C. You even give the type of the data.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: