| ▲ | twosdai 2 hours ago | |
This sounds interesting, I am really naive. I don't code in C#, is there an analogy for other programming languages, like GO, or Python or Typescript? Like are you prompting like: --- I need code that does X,Y, and Z. Write it so that the Roslyn compiler on this machine can compile and the code passes the repo's styling and formatting requirements. --- Or something else. | ||
| ▲ | kaashif 2 hours ago | parent | next [-] | |
No, they are talking about refactoring, not adding new functionality to code. So it would be something like: Rewrite this Python code to use match/case instead of if/elif/else chains, write a script using the ast module to rewrite the code, do not edit it yourself, also write some tests with clear inputs and outputs I can inspect. Or something. | ||
| ▲ | bob1029 2 hours ago | parent | prev [-] | |
Here's the official docs if it helps https://learn.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/t... | ||