I always think that this joke sums it up perfectly:
"The programmer's wife sent him to the grocery store. Her instructions were: 'Buy butter, see if they have eggs. If they do, buy 10". So he bought 10 packs of butter."
HAHA order of operations and specificity.
I remember when I was first learning JS, my friends told me this little anecdote emphasizing the importance of "return"
"You give your roommate a list of things to do:
At the end of the day, he returns with nothing. But hey, you got a red door."
You didn't specify if he had to RETURN HOME WITH THE PIZZA so... ¯_(ツ)_/¯
That's a great way to remember specificity, thanks!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I always think that this joke sums it up perfectly:
"The programmer's wife sent him to the grocery store. Her instructions were: 'Buy butter, see if they have eggs. If they do, buy 10". So he bought 10 packs of butter."
HAHA order of operations and specificity.
I remember when I was first learning JS, my friends told me this little anecdote emphasizing the importance of "return"
"You give your roommate a list of things to do:
At the end of the day, he returns with nothing.
But hey, you got a red door."
You didn't specify if he had to RETURN HOME WITH THE PIZZA so... ¯_(ツ)_/¯
That's a great way to remember specificity, thanks!