Is it safe to have 1 letter class names in PHP, e.g A, B, C

前端 未结 7 1951
野的像风
野的像风 2021-02-07 19:13

Is it safe to have single letter class names like A, B, P, etc?

相关标签:
7条回答
  • 2021-02-07 19:40

    It's interpreter-safe. But it may not keep you "safe" from fellow programmers who have to support it :)

    Out of curiosity, what would be the compelling reason for that? I assume there must be one.

    0 讨论(0)
提交回复
热议问题