You are viewing a single comment's thread from:

RE: Writing Good and Readable Functions: Clean Code!

in #programming7 years ago

Except that functions should also be used for a specified task. So if a function is long and complex but the only time the components get called is in the function then it can be detrimental and increase chance of a memory leak to send data throughout multiple functions. If your function is only called once in your code then it might as well as just be some inline code.

Coin Marketplace

STEEM 0.16
TRX 0.13
JST 0.027
BTC 59273.25
ETH 2758.24
USDT 1.00
SBD 2.28