Tag: difference between a function and a method in scala