Home  >  Q&A  >  body text

About namespaces

Why should we avoid conflicts? Isn't it possible to make the class names different to avoid having the same name?

phpcn_u106797phpcn_u1067972272 days ago1218

reply all(3)I'll reply

  • 小草

    小草2018-09-11 14:05:40

    It is still necessary to consider multiple aspects. This is all the experience of predecessors

    reply
    0
  • 小生我怕怕啊

    小生我怕怕啊2018-09-10 18:33:42

    There must be a reason for existence. Just use it if you encounter it.

    reply
    0
  • 邱道长102

    邱道长1022018-08-26 18:04:38

    Do you think you are the only one who develops the project? Who knows what code you wrote in addition to the subsequent project maintenance?

    reply
    0
  • Cancelreply