Something no other commenters mentioned (so far) is every programming book starts out with "hello world" and this spread online not just to generic language teaching but into APIs and libraries.
Bootstrapping up from hello world is nearly guaranteed to work, write the entire thing first then try it is a recipe for pain.
Bootstrapping up from hello world is nearly guaranteed to work, write the entire thing first then try it is a recipe for pain.