Sorry to bother you for something not that interessant, but this guy asked a question and someone answered with non-sense :
stackoverflow.com/questions/31843031/… I can't comment myself because I have not enough reputation. This may be incorrect because I have also answered this question but I'm really worried that the answerer will write ineffective code and learn wrong things.