Apple ships an app THEMSELVES that enables this (for iPad anyway) https://apps.apple.com/us/app/swift-playgrounds/id908519492 and there are third party apps for general programming as well. I have one for Python (Pythonista) and one for C# and F# (Continuous) on my iPhone right now. There is a HUGE selection of similar apps for general purpose computing on iOS.
These are unique platforms with unique properties in their design. You value them or you don't. Nobody's forcing you to use them for general purpose computing and there are thousands upon thousands of BRAND NEW general purpose computing products with zero restrictions produced every year. People in this thread are being drama queens.
These are unique platforms with unique properties in their design. You value them or you don't. Nobody's forcing you to use them for general purpose computing and there are thousands upon thousands of BRAND NEW general purpose computing products with zero restrictions produced every year. People in this thread are being drama queens.