Re:Most popular Python packages now support Python 3
by c-cube on Saturday December 02, 2017 @01:53PM
(#15833331)
Sets don't need to be native in languages that are both fast and have a proper type system. For example, rust and OCaml have a standard set in their stdlib, but it's not builtin.
Of course, go lacking generics makes it impossible to implement a decent set type in it.
[ Parent
| on HN ]
Re:Most popular Python packages now support Python 3
by ZenoArrow on Sunday December 03, 2017 @08:10AM
(#15837431)
I wouldn't hold up OCaml as an example of how to structure your standard library, the lack of standardisation in its standard library is one of the remaining weak points of an otherwise excellent language. For those that don't know, there are multiple standard libraries for OCaml, each with different trade-offs, leading to unnecessary fragmentation.
Re:Most popular Python packages now support Python 3
by c-cube on Sunday December 03, 2017 @11:19AM
(#15838182)
Agreed, some things are still missing (in particular my pet peeve, iterators; also unicode strings). But for what it provides, OCaml's stdlib is reasonably well designed and performs well.
Re:Most popular Python packages now support Python 3
by xapata on Saturday December 02, 2017 @07:37PM
(#15835254)
Set literals are nifty. If they're in stdlib rather than built-in, they can't be literal syntax.