Re:Deutsche Bank makes source code publicly available for th...
by almenon on Sunday October 08, 2017 @08:53PM
(#15430892)
Yeah, that's the standard way to write comments. It looks terrible but it's not bad to write because Visual Studio auto-generates the comment skeleton for you.
[ Parent
| on HN ]
Re:Deutsche Bank makes source code publicly available for th...
by colejohnson66 on Sunday October 08, 2017 @09:31PM
(#15431046)
It’s not the standard way. It’s the standard way for documentation so Intellisense can provide information about the function. The standard way still uses C/C++ style double slash ( // ) and multiline style ( // )
Re:Deutsche Bank makes source code publicly available for th...
by techtalsky on Monday October 09, 2017 @02:24AM
(#15431907)
Muliline style /
Re:Deutsche Bank makes source code publicly available for th...
by colejohnson66 on Monday October 09, 2017 @02:46AM
(#15431964)
I meant the slash-asterisk comment asterisk-slash, but apparetly HN saw the two asterisks as markup...
Re:Deutsche Bank makes source code publicly available for th...
by jackewiehose on Sunday October 08, 2017 @09:10PM
(#15430971)
Embedding XML inside a C-comment (as a standard) is just fucked up. Do you have correct syntax highlighting with that?
(I don't. But even if emacs would understand this, it's still wrong)
Re:Deutsche Bank makes source code publicly available for th...
by _dcwr on Thursday October 12, 2017 @12:39PM
(#15459235)
C++ with Doxygen and Java with Javadoc are much saner formats for this purpose.
What's even worse is that Visual Studio 2015 just vomits out that the XML is malformed when I have C++ headers with Doxygen style comments in them. It detects the three slashes and tries to apply C# XML docs parsing to them and that of course fails. Meanwhile NetBeans can handle them no problem and display parsed docs in pop ups.