Quantcast
Channel: Tech Annotation
Viewing all articles
Browse latest Browse all 131

Be a good citizens by not mutating input parameter

$
0
0
Mutating input parameters inside a function is a very frequent bad practice, and dangerous because it’s made without awareness of the consequence, especially in multithread application. To understand how to recognize such code, we need to know how Java stores the parameters in memory and how update our code in order to avoid such problem. … Continue reading "Be a good citizens by not mutating input parameter"

Viewing all articles
Browse latest Browse all 131

Trending Articles