I have been a big fan of the Disney series, The Mandalorian, and have been re-watching the series in anticipation of season 3.

One of the aspects of the show I love is the Mandalorian code. As an orphan, adopted by an offshoot religious cult called the Children of the Watch, the main character Din Djarin is raised under a strict warrior’s code.
Mandalorians cannot remove their helmet in front of other beings, and as Din Djarin comments “weapons are part of my religion”. It is a strict, inflexible religion in many ways, but the Mandalorians believe it is also their source of survival. Even after as the season progresses, and Din Djarin’s character evolves, he still strives to keep this code as much as possible.
This idea of sticking to a moral code is very interesting to me.
Personally, I am not interested in being a warrior, and as a middle-aged dad working an office job, it probably isn’t realistic anyway. In any case, I have been a committed Buddhist for almost 20 years, and I suppose in a way that’s become my code. Things such as the Five Precepts, the Bodhisattva Precepts, and a commitment to help all beings, these are important to me.
I think it’s important to have some kind of moral code in one’s life. It’s important to be able to commit to something beyond oneself, and live a life beyond simple indulgence. The flip side of course is that one has to uphold that code too, even when one doesn’t feel like doing it.
But that tension between the realities of one’s life, one’s code and one’s nature is how a person grows. 😄
P.S. If you look at the progression of Mr Spock as a character too, you can see how he gradually changes from a staunchly Vulcan, driven by logic, to something more well-rounded in the movie series, and later in Star Trek: The Next Generation.