this post was submitted on 08 Jan 2025
50 points (96.3% liked)

Programming

19290 readers
107 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
 

I added this language to my watch list some time ago and forgot about it, until I got a notification about a new release (0.15) yesterday.

I'm someone who is familiar with system languages (C, Rust) and shell languages (Bash, Zsh, ..). But don't have much experience, at a proficient level, with any languages setting in between.

So I gave Koto's language guide a read, and found it to be very well-written, and the premise of the language in general to be interesting. I only got annoyed near the end when I got to @base, because I'm an anti-OOP diehard ๐Ÿ˜‰

I hope this one well start to enjoy some adoption.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] Sidhean@lemmy.world 4 points 2 months ago (6 children)

Unrelated, I know, but I'm really interested in your antu-OOP-ness. I don't think I've heard anyone say they're anti a concept like this yet

[โ€“] BB_C@programming.dev 8 points 2 months ago (5 children)

I can't tell if we are miscommunicating here, or if my leg is being pulled.

You are not aware of staunchly anti-OOP (object oriented programming) people existing? Anti-OOP is a majority position now (always was in my circles). And the holdout proponents would usually only defend one (limited or revisionist) way of doing it, usually referring to some specific language implementation. Long gone is the quintessential list of OOP talking points presented in C++/Java classes in the 90's.

For people new to this, a quick search should lead to an endless stream of results. I found this one immediately which looks decent and covers good ground.

[โ€“] Sidhean@lemmy.world 1 points 2 months ago* (last edited 2 months ago) (3 children)

Alright, then. I've read, like, a few Python tutorials. I thought OOP was more of a way to do things if it makes sense to. Like using a for loop vs a while loop, just on like, a language and code structure level. I didn't realize most people didn't like it? I hardly even know what it is lol. It's just that I've not heard someone explicitly be against it. I didn't even consider it a thing people would be pro- or anti- lmao

[โ€“] bitcrafter@programming.dev 2 points 2 months ago

The context you are missing is that, for a lot of people, OOP was taught as the be-all and end-all of abstraction. I personally have seen some of my less experienced colleagues start to write code to solve a problem and immediately reach for OOP over and over again, even when this made things a lot messier (which ultimately I had to deal with...), because that is how they were told at one point was the "correct" way to do it, so I can completely sympathize with anti-OOP sentiment. On the other hand, I am not personally vehemently anti-OOP because I think that (as you have correctly observed) OOP is a perfectly fine pattern when it fits, and arguably the root problem that my colleagues had was not so much that they used OOP everywhere but that there was a tendency to not think through the consequences of their design choices.

load more comments (2 replies)
load more comments (3 replies)
load more comments (3 replies)