Replies: 1 comment
-
The pattern of marking code with these designations is found in various programming contexts, for example, In React: In Rust: In Swift: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
"Deprecated" originally meant "not recommended" in standard English, but, as phpDoc's docs itself explains, has come to mean in tech, "slated for removal", so we can't use @deprecated to mean only the former and not the latter.
It would be useful to have a standard that IDEs could recognize (and maybe specially highlight) that means "use this with caution / make sure you want to use/do this." I've seen IDEs, for example, employ this with SQL SETs without conditions, but those are hard-coded inspections, not generated from phpDoc.
Beta Was this translation helpful? Give feedback.
All reactions