4 ms·
I never thouht of Smalltalk as being verbose. It has basically no boilerplate code, almost no syntax and good Smalltalk code is usually well factored. In Pharo,
by xkriva11 5y ago
I never thouht of Smalltalk as being verbose. It has basically no boilerplate code, almost no syntax and good Smalltalk code is usually well factored. In Pharo, average method has 5 lines (median is 3) of 32 characters (median is 24).
Usual method in Smalltalk,
including its definition,
is shorther than this sentence.
- igouy 5y ago> In Pharo, average method has… Do you mean in base Pharo, or do you mean in an enterprisey system built using Pharo?
- xkriva11 5y agoThese are the statistics from base Pharo. Enterprise systems will probably have, in average, longer methods because of longer domain-specific names and tests that are usually more descriptive.