{"id":625,"date":"2021-03-05T07:50:17","date_gmt":"2021-03-05T07:50:17","guid":{"rendered":"https:\/\/metrics.blogg.gu.se\/?p=625"},"modified":"2021-02-24T13:52:35","modified_gmt":"2021-02-24T13:52:35","slug":"siri-write-the-next-method-article-highlight","status":"publish","type":"post","link":"https:\/\/metrics.blogg.gu.se\/?p=625","title":{"rendered":"Siri, Write the Next Method\u2026 (article highlight)"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"683\" src=\"https:\/\/metrics.blogg.gu.se\/files\/2021\/02\/google-home-mini-3739710_1920-1024x683.jpg\" alt=\"\" class=\"wp-image-626\" srcset=\"https:\/\/metrics.blogg.gu.se\/files\/2021\/02\/google-home-mini-3739710_1920-1024x683.jpg 1024w, https:\/\/metrics.blogg.gu.se\/files\/2021\/02\/google-home-mini-3739710_1920-300x200.jpg 300w, https:\/\/metrics.blogg.gu.se\/files\/2021\/02\/google-home-mini-3739710_1920-768x512.jpg 768w, https:\/\/metrics.blogg.gu.se\/files\/2021\/02\/google-home-mini-3739710_1920-1200x800.jpg 1200w, https:\/\/metrics.blogg.gu.se\/files\/2021\/02\/google-home-mini-3739710_1920-1320x880.jpg 1320w, https:\/\/metrics.blogg.gu.se\/files\/2021\/02\/google-home-mini-3739710_1920.jpg 1920w\" sizes=\"(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px\" \/><figcaption>BIld av <a href=\"https:\/\/pixabay.com\/sv\/users\/yangjiepsy01-3366402\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=3739710\">yangjiepsy01<\/a> fr\u00e5n <a href=\"https:\/\/pixabay.com\/sv\/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=3739710\">Pixabay<\/a><\/figcaption><\/figure>\n\n\n\n<p><a href=\"https:\/\/www.inf.usi.ch\/lanza\/Downloads\/Wen2021a.pdf\">Wen2021a.pdf (usi.ch)<\/a><\/p>\n\n\n\n<p class=\"has-drop-cap\">I&#8217;ve came across\nthis article by accident. Essentially I do not even remember what I was looking\nfor, but that&#8217;s maybe not so important. Either way, I really want to try this\ntool. <\/p>\n\n\n\n<p>This research study\nis about designing a tool for code completion, but not just a completion of a\nword\/statement\/variable, but providing a signature of the next method to\nimplement. <\/p>\n\n\n\n<p>From the abstract:\n&#8220;Code completion is one of the killer features of Integrated Development\nEnvironments (IDEs), and researchers have proposed different methods to improve\nits accuracy. While these techniques are valuable to speed up code writing, they\nare limited to recommendations related to the next few tokens a developer is\nlikely to type given the current context. In the best case, they can recommend\na few APIs that a developer is likely to use next. We present FeaRS, a novel\nretrieval-based approach that, given the current code a developer is writing in\nthe IDE, can recommend the next complete method (i.e., signature and method\nbody) that the developer is likely to implement. To do this, FeaRS exploits\n\u201cimplementation patterns\u201d (i.e., groups of methods usually implemented within\nthe same task) learned by mining thousands of open source projects. We\ninstantiated our approach to the specific context of Android apps. A\nlarge-scale empirical evaluation we performed across more than 20k apps shows\nencouraging preliminary results, but also highlights future challenges to\novercome.&#8221;<\/p>\n\n\n\n<p>As far as I\nunderstand, this is a plug-in to android studio, so I will probably need to see\nif I can use it outside of this context. However, it seems to be very\ninteresting\u2026. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wen2021a.pdf (usi.ch) I&#8217;ve came across this article by accident. Essentially I do not even remember what I was looking for, but that&#8217;s maybe not so important. Either way, I really want to try this tool. This research study is about designing a tool for code completion, but not just a completion of a word\/statement\/variable, but &hellip; <a href=\"https:\/\/metrics.blogg.gu.se\/?p=625\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Siri, Write the Next Method\u2026 (article highlight)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":68,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,7,4],"tags":[],"_links":{"self":[{"href":"https:\/\/metrics.blogg.gu.se\/index.php?rest_route=\/wp\/v2\/posts\/625"}],"collection":[{"href":"https:\/\/metrics.blogg.gu.se\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/metrics.blogg.gu.se\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/metrics.blogg.gu.se\/index.php?rest_route=\/wp\/v2\/users\/68"}],"replies":[{"embeddable":true,"href":"https:\/\/metrics.blogg.gu.se\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=625"}],"version-history":[{"count":1,"href":"https:\/\/metrics.blogg.gu.se\/index.php?rest_route=\/wp\/v2\/posts\/625\/revisions"}],"predecessor-version":[{"id":627,"href":"https:\/\/metrics.blogg.gu.se\/index.php?rest_route=\/wp\/v2\/posts\/625\/revisions\/627"}],"wp:attachment":[{"href":"https:\/\/metrics.blogg.gu.se\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=625"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/metrics.blogg.gu.se\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=625"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/metrics.blogg.gu.se\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=625"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}