As it’s time for my morning coffee (the coffee not the biscuits), it’s as good a time as any to share my one of my favourite #programming analogies
(narrated from a #Python-viewpoint but general enough for #coding in general)
The Coffee Machine - Function analogy
Let’s make some coffee…
[read on]
/1
A function is like a coffee machine
– 1 –
It needs inputs to work (arguments):
— water
— electricity
— ground coffee beans (or pods if so inclined)
You can choose to put different blends of coffee into your machine (choice of what argument to pass to function)
2/
@s_gruppetta good eye 👁