wizardforcel
V2EX  ›  问与答

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

  •  
  •   wizardforcel · Mar 13, 2016 · 3029 views
    This topic created in 3721 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   ·   1037 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 18:59 · PVG 02:59 · LAX 11:59 · JFK 14:59
    ♥ Do have faith in what you're doing.