myrual

重构的很爽

  •  
  •   myrual · Nov 19, 2011 · 1082 views
    This topic created in 5379 days ago, the information mentioned may be changed or developed.
    在添加新功能的过程中发现重复的代码。重构一下。
    然后以6行代码写出6个函数。

    高阶函数果然带来了简洁。
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3020 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 14:11 · PVG 22:11 · LAX 07:11 · JFK 10:11
    ♥ Do have faith in what you're doing.