'Benjamin Smith' via Dart Misc
2018-10-12 18:46:31 UTC
Hello,
I am relatively new to Dart, and was wondering what the recommended
practice is for documenting non-obvious call sites.
For example, in Java I would use an inline comment to write:
someObject.someMethod(meaningfulParm1, meaningfulParm2,
/*lessObviousParm=*/5);
In Dart, I don't see a recommendation in the style guide, except not to use
/* */ block comments.
https://www.dartlang.org/guides/language/effective-dart/documentation#dont-use-block-comments-for-documentation
Named parameters look interesting, but doesn't feel like the right fit.
Thanks!
Ben
I am relatively new to Dart, and was wondering what the recommended
practice is for documenting non-obvious call sites.
For example, in Java I would use an inline comment to write:
someObject.someMethod(meaningfulParm1, meaningfulParm2,
/*lessObviousParm=*/5);
In Dart, I don't see a recommendation in the style guide, except not to use
/* */ block comments.
https://www.dartlang.org/guides/language/effective-dart/documentation#dont-use-block-comments-for-documentation
Named parameters look interesting, but doesn't feel like the right fit.
Thanks!
Ben
--
For more ways to connect visit https://www.dartlang.org/community
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
To view this discussion on the web visit https://groups.google.com/a/dartlang.org/d/msgid/misc/697cea8b-a08c-4728-9fcd-091344e852d9%40dartlang.org.
For more ways to connect visit https://www.dartlang.org/community
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
To view this discussion on the web visit https://groups.google.com/a/dartlang.org/d/msgid/misc/697cea8b-a08c-4728-9fcd-091344e852d9%40dartlang.org.