Skip to content

Suggestion: Drop function name aliases #557

Open
@ThomasLandauer

Description

@ThomasLandauer

E.g. at https://www.php-imap.com/api/folder

They all do the same - different names are available as aliases. Pick the one you like.

$query = $folder->query();
$query = $folder->search();
$query = $folder->messages();

IMO, this only causes confusion and makes searching the documentation (or StackOverflow or whatever) harder, since everybody is using another term for the same thing.
So I'd suggest that you just pick one name for each function and stick with it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions