#ObjectOriented

N-gated Hacker Newsngate
2026-01-06

🚀 Ah, the age-old of why isn't coded in your favorite 🦄 object-oriented or 🦺 "safe" language. Spoiler alert: because is like a reliable old pickup truck that just won't quit and doesn't care about your trendy hybrid 🚗. and Hacker News commenters must be devastated that their "insightful" feedback didn't lead to a full rewrite in Python. 🤯
sqlite.org/whyc.html

The Last Psion | Alexthelastpsion@oldbytes.space
2025-11-09

A category is formally defined as being a group of one or more classes.

#OOP #ObjectOriented #ObjectOrientedProgramming

Have you heard of this use of "category" before? If so, in which context/language/compiler?

EDIT: For context, from the #Psion SIBO C SDK's Object Oriented Programming Guide:

A category is formally defined as being a group of one or more classes. The classes are packaged into a load module which, when loaded, occupies a single code segment. A code segment may not contain more than one category. There is, therefore, a one-to-one correspondence between a category and the executable code in a single code segment. Note that this implies that an application that occupies a single code segment may not contain more than one category.

Grant_Hgrant_h
2025-10-26

@chakie
Question.
I have written classes to implement editable multi-segment lines for both straight lines and hermite splines. The interfaces are identical, barring the spline constructor, which takes a tangent list.
I want to create a parent class `PolyLine` which can either be `straight` or `hermite`. A "Strategy Pattern" _seems_ to be the solution, but it feels complex. Putting an `if` into every method feels worse.
Ideas?

Code: codeberg.org/GrantH/Pyside6-Po

A screenshot showing some lines - some straight, some curved. One is selected, with various control handles displayed.
Hacker Newsh4ckernews
2025-10-25
Jeff Horton :canada:jeffhorton@mstdn.ca
2025-10-22

Found a way to identify the science kids in my programming class..

OOP Review: We are all all inherited from fish right?

#programming #science #scishow #hankgreen #oop #software #genetics #fish #teaching #objectoriented

2025-10-20

Open Humanities Press has published a 2nd edition of Timothy Morton's Realist Magic: Objects, Ontology, Causality. Comes complete with a new preface by Morton.

Like all OHP books, Realist Magic is available open access:

openhumanitiespress.org/books/

Book description

#ObjectOriented ontology offers a startlingly fresh way to think about causality that takes into account developments in #physics since 1900. Causality, argues Object Oriented Ontology (OOO), is #aesthetic. In this book, Timothy Morton explores what it means to say that a thing has come into being, that it is persisting, and that it has ended. Drawing from examples in #physics, #biology, #ecology, #art, #literature and #music, Morton demonstrates the counterintuitive yet elegant explanatory power of OOO for thinking causality.

#philosophy #theory

The book is published as part of the New Metaphysics series:

openhumanitiespress.org/books/

Vassil Nikolov | Васил Николовvnikolov@ieji.de
2025-10-09

What's in a name? that which we call as a method
By any other name would work as correctly.
(After WS.)

We say "comma-separated values", but we do
>>> ','.join(("foo", "bar", "baz"))
'foo,bar,baz'

Wherefore art thou Joiner—or Separator...

#ComputerProgramming
#Names
#Naming
#ObjectCentric
#ObjectOriented
#Paraphrases
#ProgrammingLanguages
#RJ
#Rose

2025-07-31

