My advice is to upload your project to github - make sure to add copyright and licensing information. Then post the one or two relevant short snippets on Code Review and link to your project on github.
Note that there are plenty of questions here on stackoverflow where users have asked to turn something that is imperative to something more functional or idiomatic. The key is to break down your problems into distinct issues you're trying to solve then take the one that has the most chance to get an answer and ask a question about it. If you can make it self contained then that really good. See https://stackoverflow.com/search?tab=relevance&q=%5bscala%5d%20%20idiomatic for some ideas...
发布评论
评论(2)
尝试代码审查
Try on Code Review
我的建议是将您的项目上传到 github - 确保添加版权和许可信息。然后在 Code Review 上发布一两个相关的简短片段,并链接到 github 上的项目。
请注意,stackoverflow 上有很多问题,用户要求将一些必需的内容转换为更实用或更惯用的内容。关键是将您的问题分解为您想要解决的不同问题,然后选择最有可能获得答案的问题并提出相关问题。如果你能让它自成一体,那就太好了。请参阅 https://stackoverflow.com/search?tab=relevance&q=%5bscala %5d%20%20惯用的一些想法...
My advice is to upload your project to github - make sure to add copyright and licensing information. Then post the one or two relevant short snippets on Code Review and link to your project on github.
Note that there are plenty of questions here on stackoverflow where users have asked to turn something that is imperative to something more functional or idiomatic. The key is to break down your problems into distinct issues you're trying to solve then take the one that has the most chance to get an answer and ask a question about it. If you can make it self contained then that really good. See https://stackoverflow.com/search?tab=relevance&q=%5bscala%5d%20%20idiomatic for some ideas...