this post was submitted on 24 May 2025
38 points (97.5% liked)
Programming
20643 readers
59 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I don't understand this part. Isn't object oriented also class based?? I mean that's the entire reason why classes exist, to create objects. Isn't it? How is this separated here?
Object oriented languages can be either class based or prototype based. Java is class based, JS was back then prototype based
Thanks, I see. I'll research and learn more about the differences. Thought this was an writing error and didn't research yet.
The first fully-developed prototype-based OO language was Self, original Javascript seems quite similar.
I mean: it is a writing error, because you can't compare "class based" to OOP, since they are just different things, but this is what is suspect was the case ;)
To my understanding, the original meaning of object oriented is more similar to what we call the actor model today.
In reference to the modern understanding of OO, js uses prototypal inheritance, which some consider closer to the original vision.