+ 12

🐍 Which term better describes the following phenomenon: data recursion or data nesting⁉️🤔

https://code.sololearn.com/cYa60fJvNQ01/?ref=app

4th Oct 2019, 8:24 AM
Janusz Bujak 🇵🇱 🇺🇦
Janusz Bujak 🇵🇱 🇺🇦 - avatar
2 Antworten
+ 1
IMO data recursion better describes this behaviour, not to say data nesting is wrong but it only tells you that the data is arranged in some hierarchy while data recursion tells us that this data is *recursive*; it has some form of recurrant inner reference to its own type, in this case it contains a reference to itself. Recursion is one result of nesting, "recursion" is the important keyword here.
4th Oct 2019, 9:42 AM
jtrh
jtrh - avatar