this post was submitted on 24 May 2025
38 points (97.5% liked)

Programming

20616 readers
65 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
[–] thingsiplay@beehaw.org 5 points 1 week ago (5 children)

Netscape asked Brendan Eich to develop a scripting language that looks like Java, but be object oriented rather than class based.

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?

[–] vermaterc@lemmy.ml 6 points 1 week ago (3 children)

Object oriented languages can be either class based or prototype based. Java is class based, JS was back then prototype based

[–] thingsiplay@beehaw.org 1 points 1 week ago (2 children)

Thanks, I see. I'll research and learn more about the differences. Thought this was an writing error and didn't research yet.

[–] tetrislife@leminal.space 2 points 1 week ago

The first fully-developed prototype-based OO language was Self, original Javascript seems quite similar.

load more comments (1 replies)
load more comments (1 replies)
load more comments (2 replies)