Betrayed by WordPress
PHP makes sense to me1:
- Where's the data?
- What do I want to do with the data?
- Plunk the data in between some markup.
PHP has some of those as well, and WordPress has its own set of functions and classes. The difference is I can read that. I can go into any WordPress function and figure out what makes it tick. Try that with an npm package.
console.log can go into the same bin as
var_dump, it only shows the smallest bit of information, and the rest of the picture is hidden in obscurity.
1 Yes, I'm aware that it's more complicated than that, and that I just diminished my career into three steps. It's my blog, if you want to add more steps, feel free on your own post.