Is the cost of php 8 Attributes worth it? #52011
marius-mcp
started this conversation in
Polls
Replies: 1 comment 5 replies
-
If they will /are implemented, can they be implemented so that no extra code gets executed if someone does not use them? Like for example from that pull request, without this being executed:
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I see more and more people want to use them when other faster solutions exist. Example: #52004
In my opinion they should be used only when they are the only option available, the big con being that they need extra code to be executed, resulting in slower execution speed, higher processing load and if not used, in useless overhead.
9 votes ·
Beta Was this translation helpful? Give feedback.
All reactions