zoukankan      html  css  js  c++  java
  • genericizing-code

    genericizing-code

    genericizing-code

    原文链接: http://ericasadun.com/2015/07/31/genericizing-code/

    Prefer functionality over implementation

     Focus your code on the connections between data creation and data consumption instead of the particulars of specific types.关注于数据创建和数据消费的关系

    It’s never too late to refactor

    Watch out for repeated code across different types

    One protocol does not rule them all

    Differentiate type constraints from parameter constraints

    Conform at the highest possible level

    Design with collections in mind

  • 相关阅读:
    JS跨域
    Cookie的Domain
    Mvc自定义分页控件
    SQLServer日期函数
    IIS里面网站停止了,不能启动
    JS面向对象
    我已下定决心,回郴州老家发展
    支持向量机
    无监督降维:主成分分析法
    机器学习概念--偏差方差、Pipeline及模型正则
  • 原文地址:https://www.cnblogs.com/xilifeng/p/4706280.html
Copyright © 2011-2022 走看看