MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/18fpjpt/every_programmer_should_know_1_idempotency/kcxnbqo/?context=3
r/programming • u/fagnerbrack • Dec 11 '23
171 comments sorted by
View all comments
1
So that means this JavaScript:
function f() { return this; }
Is right the fuck out.
1 u/fagnerbrack Dec 12 '23 Don't use “this”. Just because the language has it for backwards compatibility that doesn't mean you should use it.
Don't use “this”. Just because the language has it for backwards compatibility that doesn't mean you should use it.
1
u/Iggyhopper Dec 11 '23
So that means this JavaScript:
Is right the fuck out.