#Control Flow
3 posts
4 min read
Modern Python Basics #3: Control flow — if, while, for, match-case
Indentation-based blocks, range/enumerate/zip, and match-case pattern matching that has a different feel from switch.
6 min read
JavaScript Basics #3 Control Flow
if/else, while, for, for...of, for...in, switch — JavaScript's branching and looping syntax, plus the gotchas and idioms you'll meet often.
3 min read
Go Basics #3 Control Flow — if, for, switch
Branching and looping in Go — if with short statements, for as the only loop, switch with no implicit fallthrough.