wizardforcel
V2EX  ›  问与答

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

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

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

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