Skip to content

Commit e3e4232

Browse files
Update general/development/policies/codingstyle/index.md
Co-authored-by: Andrew Lyons <[email protected]>
1 parent ea67af0 commit e3e4232

File tree

1 file changed

+5
-1
lines changed
  • general/development/policies/codingstyle

1 file changed

+5
-1
lines changed

general/development/policies/codingstyle/index.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,11 @@ function goodfunction(
11961196

11971197
</ValidExample>
11981198

1199-
If there was a very good reason, then the use of an array could be considered. But it is strongly encouraged that all parameters be explicit and typed.
1199+
:::note
1200+
1201+
Whilst the use of explicitly specified options, or a dedicated options class, is strongly encouraged; this may not be possible in all cases. Where a generic options array is used, this should be discussed and the reason clearly explained.
1202+
1203+
:::
12001204

12011205
## Control statements
12021206

0 commit comments

Comments
 (0)