I once encountered a chunk of FORTRAN IV code . . . 22 lines, all IFs and GOTOs. Control never left that block. Wound up drawing a large diagram. Two hours later: "Oh! It's a CASE statement."
Since then I've realized you can do any control structure with IFs and GOTOs, but you don't want to.
no subject
Since then I've realized you can do any control structure with IFs and GOTOs, but you don't want to.