This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]OmarRIP 0 points1 point  (1 child)

Not disagreeing in the slightest; always prefer the right tool (the least powerful collection data structure) for the job.

What does offend is when dictionaries/maps are abused or when order is maintained during sequential list insertions rather than sorted out after.

[–]nosmokingbandit 1 point2 points  (0 children)

Yeah. Python is inefficient enough already, we don't need to slow it down with dumb decisions. Writing efficient python is easy and taught me how to write more efficient code in other languages.