Skip to content

Update isogram blurb#2659

Open
BNAndras wants to merge 2 commits into
exercism:mainfrom
BNAndras:update-isogram-blurb
Open

Update isogram blurb#2659
BNAndras wants to merge 2 commits into
exercism:mainfrom
BNAndras:update-isogram-blurb

Conversation

@BNAndras
Copy link
Copy Markdown
Member

@BNAndras BNAndras commented Jun 1, 2026

See https://forum.exercism.org/t/tweak-metadata-blurb-for-isogram/54253. The current blurb assumes the reader knows what an isogram is.

@BNAndras BNAndras added the x:rep/tiny Tiny amount of reputation label Jun 1, 2026
Comment thread exercises/isogram/metadata.toml Outdated
@@ -1,4 +1,4 @@
title = "Isogram"
blurb = "Determine if a word or phrase is an isogram."
blurb = "Determine whether a phrase has any repeated letters."
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Isn't isogram more focused on not having any repeated letters? It's a subtle difference.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It is. If you determine there aren’t repeated letters, it’s an isogram so a negative means an affirmative in practice. It’s a little clumsy so we can change it so an affirmative to the question here means it is an isogram.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Negative logic is harder to process. Affirmative logic is simpler. While the function's output is the inverse of this, the same logic applies to either phrasing (modulo a not operator). The affirmative wording is simpler and blurbs are meant to be short and simple.

This blurb is the inverse of the exercise, but it's simpler and better conveys what this exercise is about. Is the improved simplicity worth the technical inaccuracy?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

"Determine whether a phrase is an isogram, a word with no repeated letters." is a bit longer but it lines up the affirmative response with what we're expecting later in the instructions and test suite.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I like that

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I like that as well, and would happily approve if it was changed to that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

x:rep/tiny Tiny amount of reputation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants