This is more a personal choice. The two advantage of screws is that you can pull the decking boards up more easily if you need to remove them and they don’t tend to loosen at the edge of the deck in some cases like nails do.

Screws though tend to be more expensive than the nails and the actual loaf the deck takes a longer amount of time.