Hooks vs Callbacks vs Webhooks

How do I use them and where is the difference?

Martin Thoma
May 31 · 4 min read
Photo by Dan-Cristian Pădureț on Unsplash

The Unix programming philosophy is to do (just) one thing but do it well. Focusing on one core task is hard as developers see and feel their users' pain points and desires. To be able to focus on the core product but allow additional functions we cannot take care of, we develop plugin systems. One way to do this is by giving hooks.