One of the great gifts of web development (server-side, front-end, container-ised, offline-first etc.) is that there is always something more to learn - and quite often something new to learn, too.
Seven years ago (late 2015), I finally started to get my head around JavaScript. It had taken three goes to get to this point (2000, 2004, 2013) and, as may be apparent, even on the
third go, I was two years in before everything eventually (at long last!) started to fall into place...
At that point, I figured it was probably a good idea to start keeping a log of... perhaps not everything I learned, but certainly the key stuff.
Over time, the log evolved such that while in any given month I might learn a handful of new things,
one or two of those things might merit highlighting as representing a particularly noteworthy lesson.
And, in amongst that subset of highlighted items, several of those every year might represent a significant broadening of my capability as a web developer.
For the last few years, I've found it helpful to do an end-of-year review to look at all of the new things I've learned. I won't bore you all by reeling out my entire list for 2022, but here are some picks from the top-tier items:
- Web Audio API (not least on Safari which is... inconsistent with other browsers)
- ES5 Constructor Functions via the keyword "new" (+ the Reference Objects they build)
- ES2015+ Classes
- Graceful JS error handling: try{}, catch(err){}, throw and finally{}
and finally... (the one I'm most excited about):
What new JavaScript have you learned this year?