DEV Community

loading...

Discussion on: 🍿 Keeping Up With the JavaScripts

Collapse
darkwiiplayer profile image
DarkWiiPlayer

Re: Hooks

One thing about software that always amazes me is how often the wheel is re-invented (or invented in parallel) and given different names.

A procedural programmer "hooks" into some other code; the functional programmer passes a continuation and the event-oriented coder passes a callback. They all mean the exact thing and serve the same purpose, yet the terminology changes based on the background of whoever gets to name them for any one particular library.

This happens a lot, with many different concepts, and can be confusing to beginners, but it's not likely to go away just for that reason.