Scala tips: Improving the imperfect part 1 · HackerTrans