News for hackers. Stuff that matters.
Re:Rails 5.0: Action Cable, API mode, and more by tedmiston on Thursday June 30, 2016 @09:05PM (#12013141)
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?
Re:Rails 5.0: Action Cable, API mode, and more by cutler on Thursday June 30, 2016 @09:18PM (#12013195)
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.
Re:Rails 5.0: Action Cable, API mode, and more by aprdm on Friday July 01, 2016 @03:15PM (#12018930)
incorrect. python has array.array which behaves just like in C. You even give the type of the data.