myrual

重构的很爽

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

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