Skip to content

Semantic abstraction for Adapter pattern #8

@webbertakken

Description

@webbertakken

I would argue that in the code example of the adapter pattern there should naturally be a need for abstraction of the word roar, rather than just translating bark into roar, which is semantically incorrect.

A logical explanation for the need of abstraction is that the hunter wants to listen to the sounds of animals. After all, we wouldn't want to confuse the hunter with roaring turkeys.

I 'd be open to submit a PR for this if you like.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions