News for hackers. Stuff that matters.
Re:Type hinting for Python by sanderjd on Wednesday January 07, 2015 @01:29PM (#8852249)
This was a bikeshed in the Rust community as well a pretty long time ago. They went with the `List<int>` style, which makes sense in light of C++ programmers being a large target audience of theirs, but that's far less a consideration in Python's case. I personally slightly prefer the square brackets, because it seems to imply "contains" because of its association with retrieving values from containers.

There are no comments on this comment yet.