Software Developer
fun countLinesInFiles(fileNames: List<String>): Int = fileNames.sumBy { File(it).useLines { it.count() } }
Но все равно речь была немного не о том.