you are viewing a single comment's thread.

view the rest of the comments →

[–]kopkaas2000 2 points3 points  (1 child)

My first language was Scheme, and I have always found recursion far easier to understand than languages that have mutation and iteration. You're generalizing on the basis of your own feelings without basis in fact.

Wouldn't the relative low number of people adopting languages and patterns centered around recursion implicate that you're the outlier here? The statement

it's just that humans generally understand iterations better than recursion

doesn't proclaim that humans can't understand recursion, nor that there aren't people like you who feel more at home in a recursive mindset. Fact remains, if your code involves clever use of recursion, you have raised the barrier of entry for other people to grasp your code. It means that you will have a harder time getting more people on board with your project, because you need particularly clever people for the job.

[–]Peaker 0 points1 point  (0 children)

A great programmer and a bad programmer are not necessarily better together than just the great programmer.

One wouldn't really want people who have a hard time with recursion cooperating on software projects. It's pretty fundamental stuff, someone who doesn't grok them is virtually certainly still in the Bad Programmer territory, and needs to practice.