News for hackers. Stuff that matters.
Re:The Myth of Smart Pointers by bw86 on Friday December 01, 2023 @04:38AM (#38484927)
And even the 1000 lines only work if there never is another developer touching the code. I can easily hold my own invariants in my head at that size, but if anyone else also contributes, there will be unknown invariants that I will miss.

Smart pointers are, besides other advantages, also a great communication tool.

That said, I prefer Haskell or Rust in that regard :)

There are no comments on this comment yet.