4 ms·
Generally if your method in Smalltalk is 4 lines you're doing something wrong. Most good Smalltalk ends up being only 1 or 2 lines at the most, which is why th
by smackeyacky 3y ago
Generally if your method in Smalltalk is 4 lines you're doing something wrong. Most good Smalltalk ends up being only 1 or 2 lines at the most, which is why the "coding" window always looked weird and small compared to contemporary languages.
- znpy 3y agoI’ll be honest this looks like an arbitrarily made up rule and stinks like bs.
- smackeyacky 3y agoAnd this moment is why smalltalk is not for everybody
- igouy 3y agoYour "has to write code in a small text area, viewing like 4 lines at the time" is a silly exaggeration. The text area is likely resizable and scrollable. Their "if your method in Smalltalk is 4 lines you're doing something wrong" is a silly exaggeration. 'Smalltalk "programs" are ensembles of objects, distributed throughout the class hierarchy, that work together by means of message passing produce computations.' Individual methods tend to be small and without a single large program text beginners had problems finding "the program".