"this is the best way to code this type of algorithm" is insulting. CS is not about coding at all actually. It's more about "these are the best known algorithms for solving such and such mathematical problems"
These two are essentially the same, just worded differently. I shouldn't have said "best way to code"... you're completely right about that... been awake for way too long.
I think the fact that you think these two are essentially the same is where the problem is. VERY different statements. I won't blame your CE education for this, but any CS major would see the difference :-)