Migrating StackOverflow answers to Scala 3

With the move to Scala 3, how can we as a community also migrate the many old StackOverflow answers that exist and refer to syntax that is either deprecated, wrong, or has a better alternative? Is there some way we can organize and rank up answers that are better fit for Scala 3? How do find and keep track of the “bad” answers until better alternatives are provided?

7 Likes

Consider following the example of Xavier Guihot regarding release of 2.13 where he would enrich existing question with “Starting Scala 2.13…” answer, or even ask and answer his own question with 2.13 information (which is encouraged by SO). Community could then upvote such modified questions by keeping an eye on Scala active questions tab.

5 Likes

They could hold Scala Sprees devoted entirely to upvoting Scala 3 Q&As.

The next edition of Scala Puzzlers will have one of those star-shaped stickers on the cover: “Certified for Scala 3!”

Once upon a time, I thought it would be helpful to maintain a list of puzzlers resolved by Scala 3, but it turned out to be more productive to post puzzlers which survive all the Scalafixes you can throw at it.

Full disclosure, I’m not affiliated with either Scala 3 or its Puzzlers. But maybe it’s not too late to stylize it “Pu33lers” in the press materials.

In addition to Mario Galic proposals:

One thing we could do, is introduce next to the scala tag scala-2 and scala-3 tags.

So we can tag questions according to their relevance. At some point scala will then mean scala-3 - I saw that with the playframework tag.

What I also use is if I find an answer, but not in the Technology I am looking for. I just repeat the title with the according Postfix.

Example

Is then:

3 Likes

This seems to be a general problem with SO at large, and without any clear and efficient ways of dealing with it.

I think the best we can do is to list those questions and encourage the community to provide new answers and upvote them (but not downvote outdated answers, they may still be relevant).

How do we approach the community? Uhh… like we do now with twitter, blog posts and the users forum? I’m not sure.

1 Like

Here is my attempt at enriching existing question describing limit 22 as a dropped feature. The answer provides

Perhaps this could serve as a template for further Scala 3 answers.

2 Likes