Make By Reference Paramters like InStream or JsonOjbect explict by adding var to procedures #222
pri-kise
started this conversation in
BC Best Practices
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to discuss about adding var on paramters, that are implicit by reference to make this clear to any developer, that they are working on the same instance of an variable.
Bad Practice
Good Practice:
The same applies for all new types, like HttpClient, JsonObject (JsonXXX), XmlDocument (XmlXXX).
Beta Was this translation helpful? Give feedback.
All reactions