Life is like a Markov chain,
         your future only depends on what you are doing now,
                               and independent of your past.

04 2018 档案

摘要:No routine should exceed a page. Modularity' s advantages: Much easier to debug small routines than big ones Work simultaneously Places certain depend 阅读全文
posted @ 2018-04-22 19:13 Hu_Yan 阅读(187) 评论(0) 推荐(0)
摘要:一个分布式系统无法再同一时间保持一致性、可用性以及针对分区故障的容错性。 应用程序的业务逻辑要与特定于应用程序的面向对象模型进行交互。运行时,应用程序会操作这些类的实例。 业务逻辑不是在数据库中执行的;它是在Java中实现并在应用层中执行的。这使得业务逻辑可以使用面向对象的概念,比如继承和多态。 两 阅读全文
posted @ 2018-04-21 22:13 Hu_Yan 阅读(231) 评论(0) 推荐(0)
摘要:Four basic rules of recursion: Base cases Making progress Design rules: Assume that all recursive calls work. Compound Interest Rule: Never duplicate 阅读全文
posted @ 2018-04-17 23:27 Hu_Yan 阅读(188) 评论(0) 推荐(0)