C/C++, C#, Microsoft, PHP, Technology, Web, Web Development, WindowsCommon coding pitfalls developers should avoidIf result of a function is needed more than once then don’t call that function multiple times. Save the result of that function in a variable and use that variable instead. Muhammad Jawaid ShamshadJanuary 26, 20091 Comment