sap-hana icon indicating copy to clipboard operation
sap-hana copied to clipboard

Backlog: when to use function in the code

Open rukawata opened this issue 5 years ago • 0 comments

Under the following condition, wrap the code in a function is over kill and reduce the readability of the code:

  • One liner
  • String concatenation
  • small amount of code that does not get reused again anywhere else

Some of the examples that should be adjusted listed in PR #298 in Comment.

rukawata avatar Feb 28 '20 21:02 rukawata