fromdeath and gravity7 hours agoInheritance over composition, sometimesThe organization of the code using subclasses and layers of delegation can complicate debugging, leading to the suggestion of simplifying the implementation by using functions instead.
fromdeath and gravity2 months agoProcessThreadPoolExecutor: when I/O becomes CPU-boundAfter increasing the number of threads in a ThreadPoolExecutor, you might hit a limit where CPU utilization maxes out but speed does not improve.Productivity