2 ms·
> Then why isn’t there a function to flatten a list in Python? There's a function to flatten an arbitrary iterable into a flattened iterable and a function to
by dragonwriter 7y ago
> Then why isn’t there a function to flatten a list in Python?
There's a function to flatten an arbitrary iterable into a flattened iterable and a function to turn any iterable into a list.
> I can write software in Scala or OCaml or Racket in less than half the time of Python, while also being 10x faster.
Many people, on many types of problems, find the reverse of the first relationship.
- mruts 7y agoWhat tangible advantages does Python have compared to Racket? The only thing I can think of are the high quality data science libraries.