Coding is very useful for parts of Physics. But if you look at the core of the physics skill - being able to build theories and models of new systems - you will see that almost all the fundamental discovery work in Physics was done before the era of digital computers. And despite of now a lifetime of usage of inane amounts of computing powers in Physics, we have hardly discovered any foundational results.
Sure numerical analysis is critical for building intuition about complex systems. And it is a necessary part of a physicists training. And this excellent book does exactly this - derives a bunch of physics equations using mathematics, and then implements them in lisp to build intuition. But writing code will help you with the core physics skill much less than actually struggling with mathematics.