As someone who's more proeficient on the backend side of things, CSS has always scared me. Today, after spending some time trying to override the styles of a component from an external library, I learned about a CSS feature that can be very helpful: the @layer rule!
Maybe it's just me, but I think landing pages are so much harder than actual coding. I could write logic for days, but I can't write a catchy headline. Why is that?
They create the illusion of organization while holding you to a verbose structure that ultimately constrains the natural flow, with no other upsides beyond making release notes slightly prettier.
In PHP arrays can be destructured using the `[]` (as of PHP 7.1) or the `list()` language constructs. However, today I learned that you can use array destructuring as the righthand part of a foreach loop.