sharing and building code is an important aspect of computing and making computers fundamental to people's lives while working to make them difficult to understand is very wrong. They don;t do it partly because it's so unpleasant.
Watch a commercial for the iPad. It is not marketed as a computing device, to do CLI programming or spreadsheets on. It's selling points are stuff like Procreate and Lightroom...both 'work' apps but for the 'creative economy'.
That being said, an executive at my company swears by the iPad Pro and he only ever uses it as a remote desktop device to log into his Citrix Windows environment.
My mum is never going to care about being able to compile a repo from github on her ipad. Neither are 90%+ of the userbase. The developers interested in the platform use a mac.
OK but you are describing something that 99.8% of iThing owners will never do.