Use DMD syntax for if, for, and foreach