Post AJdys8cerywdVIIoFc by devrandom@hackers.town
(DIR) More posts by devrandom@hackers.town
(DIR) Post #AJdS6knES6UfSEbs2q by devrandom@hackers.town
2022-05-20T01:33:56Z
0 likes, 0 repeats
Me (who is not a programmer) trying to fully wrap my brain around recursive functions in Pascal tonight.
(DIR) Post #AJdS6lZ5aAm5qf05dg by efftoyz@fosstodon.org
2022-05-20T06:29:56Z
0 likes, 0 repeats
@devrandom, as they say "to understand recursion, first, you have to understand recursion".
(DIR) Post #AJdys8cerywdVIIoFc by devrandom@hackers.town
2022-05-20T12:46:07Z
0 likes, 0 repeats
@lispi314 @efftoyz by looking up more explanations and examples in a few different languages I've played around with before I was finally able to wrap my brain around the concept. Or at least I think I mostly get it. I probably should spend time playing around with it more so that I really understand it and don't forget it.It's strange, I've done tons of beginner programming books and tutorials in lots of languages. Recursive functions like this are rarely explained.