Sam
09/23/2023, 1:37 PMYoussef Shoaib [MOD]
09/23/2023, 2:11 PMvalue class
with the atomic reference as its underlying value. It makes it very clear that this implementation is barely anything more complicated than the initial top-level stack where you just had a reference to the head.
Also, hate to be that guy, but medium isn't really the friendliest platform for readers. I get it from a writer's perspective, but just FYI some people are put off when they see a medium article. Just my personal opinion though.Sam
09/23/2023, 2:19 PMYoussef Shoaib [MOD]
09/23/2023, 2:22 PMEdoardo Luppi
09/23/2023, 3:21 PMtailrec
once 😞Sam
09/23/2023, 3:30 PM