Skip to content

Comment on Smalltalk simplicity and consistency vs. other languages (2022) [video]parent

Comments

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.

I’ll be honest this looks like an arbitrarily made up rule and stinks like bs.

Your "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".

And this moment is why smalltalk is not for everybody

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.