---
title: "Comment by Dinys Monvoisin on \"Class, Prototype and OOP Concept Explained\" | Hashnode"
description: "I prefer more solution 1, function which is more straight forward and avoid dealing with stuff like prototype chain which not everybody is comfortable."
url: "https://hashnode.com/posts/class-prototype-and-oop-concept-explained/5fbafbc2f16aa414b7d2806f/comment/5fbc9a05ec43af1ba6093e32"
---

[Discussion](https://hashnode.com/posts/class-prototype-and-oop-concept-explained/5fbafbc2f16aa414b7d2806f)

Comment [Class, Prototype and OOP Concept Explained](https://hashnode.com/posts/class-prototype-and-oop-concept-explained/5fbafbc2f16aa414b7d2806f)

[Dinys Monvoisin](https://hashnode.com/@dinmon)

[Nov 24, 2020](https://hashnode.com/posts/class-prototype-and-oop-concept-explained/5fbafbc2f16aa414b7d2806f/comment/5fbc9a05ec43af1ba6093e32)

I prefer more solution 1, function which is more straight forward and avoid dealing with stuff like prototype chain which not everybody is comfortable.

[Favourite Jome](https://hashnode.com/@Favourite)

[Nov 24, 2020](https://hashnode.com/posts/class-prototype-and-oop-concept-explained/5fbafbc2f16aa414b7d2806f/comment/5fbc9a05ec43af1ba6093e32#reply-5fbc9e9e30fc2d1b859e2d20)

If that's your preference, it fine.

But each user will have the same method returned each time the `user` function is called.

Well in this case where there's one method it's okay I guess but there're multiple methods, it will a waste of storage.

Thanks for sharing your thoughts
