Minecraft wiki entry for Crop_farming, associated text: Placing torches or other light sources near the crops allows them to continue growing at night or underground, and it prevents hostile mobs from spawning near them. Planting crops in alternate rows (that is, rows separated by bare farmland or a different crop) speeds up growth as well.