Skip to content

EndOfChain decided on construction#1539

Draft
Janther wants to merge 2 commits intomainfrom
chain-review
Draft

EndOfChain decided on construction#1539
Janther wants to merge 2 commits intomainfrom
chain-review

Conversation

@Janther
Copy link
Copy Markdown
Member

@Janther Janther commented May 4, 2026

to avoid iterating through parents multiple times when printing.

@Janther Janther requested a review from fvictorio May 4, 2026 03:46
Copy link
Copy Markdown
Member

@fvictorio fvictorio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have to say I prefer the previous code because it wasn't stateful. But tests pass, so I'm ok with merging it if you think it's worth it.

@Janther
Copy link
Copy Markdown
Member Author

Janther commented May 4, 2026

Strictly, it should be a readonly attribute set up in the constructor. I just don't know yet how it will affect the rest of the codebase by adding this very particular exception 😅
I'll keep cooking this one as I believe it's building towards something.

@Janther Janther marked this pull request as draft May 4, 2026 19:27
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.

2 participants