search

Home  >  Q&A  >  body text

Is it necessary to add an extra * in a multi-line comment?

/*

Zhejiang Soft Examination Network

You can register for the exam

*/

/*

*Zhejiang Soft Examination Network

*You can register for the exam

*/


Aの汉Aの汉2687 days ago1364

reply all(4)I'll reply

  • WDP

    WDP2017-09-08 10:00:23

    It’s best to add it for the sake of standardization of the code


    reply
    0
  • Aの汉

    Oh, that's it. But I checked it on Baidu and it said it applies to the beginning of the web page. I don't think there is any need to add other things.

    Aの汉 · 2017-09-10 07:55:40
  • 正念的奇迹

    正念的奇迹2017-08-20 08:48:36

    This is not necessary, but it is helpful for code standard

    reply
    1
  • Aの汉

    Aの汉2017-08-20 08:08:42

    It turned out to be comments applied at the beginning of the document, functions, and classes

    reply
    0
  • Aの汉

    Aの汉2017-08-20 08:05:33

    I think this depends on personal preference

    reply
    0
  • Cancelreply