scalapuzzlers / scalapuzzlers.github.com

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

Update pzzlr-018.html #108

Closed xhudik closed 10 years ago

xhudik commented 10 years ago

working also for scala version 2.11.0

demobox commented 10 years ago

Thanks, @xhudik! You'll find many puzzlers like this - "tested with" should generally be interpreted as "it exhibited the strange behaviour under that version and that hasn't changed since".

So "tested with 2.10" means "was weird in 2.10 and is still weird now" - if the behaviour has changed in 2.10 and is no longer puzzling, the puzzler should be moved to the Archive.

@nermin Any thoughts on whether or how we should update "tested with" to explain the meaning more clearly?

xhudik commented 10 years ago

what about: feature found on: feature not working since:

Not sure about the word "feature" likely something else should suits better...

demobox commented 10 years ago

likely something else should suits better...

How about "First tested with"? Thanks for the suggestions, @xhudik!

nermin commented 10 years ago

I like "First tested with Scala version".

xhudik commented 10 years ago

yes, "First tested with Scala version" sounds reasonable. We might also think about statement for puzzlers which were moved to the archive. What about: "Puzzler doesn't work for scala version:" ?

demobox commented 10 years ago

We might also think about statement for puzzlers which were moved to the archive.

The way the archive is set up should hopefully make it clear that e.g. a puzzler in the 2.9 archive section no longer behaves the same way in 2.10?

I agree that we could consider something like updating archived puzzlers with e.g. a paragraph that describes the current behaviour, and/or a link to the issue or commit that caused the change.

Luckily, we don't have that many puzzlers in the archive for now, so I personally don't feel we need to make any changes right now. But if and when this number grows that's certainly worth considering.

xhudik commented 10 years ago

:+1: Good, so I'll make a small script which will replace "Tested with Scala version" with First tested with Scala version

demobox commented 10 years ago

so I'll make a small script which will replace "Tested with Scala version" with First tested with Scala version

See #111. Thanks for offering to do that too!

xhudik commented 10 years ago

:+1: