What I noticed from all the projects I was helping with, was that lots of students thing linearly... meaning they see steps and procedures occurring one after another. Coding can be done that way. It's a solid approach but as scripts get longer and longer, it becomes more and more difficult to correct any errors. Other students, exhibit divergent thinking. They create chunks of scripts and keep everything separate, that way, they can quickly examine what is wrong with the coding and correct it. Either way works and the end results are mixed. This is one of the reasons I love coding in the classroom.