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

Don't need to skip learning format. f-strings are a terser version of the .format call with a bit of superset features thrown in.



Ah, yes, I just meant they shouldn't focus on using `.format` and should instead just use f-strings directly. Didn't mean to imply that they were totally separate things, though that's definitely how my phrasing came across.




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

Search: