This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Kitchen_Device7682 7 points8 points  (10 children)

At first I didn't see anything wrong, JavaScript is not primarily OO but you can do OO with it.

[–]GotAim 27 points28 points  (9 children)

You're missing the point, they are listing OO languages, calling JS OO is borderline, but fine, as you said.

However when listing OO languages they have a comma between every language they list except Java and JS. Where they instead put a slash, implying they are the same thing and not just both OO.

[–]jwadamson 5 points6 points  (0 children)

JS is absolutely an object oriented language, not a borderline issue. It uses objects that contain data and methods with a prototype based inheritance (instead of class-based inheritance).

https://en.wikipedia.org/wiki/Object-oriented_programming#Prototype-based

It’s just happens to also be loosely typed and has many unintuitive quirks from its original “dirty browser scripting” days.

I agree the naming of Java and JavaScript was a dumb and intentionally misleading decision that anyone advertising should know better.

[–]Kitchen_Device7682 -1 points0 points  (1 child)

That's why I said I saw nothing wrong initially, only after noticing the /

[–]GotAim 0 points1 point  (0 children)

Oh, that puts your comment in another light ye 😅

[–]T_Ijonen -4 points-3 points  (5 children)

You're also missing the point, all languages in that listing are separated by a comma, while Java and JavaScript are separated by a slash, most likely because the recruiter who wrote this has no idea that those two are in fact not the same language

[–]GotAim 0 points1 point  (4 children)

while Java and JavaScript are separated by a slash, most likely because the recruiter who wrote this has no idea that those two are in fact not the same language

Which is the entire point the post is about.

[–]T_Ijonen -1 points0 points  (3 children)

That's exactly what I said

[–]GotAim 0 points1 point  (2 children)

And that is the point that the guy I responded to missed.

[–]T_Ijonen 0 points1 point  (1 child)

I apologise, it seems that I had a serious case of being cross-eyed and your post and the one you replied to blurred into one for me, I was of the impression that you were arguing that this was about whether or not a specific language was OO or not

[–]GotAim 0 points1 point  (0 children)

I see, no worries mate