Attributes are the one addition to PHP since I started using it just before version 4 that I really strongly dislike. They’re code that’s not code, and they should die in a fire. Unfortunately, they are now unavoidable. Let’s see if Copilot can change my mind: https://copilot.microsoft.com/shares/FSunFCYvqsrXuwQexewGe

#php #programming

Why are attributes a good thing in PHP? I don’t like them because they seem like code that isn’t code. Change my mind.

Shared via Copilot

Why are attributes a good thing in PHP? I don’t like them because they seem like code that isn’t code. Change my mind.