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
// Learn more https://www.youtube.com/watch?v=UX4XjxWcDB4
type SafetyPlacer interface {
PlaceSafeties()
}
type RockClimber struct {
kind int
rocksClimbed int
// rockClimber still depends on safetyPlacer but it doesnot depend on the implementation of safetyPlacer, it implements on a behavior of the safetyPlacer