6 ms·
Link to code: https://github.com/symphonyoss/plexus-interop https://github.com/symphonyoss/plexus-interop
by thomasdziedzic 9y ago
Link to code: https://github.com/symphonyoss/plexus-interop https://github.com/symphonyoss/plexus-interop
- ben0x539 9y agoSays public domain in the post but all the code says Apache, weird~
- wlesieutre 9y agoArticle author probably doesn't realize there's a distinction between "publicly available" and "public domain"
- iiv 9y agoArticle author is probably a lawyer (or at least proof-read by a lawyer), so that sounds strange.
- kuschku 9y agoGerman law doesn't have a public domain, so Apache license is as close as you can get.
- giancarlostoro 9y agoWhy wouldn't MIT or BSD License be closer?
- kuschku 9y agoApache2 has an explicit patent license.
- mzzter 9y agoInteresting, I would have expected Java or C++ but it turns out to be C# and Javascript.
- dom0 9y agoThere are a bunch of Eclipse xtend files (=Java) around there as well.
- deleted 9y ago[deleted]
- jackewiehose 9y agoI don't know C#. Should I assume this is the way to write comments? That's just terrible. /// <summary> /// Log a message with the specified <paramref name="logLevel"/>. /// </summary> /// <param name="logLevel">The level of log entry.</param> /// <param name="exception">The exception to log.</param> /// <param name="message">The format of the message object to log.<see cref="string.Format(string,object[])"/> </param> /// <param name="arg1">The first argument for message formatting.</param> [StringFormatMethod("format")] void Log<T1>(LogLevel logLevel, [CanBeNull] Exception exception, string message, T1 arg1);
- almenon 9y agoYeah, 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.
- jackewiehose 9y agoEmbedding 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)
- MichaelGG 9y agoYeah, it's a mess. F# got it right, use triple slash to provide a summary. C# should have at least gotten that, instead of forcing so much XML all the time.
- _dcwr 9y agoC++ 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.
- 9y ago