9 Matching Annotations
  1. Oct 2023
    1. These social techniques for code review can be remarkably effective. In one study conducted at IBM (Jones, 1991), code inspection found 65% of the known coding errors and 25% of the known documentation errors, whereas testing found only 20% of the coding errors and none of the documentation errors. The code inspection process may be more effective than walkthroughs. One study (Fagan, 1976) found that code inspections resulted in code with 38% fewer failures, compared to code walkthroughs.

      这让我想起来,小的时候大家遇到难题一起讨论的样子

  2. Sep 2023
    1. So even though you think of f as a function that takes n arguments, in reality it is a function that takes 1 argument and returns a function.

      这确实让人大开眼界,为什么要这样设计呢?

  3. Jul 2023
    1. 当 Kafka 通过多副本机制解决单机故障问题时,同时也带来了多副本间数据同步一致性问题

      分区解决的是吞吐问题,副本解决的是可用性问题(单点故障)

    2. Kafka 保证的是分区有序而不是主题有序。

      一个消息主题(topic)分为多个分区(partition),一个分区(partition)又分为多个段(segment)

  4. Jun 2023
  5. May 2023
    1. 近 30 年的时光如江水一般流淌过去,但每个和祖国一同熬过最困难时期的中国人,仍能清晰地回忆起那个时期,带着复杂的思绪回味它掺杂着酸甜苦辣咀嚼它

      不容易啊