Can't help that the Jedi Code that is in vogue at the time of TOR is a stupid interpretation. And I can't even lay the blame for that at the feet of Odan-Urr, because I don't think he meant it to be as absolute and concrete as it is written.
The original code that was drafted on Tython and used before the Great War was much better:
Emotion, yet peace.
Ignorance, yet knowledge.
Passion, yet serenity.
Chaos, yet harmony.
Death, yet the Force.
It acknowledges the existence of five universal truths, and it then strives to overcome them. The current interpretation of Odan-Urr's text, whether it was the intention or not, denies the very existence of those universal truths.
It is said that the wise man knows nothing, but always strives to learn more, and this is even affirmed in a quest in game, as I recall. Yet, the Jedi Code denies the existence of Ignorance, which is merely the lack of knowledge. Everyone is ignorant.
Now, look at how Jedi in the movies and in the time period of the KOTOR games look at the Jedi Code, and then look at me with a straight face, and tell me that they're not strictly interpreting the code. You can't do it, because that's exactly what is happening. Jedi are emotionally stunted individuals, and that was never more true than with Anakin Skywalker, who never learned to deal with emotion in healthy ways; he learned only to suppress them. And those emotions boiled over and caused his downfall. He chose the path, but the Jedi never gave him the tools to find another path himself.