Minecraft wiki entry for Superflat_survival, associated text: Regular crop and stem farm
Slimes are abundant and can trample farmland, so border your farms with fences.
Bonus: if you get poisonous potato from harvest potato, throw that away, you can't breed pigs with that and you can't even compost with that.