News for hackers. Stuff that matters.
Re:Python should not be taught as a foundational language by kzrdude on Thursday June 25, 2020 @09:21AM (#23640403)
This is wrong, the Python list supports random access and random access inserts and removals. It's a dynamic size array underneath, and contiguous, so it's pretty much the same as a std::vector of Python objects.

Also notably a Python list does NOT have an efficent pop operation at both ends, only on the far end.

Doc: https://docs.python.org/3/library/stdtypes.html#list

Re:Python should not be taught as a foundational language by detaro on Thursday June 25, 2020 @09:27AM (#23640462)
None of what you say seems to contradict what I said, so what exactly in my comment is wrong?
Re:Python should not be taught as a foundational language by kzrdude on Friday June 26, 2020 @06:17AM (#23650422)
I read that the list:

> but not from an Array (e.g. inserting/removing things at random positions)

But it does support those operations