Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
emerged
on Dec 24, 2020
|
parent
|
context
|
favorite
| on:
Ask HN: What Lived Up to the Hype?
I feel it’s worth giving credit to Python f-strings in that case. They blew my mind in terms of convenience vs printf.
rPlayer6554
on Dec 24, 2020
|
next
[–]
Python has a few cool things like that. List comprehension blows my mind at how elegant it is.
abdusco
on Dec 25, 2020
|
parent
|
next
[–]
Agreed. Same with dict, set and generator comprehensions. I wish more languages included that feature.
danfang
on Dec 24, 2020
|
prev
[–]
In addition to Python format strings: Javascript template strings:
`I am ${variable.foo} ${variable.bar}.` - Life changing!
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: