Personally I don't think the "suicide" explanation is plausible or insightful for Code.
Neither do I. But I do believe his life situation may have contributed to his almost pathological devotion to hard core "survival" trips. A sort of
everything else stinks, let's do THIS and show I've got what it takes to make it kind of response.