The decision to use Crystal code for templating in Lucky stems from a desire for simplicity and ease of use. By avoiding traditional HTML embedding, the framework allows for straightforward refactoring and layout management, ultimately reducing the learning curve for developers. This innovative approach emphasizes functionality over convention, showcasing a unique philosophy in framework design.