1. Name things meaningfully
When you name a variable the name you give it must tell us that variable's whole life story. It must tell us...
For further actions, you may consider blocking this person and/or reporting abuse
Only thing better than a well named variable is a variable that doesn't need a name at all. Many of these functions could be written in a point-free style and composed or piped together. Add some higher order functions to simplify, e.g.
filterPetsBy
, and you'd have an excellent follow up to a great beginner article. 👏👏👏👏Yes you are correct sir
+1 for the code potatoe.
Thank u !
the
getCatsAnd...
method kind we called anensure...
and everyone new that these methods did stuff that was too bullshit to call properly.Thanks for the potatoe
You got the potato from the "Potato Pirate" card game right?