4 ms·
Learned something new. I feel though it's better if most programmers didn't know about this. It looks like cursed knowledge.
by byby 3y ago
Learned something new. I feel though it's better if most programmers didn't know about this. It looks like cursed knowledge.
- dmytrish 3y agoIt's not exactly cursed knowledge, you just have to have enough judgement to understand where it's appropriate. Trying to do magic and patch something on a panic and retry is cursed indeed. If it's about cleaning up resources of a thread and logging this somewhere, then there's nothing cursed about this.