I know there are situations where a "real" desktop OS is helpful, but at the same time it's remarkable to me how well my 2016 iPad Pro holds up with only 2 GB of RAM.
The 2015 model actually had 4 GB, but that was a 12.9" screen and substantially pricier.
They stuck with the same 4 GB in 2018's redesign unless you buy the very expensive 1TB storage option, in which case it's silently bumped up to 6 GB. Apple oddly doesn't even advertise that difference, it only came out through benchmarking.
Hopefully the 2020 refresh bumps it up to 8 GB which I think would future proof new devices for 5+ years of solid performance.