News for hackers. Stuff that matters.
Re:What if you couldn’t program with loops? by pcstl on Monday July 15, 2019 @11:30AM (#20441737)
My point is that people should at least know the basics of recursion. Mentioning "programming without loops" without even mentioning that recursion is an option in that specific case seems neglectful to me.
Re:What if you couldn’t program with loops? by hombre_fatal on Monday July 15, 2019 @12:35PM (#20442451)
I wouldn't go that far. This post is basically newbie-fodder, seemingly from someone more towards that end of the spectrum than the other. Seems unfair to encumber them with expectations on what they thought was a helpful post for beginners grappling with "so, what exactly do I abstract?"

It's really just a small tutorial on DRY and finding repetition that you can extract. HN upvoted it because its provocative title makes HNers think of things like recursion and jmp which we can talk about in the comments.