Re:Should kids learn to code?
by steven2012 on Friday December 04, 2015 @12:16PM
(#10677555)
100% agree. Trying to teach them to break things up into modules won't make sense to them, unless they write a 1000 line program, and then go to change it and things break. They have plenty of time to learn good software engineering practices, decades in fact. They don't need to be a genius at first strike, they just need to learn how to code. Trying to teach them perfection at the beginning is a huge mistake.
I think the important thing here is that kids need to see the necessity first. Only then can they start to deal with more abstract concepts. And actually, I don't think this applies to only kids. I think it is the reason that "learning by doing" is so much more effective than anything else.
To give an example related to programming. I have seen CS students use preconditions and postconditions (i.e., assertions), on functions, without understanding why they were using them. They just wrote those assertions because the teacher said they had to do it. Of course, the assertions are useful, but only for large, more complicated, programs. But since the assignment programs were all small, the usefulness of this particular software engineering instrument completely eluded them.