Skip to content

Conversation

@jasnell
Copy link
Member

More use of DictionaryTemplate

@nodejs-github-botnodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. needs-ci PRs that need a full CI run. vm Issues and PRs related to the vm subsystem. labels Sep 28, 2025
@addaleaxaddaleax added the request-ci Add this label to start a Jenkins CI on a PR. label Sep 28, 2025
@github-actionsgithub-actionsbot removed the request-ci Add this label to start a Jenkins CI on a PR. label Sep 28, 2025
@nodejs-github-bot

This comment was marked as outdated.

@BridgeARBridgeAR added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. and removed author ready PRs that have at least one approval, no pending requests for changes, and a CI started. labels Sep 29, 2025
BridgeAR

This comment was marked as resolved.

@jasnelljasnellforce-pushed the jasnell/contextify-dictionarytemplate branch from 67a08e7 to 956b245CompareOctober 4, 2025 12:53
@nodejs-github-bot

This comment was marked as outdated.

@codecov

This comment was marked as outdated.

@nodejs-github-bot

This comment was marked as outdated.

@addaleax

This comment was marked as resolved.

@jasnelljasnellforce-pushed the jasnell/contextify-dictionarytemplate branch from 956b245 to fa77052CompareOctober 5, 2025 12:47
@jasnelljasnell requested a review from BridgeAROctober 5, 2025 12:48
@nodejs-github-bot
Copy link
Collaborator

@jasnelljasnell requested a review from addaleaxOctober 5, 2025 12:48
Copy link
Member

@legendecaslegendecas left a comment

Choose a reason for hiding this comment

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

It is not convincing that a 20-line if-condition is more readable than simple early returns. I don't believe this beneficial change has to be bundled with a subjective style change.

@jasnelljasnellforce-pushed the jasnell/contextify-dictionarytemplate branch from fa77052 to 23601daCompareOctober 5, 2025 22:45
@jasnelljasnellforce-pushed the jasnell/contextify-dictionarytemplate branch from 23601da to b53b4ecCompareOctober 5, 2025 22:55
@jasnell
Copy link
MemberAuthor

Blocking an otherwise fully correct PR for a purely subjective style change seems more counterproductive, especially when the style change is consistent with lots of other places throughout the codebase, but ok. I switched it back to the multiple separate if statements.

@nodejs-github-bot
Copy link
Collaborator

Copy link
Member

@legendecaslegendecas left a comment

Choose a reason for hiding this comment

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

Thanks!

@addaleaxaddaleax added commit-queue Add this label to land a pull request using GitHub Actions. author ready PRs that have at least one approval, no pending requests for changes, and a CI started. labels Oct 6, 2025
@nodejs-github-botnodejs-github-bot removed the commit-queue Add this label to land a pull request using GitHub Actions. label Oct 6, 2025
@nodejs-github-botnodejs-github-bot merged commit 4a7fbb6 into nodejs:mainOct 6, 2025
60 of 61 checks passed
@nodejs-github-bot
Copy link
Collaborator

Landed in 4a7fbb6

targos pushed a commit that referenced this pull request Oct 6, 2025
PR-URL: #60059 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Chengzhong Wu <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.c++Issues and PRs that require attention from people who are familiar with C++.needs-ciPRs that need a full CI run.vmIssues and PRs related to the vm subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@jasnell@nodejs-github-bot@addaleax@tniessen@legendecas@BridgeAR