It's very unlikely to randomly delete your hard disk, and it's easy to set up a VM or container for development..also it may be a command that you use all the time but can't remember the syntax, and it's just retrieving information.
There are a lot of cases where displaying the command first and asking for a confirmation is just an unnecessary step.
There are a lot of cases where displaying the command first and asking for a confirmation is just an unnecessary step.