Object Oriented Programming is one of the most popular ways in programming. Before OOP’s, list of instructions will be executed one by one. But in ...
For further actions, you may consider blocking this person and/or reporting abuse
Although, legacy patterns should be studied, I think is important to understand that modern Javascript does have full support for almost all of the OOP patterns that you are using, and you should at least mention that in your post, so newcomers know there is a modern alternative, and it is the preferred way to do it.
Good point :)
I will add it on.
Good point.
I will add it on.
No classes?
Damn that's my 3 am mistake .
Thanks for catching me out.
I will add that on too.
Private > developer.mozilla.org/en-US/docs/W...
ah i didnt know that
I prefer Functional :)
i would say to stick to functional too, OOP just for case studies
hummm yeah !!
TypeScript force OOP
TC39 force OOP, class, static and private
forcing oop like JAVA and C# (help programmers who don't want to learn JS rsrsrsrs)
More functional JS better, TC39
Ahhh ..
Please try not to use constructors, since they are badly scalable, just imagine if you object grows and suddently you have to adjust you constructor in 18 different places. Rather use the BUILDER pattern for that, nothing will break changes only where needed. Just as when passing multiple arguments through parameter, build an object that contains those (and in the future, more or less) variables.
Good point!!
I will keep your suggestions in mind while writing the next post.
What's your next post about?
Maybe you should update your post to ES6?