Mar-14-2023, 08:34 PM
Hi,
i have lots of "search"-loops which looks like this:
i have lots of "search"-loops which looks like this:
for b in a.list_of_bs: for c in b.list_of_cs: for d in c.list_of_ds: do_something()This is a clear code smell. So how could this be simplified. Any idea?