💾 Archived View for bbs.geminispace.org › u › stack › 17781 captured on 2024-12-17 at 14:02:46. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-08-25)

🚧 View Differences

-=-=-=-=-=-=-

Comment by 🚀 stack

Re: "Object-orientation and other dumb ideas"

In: s/Stories-from-the-Interwebs

I was obsessed with Self for many years, and eventually got to play with it. Sadly Sun hired Ungar and pretty much killed further development. Many amazing things from Self -- compiled polymorphic caches and a very innovative garbage collector wound up in Java's JIT compiler.

Self is like Smalltalk on drugs. You can use any object as a prototype and add slots, and everything just works. Things get weird fast, and you have to come up with all kinds of ways to keep inheritance from biting you.

I kind of loved it, but in the end, it's really hard to get anything done with it. After a while I missed the simplicity of Smalltalk (which now has bytecode interpreters that use Self tech).

I spent a couple of years writing a language that was Self-like, but instead of individual slots you mixed and matched interfaces, or groups of slots. It actually worked a lot better than Self conceptually. Eventually I ran out of steam and money, like so many of my great ideas that no one cares about.

🚀 stack [OP/mod]

Jun 08 · 6 months ago

3 Later Comments ↓

🚀 agh · 2024-06-08 at 06:46:

I spent a couple of years writing a language that was Self-like, but instead of individual slots you mixed and matched interfaces, or groups of slots. It actually worked a lot better than Self conceptually. Eventually I ran out of steam and money, like so many of my great ideas that no one cares about.

Wow that sounds awesome, unfortunate about the lack of steam and money. I love interfaces, and Smalltalks multiple inhiertance does get scary (like C++'s) for sure.

🚀 chirale · 2024-06-11 at 05:11:

There's something you don't like? Call it stupid idea and social contagion. Add some out of topic hot takes.

🦂 zzo38 · Oct 09 at 20:38:

Object-oriented programming does have some uses (I sometimes find it useful), although it is very overused; some people want to use it much more than it should be. (The article mentions this.) Many modern computers expect you to use object-oriented programming, Unicode, JSON, HTTP, etc, even when you should not use them. They have their uses but that doesn't mean it is good for everything or even for most things.

About wearing masks, I have found harmful in my own experience; among other things, making it difficult to see while wearing glasses, and being difficult to breathe, etc; so I never wore a mask while outside or at a restaurant. Wearing a mask has its uses too but also shouldn't be overused.

Original Post

🌒 s/Stories-from-the-Interwebs

Object-orientation and other dumb ideas — Daniel Lemire has posted some great articles and is always interesting to read. Here is his short take on OOP, a stupid idea based on nothing that went so viral that opposing it would cost you your job, your friends, and your reputation. Includes a guide on how to spot these brain viruses as they spread near you. Look around and spot some current idiocies around you, and post your observations here, if you dare!

💬 stack [mod] · 20 comments · 1 like · Jun 05 · 6 months ago