Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
irrational
on Oct 5, 2020
|
parent
|
context
|
favorite
| on:
Python 3.9
I feel the same way about -> in JavaScript. You would think after all these years I'd have come around by now. Nope, I'm still pissed off about that decision.
gecko
on Oct 5, 2020
[–]
Huh? What's this do in JavaScript? (No sarcasm; I'm mostly in this ecosystem, but I have no idea what this is in reference to.)
irrational
on Oct 5, 2020
|
parent
[–]
They are called arrow functions (-> looks a bit like an arrow).
ZephyrBlu
on Oct 5, 2020
|
root
|
parent
|
next
[–]
It's confusing to write it like -> because the actual operator is =>, which is close but not the same.
arthurcolle
on Oct 5, 2020
|
root
|
parent
|
prev
[–]
isn't it =>
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: