> > > As an experienced programmer I am trying to accomplish something > non-trivial as hard and as fast as I can with Squeak, Pharo and their > supporting libraries and ecosystem and the only way is to bombard the > mailing lists and forums. You could say I am trying to understand how > the language constructs can support my intentions as fast as I can.
sure there is no problem. Now understanding the culture is important. Because if writing scripts would be so important for us we would have something else than a workspace. Usually I turned into a method a script **AS FAST AS** I can. Because I can reuse it. > For instance yesterday I was thinking as to why the types/classes of > the instance variables was not specified when I defined a class, in > the way I would with Object Pascal and Java classes or record types, > then it dawned on me that perhaps their getters and setters, together > with other methods defined on them would define what in other > languages would be their type. Thus it results in better understanding > of the notion that in Smalltalk everything is an object and the > methods it supports more or less defines its "type" > > Another thing - the topic of this thread is not so much concerned > with Workspaces. I am more interested in scanning the workspace for > any control capable of text editing and extracting the text from it. > Workspaces are the first instance one comes across, and shift-clicking > the editing area resulted in a TextMorphForEditView. So to do what I > want I have to create a new kind of editing widget with > TextMorphForEditView embedded it in it, or find an existing one and > use/learn from/adapt it. In fact it is linked to SO 5592521 rigth now we are not happy with the state of the texteditor in Pharo We are starting to redesign it from scratch. > > Last of all - teachers please, I don't want to go to Smalltalk > kindergarten. I have done too much programming in my life to be put in > kindergarten when I start Smalltalk. > The problem here is although one can learn from reading examples, it > can be hard to understand the language constructs unless they are > derived from one's own use cases, and this is why my questions have > been coming in so thick and fast. No problem with questions. About the syntax have a look at one of the chapter of Pharo by example. > PS. The Stack Overflow ranking of a lot of expert Smalltalkers has an > inverse relationship to their expertise, a notable exception being > Frank Shearer (related to the footballer?) ;-) Indeed we are problem to get unstuck from our mailing-list :) > -- > Frank Church > > ======================= > http://devblog.brahmancreations.com >
