![]() ![]() ![]() What I hate is suggesting they're universally more readable, or that they're objectively better in basically all cases. So since I'm not entirely in the pro- => camp, I must be entirely in the opposition camp. And these days, most people aren't interested in nuanced opinions in the middle. It's just that I don't unreservedly endorse them as the new function. I think there are definitely some important benefits. You might find that surprising for me to say, since most people seem to assume I hate arrow functions. It's a far more nuanced topic than just a one-to-one correspondence. Whatever your preferences around =>, to suggest that it's only a better function is to be plainly reductive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |