DEV Community

Cover image for Why Use Smalltalk?
Richard Kenneth Eng
Richard Kenneth Eng

Posted on

Why Use Smalltalk?

Certainly, not for the jobs. Smalltalk has a paucity of job opportunities. However, for all other reasons, it's a great choice.

First of all, Smalltalk is supremely simple and easy to learn. Much more so than even Python and Go.

Smalltalk has all of six reserved words. The complete syntax fits on a post card!

Alan Kay, Dan Ingalls, and Adele Goldberg at Xerox PARC specifically created Smalltalk for teaching programming to young people. It doesn't get any easier than this!

Check out how you can learn the syntax in its entirety within 15 minutes: Learn Smalltalk with ProfStef. (Make sure you follow the instruction in line 5: "Select the text below and click on the 'DoIt' button".)

Second, despite its small size and simplicity, Smalltalk is enormously versatile. It can be used for practically anything! Web, desktop, mobile, data science, machine learning, IoT, embedded, robotics, virtual reality, enterprise business computing, you name it.

Smalltalk's ecosystem may be relatively small, but its built-in class library is very rich, indeed. Smalltalk is practically one-stop shopping for programmers.

I most highly recommend Pharo, a modern variant of Smalltalk. For web development, you have Seaside, Teapot, and PharoJS.

For data science, you have PolyMath and Roassal.

For IoT, you have PharoThings.

Third, Smalltalk's live coding capability makes it one of the most productive general-purpose programming languages in the world, according to a study conducted by Namcook Analytics. On average, it's twice as productive as Javascript, C++, Go, Java, PHP, Python, and C#. This is on average. In many instances, the productivity amplification can be up to 5X.

Fourth, Smalltalk is great for metaprogramming. It's a lot like Lisp in this respect. See Lisp, Smalltalk, and the Power of Symmetry.

And, finally, Alan Kay's conception of OOP is pure gold, and Smalltalk is the epitome of it. Watch Alan Kay's tribute to Ted Nelson.

Some more insight comes from Alan Kay’s "The Early History Of Smalltalk" (©1993 ACM):

Smalltalk is a recursion on the notion of computer itself. Instead of dividing "computer stuff" into things each less strong than the whole — like data structures, procedures, and functions which are the usual paraphernalia of programming languages — each Smalltalk object is a recursion on the entire possibilities of the computer. Thus its semantics are a bit like having thousands and thousands of computers all hooked together by a very fast network.

and

Smalltalk’s contribution is a new design paradigm — which I called object-oriented — for attacking large problems of the professional programmer, and making small ones possible for the novice user. Object-oriented design is a successful attempt to qualitatively improve the efficiency of modeling the ever more complex dynamic systems and user relationships made possible by the silicon explosion.

Alan Kay famously said:

Actually, I made up the term "object-oriented," and I can tell you I did not have C++ in mind.

Said Alan Kay: "The Internet was done so well that most people think of it as a natural resource like the Pacific Ocean, rather than something that was man-made. When was the last time a technology with a scale like that was so error-free?"

Alan Kay likened his object-oriented philosphy to how the Internet was built, or how biological organisms consisting of billions of cells are built. Smalltalk is fantastic for truly scalable solutions.

[This is a follow-up to "Who Killed Smalltalk?"]

Top comments (0)