Sven,

Thanks for your articles. I really like the approach and the idea of starting with more problem oriented writting (making a game is more project oriented, which is also fine by the way, just a complementary approach I prefer more). I would add myself to the Hernán's suggestion of using visualization to explain Smalltalk better, of course this could not be appropriate for on liners, but could be used in future post of your blog. I have thought about this myself[1] and made some small experiments[2] and in some sense Pharo seems a richer environment that even IPython


[1] http://mutabit.com/offray/static/blog/output/posts/pharo-by-visualization.html [2] http://mutabit.com/offray/static/blog/output/posts/borrachos-bochinche-futbol.html
[3] http://mutabit.com/mutabit/default/wiki/ipython-deepness

I would write a (Dyna)booklet on "Visual Data Narratives using Pharo Smalltalk" but for that I need to bootstrap my writing process inside Pharo by making tools that support outlining which is my best way to organize my writing[3]. That's where I'm now and in the process I hope to bootstrap myself from mailing list lurker and newbie to a more active member of this community. Your blog post are a good inspiration in this pad.

Cheers,

Offray


On 07/09/2014 02:11 AM, Hernán Morales Durand wrote:
Hello Sven,

I will try to give some feedback for you. My major issue is that the objects you
use are pretty basic. There is no reason to put limits with so many contributed
packages. Visualizations have impact and you could use Roassal, GraphViz,
CodeCity, GraphET. SQL is also of interest for many developers. Or Big Data
which is a requirement now. An example with Spec and DynamicLayout would be
cool. For reverse engineering there is Moose and you could show an overview
pyramid maybe? A one-liner with #linesOfCode would be magic :)

About the article: When writing sample code with random, don't forget to add a
paragraph explaining the random source. It is /dev/urandom? To randomize a
String I write this:

(UUID new asString reject: #isDigit) copyWithoutAll: '-'.

To count digits (doesn't work for 1 digit but I like it):

42 factorial log ceiling.

I don't know how this could be useful besides doing many things: "Split a string
on dashes, reverse the order of the elements and join them using slashes". If
you could find a example with some real application would be nice too.

For Collection messages people is often interested in speed comparisons. Because
audience already knows how to do that in R, Python or other language.

Hope you could find them useful.

Hernán




2014-07-07 19:21 GMT-03:00 Sven Van Caekenberghe <s...@stfx.eu
<mailto:s...@stfx.eu>>:

     Hi,

     I have written a new article presenting Pharo using a list of 23 short 
examples.

        Elegant Pharo Code

        Beautiful & Powerful One-liners, Expressions and Snippets

     https://medium.com/@svenvc/elegant-pharo-code-bb590f0856d0

     As mentioned at the end of the article, I welcome feedback, remarks,
     comments, alternative solutions and other examples. The idea is to create
     yet another way to lure people into exploring Pharo while explaining by
     example why we like Pharo.

     Enjoy!

     Sven

     --
     Sven Van Caekenberghe
     Proudly supporting Pharo
     http://pharo.org
     http://association.pharo.org
     http://consortium.pharo.org








Reply via email to