Wondering if its possible to map comments from the slice file into a target language, such as C#.
It would be nice to be able to generate the following, C# standard comments, even if it was just for intellisense support:
/// <summary>
/// Function that does foo.
/// </summary>
/// <param name="foo">A fooey parameter.</param>
/// <param name="boo">A barey parameter.</param>
Granted, this is not a problem with a simple function - but when you have a complex function with many parameters, it is more elegant to describe the parameters using the docs, rather than long parameter names. This makes coding much easier and quicker, and results in cleaner code.
And, in addition, the thought of generating a 50 function interface with no comments attached to the interface is just downright scary.

Reply With Quote