Skip to content

Know the operations of a segment by protocol, not by respondsTo: - #22

Merged
noha merged 1 commit into
mainfrom
segments-know-operations-by-protocol
Oct 29, 2026
Merged

noha merged 1 commit into
mainfrom
segments-know-operations-by-protocol

Conversation

@noha

@noha noha commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

buildOperationSegments registered a method entry when it happened to understand #operation. It now asks every entry hopOperation, which Object answers with nil; an entry that stands for an operation answers it. HOPOperationMapping is the base class for such entries, but any object that answers hopOperation takes part - an application can keep its own entries or register operation classes directly.

buildOperationSegments registered a method entry when it happened to
understand #operation. It now asks every entry hopOperation, which
Object answers with nil; an entry that stands for an operation answers
it. HOPOperationMapping is the base class for such entries, but any
object that answers hopOperation takes part - an application can keep
its own entries or register operation classes directly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@noha
noha merged commit 71cbb51 into main Oct 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant