Hello everybody, this is just a quick PSA. Here goes: STOP NAMING YOUR FUNCTIONS fetch()
!
Between the Fetch API, and the wide variety of modules involving functions named fetch()
, we don't need any more functions named fetch()
.
Here are some alternatives:
fetch_user_profile_from_email()
load_remote_web_content()
something_descriptive_that_will_challenge_your_typing_speed()
literally_anything_other_than_fetch()
there_are_a_lot_of_words_in_english_which_are_not_the_word_fetch()
But I digress.
In most of my years since I stopped programming C primarily, namespace confusion hasn't been a huge problem. This fetch()
business, however, is absolutely a massive namespace confusion, and we should stop it. Please. I'm begging you.
Top comments (0)