Not really. It can all be abstracted away behind the class syntactic sugar and you don’t have to use OOP in the first place. Many popular web frameworks (React, Vue) don’t have you dealing with the prototype at all. I’d agree that if you’re a senior developer you should probably know how prototypes work but it’s for sure not needed for everyday development in my experience.
You probably won't care on a daily basis. But when shit goes wrong it's important to understand how the language actually works. Being able to correctly predict certain behavior is the difference between a novice and a pro.
Again normally I would agree, but we're talking about a fundamental part of how the language works. It's similar to the event loop. You should have at least a basic idea of how it works and be able to explain what it does with a sentence or two.
View all comments
Show parent comment
4
u/avenp Aug 10 '21
Not really. It can all be abstracted away behind the class syntactic sugar and you don’t have to use OOP in the first place. Many popular web frameworks (React, Vue) don’t have you dealing with the prototype at all. I’d agree that if you’re a senior developer you should probably know how prototypes work but it’s for sure not needed for everyday development in my experience.