Coding should be taught after algebra. Don't really know how you can learn to code without understanding the concept of a variable.
Of course, I'm probably biased because I learned programming before algebra myself.
In fact, it's much better to state this out loud to people learning to program, because statements like 'x = x + 1' added to the name coincidence make things very confusing.