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
What kind of exercise is there for Rc? There is no exercise, just some copy-paste stuff.
The same for Arc. And by the way, I didn't read anything about Arc / Cow in the book while doing smart pointers.
For lifetimes it was too simple as well.
The text was updated successfully, but these errors were encountered:
I agree that the Rc exercice is not really worth. As the surrounded code treats other values exactly the same way, the pattern is way too noticeable and the learner (me) can copy/paste without understanding anything.
I think the exercice shouldn't expose the usage example on others value.
Maybe we can come up with an exercice designed around a device that needs to be unique (like Audio system).
@TheGP about LifeTime : the Readme indicates that there is a lifetimekata project that propose exercises that go deeper. I think it's good enough and allow this project to put the effort on other parts.
What kind of exercise is there for Rc? There is no exercise, just some copy-paste stuff.
The same for Arc. And by the way, I didn't read anything about Arc / Cow in the book while doing smart pointers.
For lifetimes it was too simple as well.
The text was updated successfully, but these errors were encountered: