Anyone can program without an internet connection. You just need the local documentation.
You need the official docs plus countless other resources from other people and for a relevant version of your software.
Gone are the days a few books and a computer was all you needed.
Your compiler is spilling out some weird message? Go scavenge the interwebs for someone who figured it out or spend your whole weekend in that.