@badrihippo modern frameworks like React, Vue, and Van.js are all very similar, but I have not seen a consistent name for this family of frameworks. I have heard it called “The Elm Architecture,” because they are loosely based on how the Elm programming language originally did GUI programming in the browser. I have also heard it called the Model-View-Update paradigm. But most people just call it “React-like” or “Reactive Programming” because they are all similar to the very popular “React.js” framework.

Note that this should not be confused with Functional Reactive Programming (FRP), although the two are not completely different. As I understand it, React-like GUIs and FRP can both be implemented on top of a more powerful and more general computation model called “propagators” (here is the PDF of the original Propagators paper).

@dthompson wrote a really good blog post about FRP, propagators, and React-like frameworks.

I hope that helps, but I am not as well-versed in the theory of this stuff as I should be.

Oh, and I should say, before React-like took over the world wide web, GUI programming was mostly intertwined with Object Oriented Programming and design, so a good place to start might be to read up on Smalltalk OOP and GUI design.

#tech #software #GUI #ReactiveProgramming #FRP #Scheme #Haskell #SchemeLang #Propagators #ElmArchitecture #ReactJS #Smalltalk #OOP #ObjectOriented

The Elm Architecture · An Introduction to Elm

Stray thought on #ontology . In rpg's famous essay he points out that a goal of #objectOriented design is compression. If class B and class C have slots in common, we can write the common slots in a shared superclass A and derive both class B and class C from class A to avoid duplicating ~ontology in both class B and class C.

But if I have two ontologies 𝛽 and 𝛾 it is interesting to check their overlap, but it would be obtuse to introduce a superclass 𝛼 with no real meaning for that duality.

Magic Methods vs Prototypes: OOP BATTLE ROYALE!

PHP's magic methods vs JavaScript's prototypes - which OOP is more powerful? EPIC!

#php #javascript #phpvsjs #magicmethods #prototypes #proxy #oop #objectoriented #viralcoding #phpmagic #javascriptpatterns #mindblown

https://www.youtube.com/watch?v=q1XXpmp1AGM

Magic Methods vs Prototypes: OOP BATTLE ROYALE! #phpmagic

YouTube
Rust Is Beyond Object-Oriented, Part 3: Inheritance

In this next1 post of my series explaining how Rust is better off without Object-Oriented Programming, I discuss the last and (in my opinion) the weirdest of OOP’s 3 traditional pillars. It’s not encapsulation, a great idea which exists in some form in every modern programming language, just OOP does it oddly. It’s not polymorphism, also a great idea that OOP puts too many restrictions on, and that Rust borrows a better design for from Haskell (with syntax from C++).

The Coded Message
🚀 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
Why Is SQLite Coded In C

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.

Yes
0%
No
100%
Poll ended at .
@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/

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.

#philosophy #theory

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

https://www.openhumanitiespress.org/books/series/new-metaphysics/

Open Humanities Press– Realist Magic

A scholar led open access publishing collective