I don't think knowing how to write software is needed to understand SEO/SEM
The original point, stated differently:
Understanding software and the modern web -- even short of being able to write it -- can still give someone a sizeable advantage in many fields.