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
The AbstractBlock constructor takes an initialRow: Row (sensible) and an ownership: BlockOwnership (possibly less so). Passing the ownership in the constructor is sometimes convenient, but it might be best to remove this:
smaller constructors are good
we can simplify methods by setting the parent in AbstractContainer rather than each createSix call (although this does still need the index anyway)
this unlocks the possibility of creating a .subscribe() method on AbstractBlock offering more flexibility
The text was updated successfully, but these errors were encountered:
The
AbstractBlock
constructor takes aninitialRow: Row
(sensible) and anownership: BlockOwnership
(possibly less so). Passing the ownership in the constructor is sometimes convenient, but it might be best to remove this:AbstractContainer
rather than eachcreateSix
call (although this does still need theindex
anyway).subscribe()
method onAbstractBlock
offering more flexibilityThe text was updated successfully, but these errors were encountered: