You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why do we need as input of the ReplaceCut class a Cut object? Wouldn't a tuple like (name, new_cut) be enough? That would be in line with the selection class.
The text was updated successfully, but these errors were encountered:
Mmm idk honestly, I thought about implementing the double possibility (either a Cut object or a tuple like you said). I wouldn't remove the possibility to pass a Cut object for the simple reason that intuitively, personally, I would be very confused if a class called ReplaceCut doesn't allow to pass a Cut object as an argument. I would be in favor of implementing both (i.e. you can instantiate a variation ReplaceCut either by passing a Cut object or a tuple (new_name, new_expression).
Why do we need as input of the
ReplaceCut
class aCut
object? Wouldn't a tuple like(name, new_cut)
be enough? That would be in line with the selection class.The text was updated successfully, but these errors were encountered: