Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This topic would be well served by something like "katas." A series of code samples that look (to the noob) like they should compile, but don't. The series of samples would be chosen to walk the learned through the surprises in pedagogical order.


I actually find the whole kata code sample thing to be entirely inverse to how I learn. I typically learn by principles first.

Others entirely differ. And that's A-OK! :)


Actually, that's my preference too. But for certain topics, even after you grasp the principles, there are certain things that are going to surprise you until you get more experience. You can identify these in advance and find they will surprise most learners. So the kata approach is supplementary, kind of like well chosen exercises in a good textbook.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: