You can code on it, design, edit photos, write books, sketch, edit videos... and a lot more with ease. For 3 years, I used only an iPad for work. Can you expand on your problems? Or was that a "it works differently on my beloved OS" kind of thing?
You can’t compile on it. You can’t run software in the background (for example a terminal, where you don’t have to bring the app to the foreground every few minutes). You can’t install software on it that Apple doesn’t want you to (regardless of whether or not they’re malicious). And the software you can run is more likely than not a subscription, because the only place you can buy it is the App Store, which pushes the subscription model unto users and devs.
You can't install a random program. You need to go through the appstore for everything. There is no shared filesystem. Trying to export an image from a photo editing app takes a couple of seconds just to build the list of possible target apps. Everything is not only gratuitously complex, but reminds you you're not in control. You're a guest in Apple's world, instead of Apple being there to serve you.