scalapuzzlers / scalapuzzlers.github.com

Github Pages behind scalapuzzlers.com
www.scalapuzzlers.com
161 stars 53 forks source link

Puzzler proposal: 'Float or Sink?' #87

Closed demobox closed 10 years ago

nermin commented 10 years ago

Even though it is not easy to follow this one (it took me a while to understand what is going on), I like it because it tricked me, since I wasn't aware of the unseen implicit parameter.

LGTM.

demobox commented 10 years ago

Even though it is not easy to follow this one (it took me a while to understand what is going on)

Glad it turned out to be non-intuitive, but are there any suggestions you might have for making it easier to understand? Using a context bound vs. a view bound would be one option, but I had a hard time coming up with a good sample then (we tried the Ordering one, if you recall ;-) )

nermin commented 10 years ago

@demobox not really, unfortunately. I guess not every puzzler can be or should be possible to understand in a minute or two, so I wouldn't be shy about publishing this one.

demobox commented 10 years ago

so I wouldn't be shy about publishing this one.

Thanks for reviewing, @nermin!