News for hackers. Stuff that matters.
Re:BlueJ – A Lightweight Java IDE by crabmusket on Thursday September 15, 2022 @09:09AM (#32851329)
I learned Java in high school with BlueJ! That takes me back.

> it falsely assumes OOP is a good approach

I'd say the bigger unspoken assumption there is that Java is good at OOP!

Re:BlueJ – A Lightweight Java IDE by andrekandre on Thursday September 15, 2022 @10:03AM (#32852169)
i can't remember who said it, but its been claimed java isn't even an oop: its more class oriented programming...

i.e your not really dealing with objects all the time like in smalltalk but just "blueprints" that are a far shadow of what things should be (if i remember the claim correctly)

Re:BlueJ – A Lightweight Java IDE by the_doctah on Thursday September 15, 2022 @10:23AM (#32852498)
Everything is literally a descendant of Object...
Re:BlueJ – A Lightweight Java IDE by chao- on Thursday September 15, 2022 @11:37AM (#32853676)
Yes, and in Java, capital-O Object is primarily used as a class, not as an object that you work with directly!

Alan Kay himself said he regrets coining the term as "object" oriented, and wishes he had emphasized "messages":

https://wiki.c2.com/?AlanKayOnMessaging

Re:BlueJ – A Lightweight Java IDE by cies on Thursday September 15, 2022 @11:53AM (#32853915)
And Object, in this case (big O), is the name of a class.

Not everything is an object, as someone said, there are also primitives.

There are many other "things" in Java that are not objects (operators, statements, etc.).

Kotlin does set some of this straight. Everything inherits (indirectly) from the Any class. And primitives do not exist in Kotlin (as in Ruby or Smalltalk).

Re:BlueJ – A Lightweight Java IDE by ghosty141 on Thursday September 15, 2022 @11:18AM (#32853354)
Havent used Java for ages but are ints amd double for example really objects? Iirc they are primitives
Re:BlueJ – A Lightweight Java IDE by mindcrime on Thursday September 15, 2022 @11:51AM (#32853875)
Those types exist as both classes and primitive types. Eg, "double" (primitive) vs "Double" (class which inherits from Object).
Re:BlueJ – A Lightweight Java IDE by 0x445442 on Thursday September 15, 2022 @03:14PM (#32857123)
James Coplien
Re:BlueJ – A Lightweight Java IDE by andrekandre on Friday September 16, 2022 @07:13PM (#32873235)
yes, that was it thanks!