Do you have a preference for using apply vs. just ...
# codereview
d
Do you have a preference for using apply vs. just returning it afterwards (ie.
cur.apply { add(0, item) }
vs.
cur.add(0, item); cur
)? I don’t omit braces because it can lead to awkward bugs after code reformatting.