Prototyping is capturing an unpolished idea into code so someone else, maybe our boss, client, or mother, can love or hate it. It's always necessary to get some feedback from users (and the sooner, the better).
It's just a prototype, there's a good chance it will never come to life as a real product. It may only serve as research for launching a new product or service, a pitch for a potential investor, or simply a project we are developing during our spare time. So that begs the question, ‘How much code is worth putting into our prototype?'