UKHomeOffice / engineering-guidance-and-standards

Engineering Guidance and Standards for the Home Office
https://engineering.homeoffice.gov.uk
MIT License
14 stars 2 forks source link

WIP: Code comments standard #298

Open deanwhitehouseHO opened 8 months ago

deanwhitehouseHO commented 8 months ago

Is this pull request a content or a code change? (Please fill in the relevant section and delete the other)

Code change

I can confirm:

Accessibility considerations

or

or

Content change

I can confirm:

edhamiltonHO commented 8 months ago

Looks like a good candidate for review with the Software Design guild 😃

Could you please create and link an issue for this proposed standard

Also, tests on valid links are failing. Rebase should fix those failures that have not already been addressed in your second commit

deanwhitehouseHO commented 8 months ago

Looks like a good candidate for review with the Software Design guild 😃

Could you please create and link an issue for this proposed standard

Also, tests on valid links are failing. Rebase should fix those failures that have not already been addressed in your second commit

@edhamiltonHO updated with a linked issue and resolved the errors in build :)

robertdeniszczyc2 commented 7 months ago

Apologies I've not been to the Software Design guild so conscious this question might have already been asked, but I noticed this is tagged as Ways of Working too so I have an interest.

Reading through the draft for this, I wondered whether this is a Standard or more of a Pattern. We already have Patterns covering docs-as-code (https://engineering.homeoffice.gov.uk/patterns/docs-as-code/) and writing effective documentation (https://engineering.homeoffice.gov.uk/patterns/write-effective-documentation/) and I see this as an extension particularly of the effective documentation Pattern. I see the Standards more for something non-negotiable and concrete like "encrypt data", but this feels more like recommendations of how to employ code comments.

Happy to be challenged on this,

Thanks, Rob

aaronrussellHO commented 7 months ago

Apologies I've not been to the Software Design guild so conscious this question might have already been asked, but I noticed this is tagged as Ways of Working too so I have an interest.

Reading through the draft for this, I wondered whether this is a Standard or more of a Pattern. We already have Patterns covering docs-as-code (https://engineering.homeoffice.gov.uk/patterns/docs-as-code/) and writing effective documentation (https://engineering.homeoffice.gov.uk/patterns/write-effective-documentation/) and I see this as an extension particularly of the effective documentation Pattern. I see the Standards more for something non-negotiable and concrete like "encrypt data", but this feels more like recommendations of how to employ code comments.

Happy to be challenged on this,

Thanks, Rob

We all agreed in the SD guild meeting to move some of the points into existing pattern/create a new pattern.