Here is a goal: How do I make sure worms don't get injured on the mesh grate when making a worm bin?

Which way makes more sense to accomplish this goal?
You can lightly hammer in the pointy edges of the mesh into the wood to prevent them from sticking out