Open
Description
I believe stamps are much better approach to OOP. In fact, I call classical OOP as BOP (Blueprint Oriented Programming).
Stamps can, should, and must be inbuilt into programming languages. Imagine you could write this in JS:
let StampA = stamp {
myMethod() {},
myState: "a state",
static staticVar: "static var",
init({instance, stamp, args}) { ... }
}
let StampB = stamp {
static staticMethod() {}
}
let StampC = StampA.compose(StampB).props({ X: "y" });
var instance = StampC({X: "x"})
I haven't thought about syntax much (I haven't thought about it at all actually).
Do you get the idea? Do you feel it? Do you agree we can turn the programming world upside down?
Metadata
Metadata
Assignees
Labels
No labels