❝HN 片单

"Clean" Code, Horrible Performance

Molly Rocket · 2 位 HN 用户推荐 · 2023–2024

  1. (If you must have a pattern to study though, the strategy pattern is the only one worth it. Often times, a simple switch statement is all you need for implementing the stategy effectively.) [0] [link] [1] [link] [2] [link] [3] [link]
    — GuestHNUser, 2023
  2. Here’s a great example of why it could be ineffective: [link]
    — FlyingSnake, 2024

← HN 片单