Coding with the Machine: Promises and Perils in AI-Driven Software Engineering