You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to avoid any monadic functions that don’t follow these forms
For example,
voidincludeSetupPageInto(StringBufferpageText).
Using an output argument instead of a return value for a transformation is confusing. If a function is going to transform its input argument, the transformation should appear as the return value. Indeed,
StringBuffertransform(StringBufferin)
is better than void transform-(StringBuffer out), even if the implementation in the first case simply returns the input argument. At least it still follows the form of a transformation.
The text was updated successfully, but these errors were encountered:
Try to avoid any monadic functions that don’t follow these forms
For example,
Using an output argument instead of a return value for a transformation is confusing. If a function is going to transform its input argument, the transformation should appear as the return value. Indeed,
is better than void transform-(StringBuffer out), even if the implementation in the first case simply returns the input argument. At least it still follows the form of a transformation.
The text was updated successfully, but these errors were encountered: