Hacker News new | past | comments | ask | show | jobs | submit login

No problem!

I personally only tend to use + when there's two or maybe three things at most, in any language, and then switch to an API like this if it exists for more complex things, no matter the language. I find it much easier to read. YMMV.

(And you can use + in Rust, but you'd have to call .to_string() on the integer first)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: