📜 ⬆️ ⬇️

Searching for methods in squeak smoltok

Smoltok is still the favorite toy of many programmers. He is just beautiful!
Take at least Method Finder: write what you have and what you need to get - the smoltok finds the methods by which this can be done :



Suppose we want to know when the programmer's day is this year. How to count? We need a method that will return the date 256 days of the year. We know that February 2 is 33 days. We are looking for a method:
')


Here he is. It's simple.
Of course, no magic - just going through all the methods of the input objects. But this is so simple and so useful! And nowhere, except smoltok, no.

A holiday, by the way, September 13:

Source: https://habr.com/ru/post/55517/


All Articles