scala method vs function

join shbcf.ru