Programming loops are great, but there's a point where they aren't enough. Professor Brailsford explains.