wizardforcel
V2EX  ›  问与答

谁有特别的函数命名技巧?

  •  
  •   wizardforcel · Mar 13, 2016 · 3092 views
    This topic created in 3776 days ago, the information mentioned may be changed or developed.

    像 golang 这种不支持重载的语言,如果我要写个带好几个构造器的 struct ,怎么命名可读性会更高?

    2 replies    2016-03-15 11:43:02 +08:00
    chmlai
        1
    chmlai  
       Mar 13, 2016
    学 OC 那样
    wizardforcel
        2
    wizardforcel  
    OP
       Mar 15, 2016
    @chmlai 我没写过 OC 。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3919 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 05:07 · PVG 13:07 · LAX 22:07 · JFK 01:07
    ♥ Do have faith in what you're doing.