DockYard-Academy / curriculum

MIT License
970 stars 249 forks source link

Add explanation of nested control flow and how to avoid it. #1047

Closed BrooklinJazz closed 2 weeks ago

BrooklinJazz commented 1 year ago

1 -> "a" -> "1a" "b" -> "1b" 2 -> "a" -> "2a" "b" -> "2b"

vs

{1, "a"} -> "1a" {1, "b"} -> "1b" {2, "a"} -> "2a" {2, "b"} -> "2b"