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

I really don’t like that example. I get that it’s just demonstrating mutual recursion and not intended to be practical, but I feel like there could be other ways to demonstrate that concept that aren’t so inefficient.

My answer would be the jQuery code base, back in the day when that was popular. At the time I didn’t know a whole lot about Javascript or the DOM. I remember it feeling like the kind of code you could just read top to bottom and it was almost like reading a novel. Really well-organized, well-commented, and effective. I don’t know if it’s still like that, but at the time it was transformative for me.



I remember similarly reading the jQuery codebase in awe, back before the MVC rush and the thousands of posh libraries. It intimidated me that someone could write code so polished, and was a big driver for me years later when I published my first popular open source library.


Similarly, backbone.js!




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

Search: