3 ms·
You still have to write the code for the macro. With ChatGPT you can just say “write a mapper between these two object in C# 11, make the target members upperca
by brtkdotse 3y ago
You still have to write the code for the macro. With ChatGPT you can just say “write a mapper between these two object in C# 11, make the target members uppercase and skip X, Y and Z”
- pylua 3y agoAt least in java there are open source libraries that do this that are pretty standard. For instance, Mapstruct. It, for the most part is already automagic. Doing it for a mapping feels like a deficiency in the code unless chatgpt is putting thoughts behind the variable names and reasoning about what mapping makes the most sense.