Skip to content

Unnamed method parameters should be replaced #1

Description

@tonyarnold

This looks like a great project, Marcel — I noticed in some of the samples you've posted to the mailing list and elsewhere that some of the methods use unnamed parameters. ie.

-(id <MPWDrawingContext>)translate:(float)x :(float)y;

This is not great practice, and I feel you'd be better off using something simpler like:

-(id <MPWDrawingContext>)translate:(CGSize)size;

I don't think a change like this violates what you're trying to achieve here, but it also means that you're not off the beaten path of unreadable method names.

Activity

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

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