myrual

重构的很爽

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

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