menu

arrow_back What are prototypes in programming?

by
1 vote
Good afternoon. I searched the Internet, but found nothing. Please explain what "prototypes" are

1 comment

context

1 Answer

by
 
Best answer
0 votes
There's generating design pattern "Prototype"

And there are Prototype programming

If you're asking about a template, then in a nutshell Prototype is when we create a new volume by copying rather than creating a new one through the constructor. It's used when creating an object is resource-intensive and it's more efficient to copy an existing object