Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Franciscouzo
on Sept 30, 2017
|
parent
|
context
|
favorite
| on:
Haskell People
You're actually wrong about Python's sum function, it works for anything you can + on BUT strings [0], this is to avoid quadratic behavior with string concatenation.
[0]
https://github.com/python/cpython/blob/5837d0418f47933b2e3c1...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[0] https://github.com/python/cpython/blob/5837d0418f47933b2e3c1...