Rust Is Beyond Object-Oriented, Part 3: Inheritance
https://www.thecodedmessage.com/posts/oop-3-inheritance/
#HackerNews #Rust #ObjectOriented #Inheritance #Programming #HackerNews
Rust Is Beyond Object-Oriented, Part 3: Inheritance
https://www.thecodedmessage.com/posts/oop-3-inheritance/
#HackerNews #Rust #ObjectOriented #Inheritance #Programming #HackerNews
🚀 Ah, the age-old #debate of why #SQLite isn't coded in your favorite 🦄 object-oriented or 🦺 "safe" language. Spoiler alert: because #C is like a reliable old pickup truck that just won't quit and doesn't care about your trendy hybrid 🚗. #Redditors and Hacker News commenters must be devastated that their "insightful" feedback didn't lead to a full rewrite in Python. 🤯
https://sqlite.org/whyc.html #ObjectOriented #Programming #HackerNews #HackerNews #ngated
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.
@chakie #Python #ObjectOriented
Question.
I have written #PySide 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: https://codeberg.org/GrantH/Pyside6-PolyLines/src/branch/main/
An Efficient Implementation of Self, a Dynamically-Typed Object-Oriented Langua [pdf]
https://courses.cs.washington.edu/courses/cse501/15sp/papers/chambers.pdf
#HackerNews #EfficientImplementation #Self #DynamicallyTyped #ObjectOriented #Language #PDF
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
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:
https://www.openhumanitiespress.org/books/titles/realist-magic-2nd-ed/
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.
The book is published as part of the New Metaphysics series:
https://www.openhumanitiespress.org/books/series/new-metaphysics/
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
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
#programming #simulation (technically, an #objectOriented #simulation of an #ontology )
https://screwlisp.small-web.org/lispgames/LCKR-running-the-simulation/
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.
#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'.
https://screwlisp.small-web.org/lispgames/LCKR-completing-the-simulation/
#programming #objectOriented #commonLisp #engineering #ChineseChess https://screwlisp.small-web.org/common-lisp-interface-manager/chinese-chess-part-i-just-a-board/
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.
I am still alive!
Loglan'82: programming language for object-oriented and distributed programming
https://lem12.uksw.edu.pl/wiki/Loglan%2782_project
#HackerNews #Loglan82 #ObjectOriented #Programming #DistributedProgramming #ProgrammingLanguages #HackerNews
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 ?"
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
May I just say so myself that I‘m loving playing with Kitten¹ to build Domain² (shown below) and Place³.
¹ https://kitten.small-web.org
² https://codeberg.org/domain/app
³ https://codeberg.org/place/app
#Kitten #Domain #Place #SmallWeb #SmallTech #humanRights #democracy #technology #peerToPeer #peerToPeerWeb #web #dev #JavaScript #HTML #CSS #NodeJS #htmx #WebSocket #objectOriented #eventBased #hypermedia
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 https://2025.ecoop.org/ #ProgrammingLanguage #ObjectOriented #Norway
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 ;)
Learn more about Kitten:
If you like what you see and want us to keep existing, we could definitely use your support:
https://small-tech.org/fund-us/
:kitten:💕
#Kitten #SmallWeb #SmallTech #StreamingHTML #objectOriented #eventBased #hypermedia #htmx #WebSocket #HTML #JavaScript #CSS #NodeJS