Skip to main content
Dynamics 365 Community / Forums / Finance forum / Automated Code reviews...
Finance forum
Suggested answer

Automated Code reviews of x++ with Copilot?

editSubscribe (1) ShareShare
ReportReport
Posted on by 2
Good morning,

Anyone who played around with the idea of Automated Code reviews of x++ with Copilot? Would like to hear your view and experience.
 
Regards,
Andre
  • Automated Code reviews of x++ with Copilot?
    Agree with what you have said here, The code it generates isn't very good. And the role of the lead developer will remain the main hurdle for code reviews. 

     
  • Suggested answer
    Kevin Xia Profile Picture
    Kevin Xia Microsoft Employee on at
    Automated Code reviews of x++ with Copilot?
    Hi,
    There are a number of free plug-ins that do code review, such as reviewing your code before uploading it to GitHub, you can use these plugins to help you with code review. At present, using AI for code writing or code review is still an immature idea. In my previous company, some colleagues tried to use AI to generate code, it worked, but the generated code was very lengthy and redundant and cost performance. For experienced developers, the user requirement can be realized with two lines of code, but AI used more than ten lines of code. Therefore, please carefully consider the application of copilot in code review. As Martin said, the leading power of code review should still be in your hands.
    Best regards,
    Kevin
  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 222,776 Super User on at
    Automated Code reviews of x++ with Copilot?
    I didn't, but I wouldn't expect any good results, because I don't see any good data it could train on. And if AI can't learn, it doesn't really know anything.
     
    I think a better approach at the moment is utilizing and improving tools for static analysis (e.g. BP check). That's the automated code review you already have at your disposal. Sadly, many teams don't pay attention to these tools (and Microsoft could also fix some bugs, if nothing else).
     
    Also, the role of experienced colleagues is and will be crucial, as long as AI isn't better in all aspects than your most experienced developer. That's something that no one claims at the moment; Microsoft uses the term "copilot" to make clear it's something to assist you, but you're still the main actor. It's not an "auto-pilot".

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Demystifying Copilot with Sundar Raghavan

Sundar explains how Copilot for Service is meant to function separately...

Is Copilot Supported In My Region?

Find out if Dynamics 365 and Copilot are supported in your region…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,189 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,776 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,140

Featured topics

Product updates

Dynamics 365 release plans