Skip to content

Remove comment to use isEmpty() from Hamming analyzer #94

@manumafe98

Description

@manumafe98

So I'm getting this recommendation on the hamming practice exercise.

image

And checking the solutions that are mostly like the one in as reference in the exercise definition, I'm not understanding how this helps improve the code.

Because if both strands are empty the code works properly and the count is 0, there is even a test that checks that

Metadata

Metadata

Assignees

No one assigned

    Labels

    x:action/improveImprove existing functionality/contentx:knowledge/elementaryLittle Exercism knowledge requiredx:module/analyzerWork on Analyzersx:size/smallSmall amount of workx:type/codingWrite code that is not student-facing content (e.g. test-runners, generators, but not exercises)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions