Cypress cy.prompt Vs Recording Vs Coding

Cypress-the-company is putting a lot of effort behind its cy.prompt command (which I recreated