DEV Community

Discussion on: Getting Started With JavaScript Constructor Functions

Collapse
 
peterbparker profile image
PeterBParker • Edited

Coming from C++ and Python, it seems to me like using prototype has the same vibes as using goto. It’s a supported feature, but it sounds like it would make reading the code/maintaining it a nightmare.
Legitimate question: Is that a correct hunch or is using prototype recommended/industry standard?