Why is "learning to code" equated with "writing an app for iOS"?
Walk before you run. There is more opportunity than ever for someone to get access to free software (BSD, illumos, Linux) and cheap hardware (Raspberry Pi, BeagleBoard) and do whatever the heck they want. "Coding" needn't be synonymous with an iPhone or iPad.