This notion if “correct” is “finished the current example as intended”. Running a suite of unit tests would give me more confidence.
Even that is only for programming in the small and that is comparatively easy to programming in the large. I don’t see how a REPL would help there.
That means a REPL makes easy things easier and hard things are unaffected. Does not sound like a competitive advantage to me.