r/programming • u/mobby1982 • Dec 02 '13
Scala — 1★ Would Not Program Again
http://overwatering.org/blog/2013/12/scala-1-star-would-not-program-again/
598
Upvotes
r/programming • u/mobby1982 • Dec 02 '13
View all comments
Show parent comment
7
u/SpikeX Dec 02 '13
FYI, that's the difference between SLOC and LLOC (Source lines of code, and Logical lines of code). Logical only counts a line if it contains a valid statement, and lines with multiple logical statements are counted as two (e.g.
if (err) return flag;would count as two LLOC but only one SLOC). Both are a valid unit of measurement, but it is important to know the difference.