one aspect on the complexity of software projects is a complex graph of dependencies (I'm not thinking only to other packages, but class/module dependencies inside a single package/library).

Functional programming encourages to use really tiny and precise dependencies (i.e. functions) instead of collections of them (e.g. classes).

This makes the dependency graph more complex. Hence managing and organizing the dependency graph becomes harder.

Could this be a reason why in functional programming projects I tend to see less code organization than in OOP ones?

#functionalprogramming #oop #objectoriented #objectorienteddesign #complexity #Haskell

2025-07-18

#programming #simulation (technically, an #objectOriented #simulation of an #ontology )

screwlisp.small-web.org/lispga

Last of my scrappy #gamedev where I spend more attention on introducing pieces of infrastructure for the first time than anything else.

Anyway, the simulation game is seen being both accessed and having commands sent to it from outside; the state-of-the-world is retrieved, and rendered (rendered in the sense of unicode characters being printed.

Tomorrow, more game-y.

About 5 unicode characters and a cursor in an overwhelming field of white:

A parrot, a wilting flower, I'm not entirely sure what that one is, that one is definitely a crab, and something else.
2025-07-17

#leonardoCalculus #Sandewall #programming #objectOriented #simulation #lisp #commonLisp

I feel like this article is one of those moments that is a monumental achievement for the writer themselves, but precedes adding glitzy picture making (which will eventually come too).

If you remember, I was recapitulating my somewhat failed #lispgamejam #gamedev . This time and in about half a week just now - I got the plant/insect/bird Breitenbergian Vehicle simulation workin'.

screwlisp.small-web.org/lispga

Lightfield emacs window with left and right frames. Probably not meant to be read, loosely validates linked article.
Left:
```
`put plant-d x-position -1`

`put plant-d y-position -2`

`addmember (get world contents) plant-d`

`sense2 lonely-plant`

`(get lonely-plant current-direction)`

```
ses.130) (get lonely-plant current-direction)
  => se
```

This makes me somewhat confident in `sense2`.

# Can `lonely-plant` `propagate` ?

`put lonely-plant propagation-distance 4`

`put lonely-plant natality-rate 100`

`propagate lonely-plant`

`(get world contents)`

the answer was yes:

```

Right:

```
5 '&
 1.8284271247461900967L0 '< 5) 
foo 
eat 
lonely-plant 
ses.267) (get lonely-plant type)
  => nil

ses.268) (get world contents)
  => <world lonely-plant INSECT41346>

ses.269) writefil world
writeloc-file-leo:  ../../../demus/Organisms/world.leo

ses.270) loadk world
Load-ef: world at ../../../demus/Organisms/world.leo

ses.271) (get world contents)
  => <world>

ses.272) put parrot type bird
put: parrot type bird

ses.273) put parrot mortality-rate 100
put: parrot mortality-rate 100

ses.274) senesce parrot

ses.275) (get parrot type)
  => nil
```
2025-07-04
2025-06-08

#programming #objectOriented #commonLisp #engineering #ChineseChess screwlisp.small-web.org/common

This is extracted from my rejected experience report for #ELS2025 about a GUI chess app for a library club. I gradually build up from this part I mixins that result in substantively differently behaviours depending on where and what they get mixed into.

#emacs #eev of course.

I am still alive!

An emacs split screen showing the markdown document article on the left, and the bits of it evaluating live in eepitch-sbcl buffer on the right. There's a list that looks plausibly like Chinese chess board.
Alexandre B A Villares 🐍villares@ciberlandia.pt
2025-04-30
2025-04-07

I've hit upon a new kind of Liskov Substitution Principle in #Programming.

"If I substitute Barabara Liskov for myself, right here in this chair, do I still call this cruft, and the language it is written in, #ObjectOriented ?"

Kerrick Long (code)kerrick@dotnet.social
2025-03-01

I’m currently reading Extreme Programming Explained 2e (Beck et. al), Object Thinking (West), and Object-Oriented Analysis and Design With Applications 3e (Booch et. al). The contrast between OT and OOADwA is startling. OT got me reading eXPE, and I regret not reading it sooner. Am I destined to say that about every Beck book I read?

#Reading #Books #Programming #OOP #XP #Agile #SoftwareEngineering #Analysis #Design #ObjectOriented

Shakthi Kannanshakthimaan
2025-01-24

European Conference on Object-Oriented Programming (ECOOP) 2025 will be held at Western Norway University of Applied Sciences 30 June-4 July 2025, Bergen, Norway 2025.ecoop.org/

2025-01-21

Little preview video: Kitten’s improved component model

• Class-based page routes and components
• Object-oriented
• Event-based
• Seamless hypermedia-driven WebSocket-based event mapping and interface updates (Streaming HTML)
• A light server-side live component hierarchy with event bubbling
• Almost as if you’re building a desktop or mobile app instead of a web app…

… another authoring simplification made possible because on the Small Web – which is a peer-to-peer web – you build a web app/site as a tool for one person (the owner of the site/app) instead of as a tool for you to farm millions of people.

… still experimental ;)

vimeo.com/1049055406

Learn more about Kitten:

kitten.small-web.org

If you like what you see and want us to keep existing, we could definitely use your support:

small-tech.org/fund-us/

:kitten:💕

#Kitten #SmallWeb #SmallTech #StreamingHTML #objectOriented #eventBased #hypermedia #htmx #WebSocket #HTML #JavaScript #CSS #NodeJS

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst