Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Redoubts
on Oct 10, 2021
|
parent
|
context
|
favorite
| on:
Understanding Python through its builtins
Reduce sounds like a really slow way to do string building
globular-toast
on Oct 10, 2021
[–]
Oh yeah, it's horrendous, my point was just that it's functionally equivalent and makes more sense as a function than a method on either object. You can actually call it like this if you want, though: `str.join(separator, iterable)`.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: