wizardforcel
V2EX  ›  问与答

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

  •  
  •   wizardforcel · Mar 13, 2016 · 3275 views
    This topic created in 3893 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   ·   4539 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 03:39 · PVG 11:39 · LAX 19:39 · JFK 22:39
    ♥ Do have faith in what you're doing.