Skip to content

Function seems overly complex... #80

Closed
@ioquatix

Description

@ioquatix

https://github.com/jcupitt/ruby-vips/blob/9aae997817c13ba9dd71a2d28dfc62246654fa08/lib/vips/call.rb#L10-L214

Just wondering if this function is more complex than it needs to be. It looks like it's doing a lot of "redundant" processing. Could it be simplified?

Also, the function is hard to read and understand. I believe it's covering too much "surface area". Perhaps it could be broken up into smaller more manageable bits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions