I recommend listening to this interview of Douglas Rushkoff on CBC Spark by Norah Young.
Rushkoff’s recommendation is that children should learn a little bit of a taste of programming right after they learn long division. His reasoning is basically this; once students see an algorithm like long division, and they learn how to make a computer compute long division for them, they’ll see that computers are devices which compute algorithms, not places for them to visit.
I’d like to add that teaching a computer to program something like long division would be very empowering for children. Having been through this process of learning what is one of the most complicated sequences of steps they’ve likely been exposed to in their young lives, they can then conquer this algorithm and "teach" a computer how to do it. As a happy consequence of teaching the computer the algorithm, they’ll probably understand how it works better.