Need great tutorial, please

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Need great tutorial, please

dukester
[quote]
GNU Smalltalk
The Smalltalk for those who can type
[/quote]

The above quote is what attracted me to Smalltalk in the first
place. I've never done OOP, and I've shunned IDEs in the past. Emacs,
JOE or VIM have been *my* programming environments. So when I looked
at Squeak, Squeak/Pharo, etc it was "information overload" right from
the onset. Need to learn an IDE well to navigate & code; need to learn
OOP mindset; need to learn Smalltalk syntax; etc.

I want to learn and code Smalltalk "longhand" to begin with, rather
than point-n-click fashion. I read "Computer Programming using GNU
Smalltalk" by Canol G?el to begin with. Bombed out on the "stdin
nextLine" code, but the document was what I was looking for. Reading
in progress. I've also scanned through
http://www.gnu.org/software/smalltalk/manual/gst.html#Tutorial -- also
cool.

However, neither of the above references give me the whole picture.
I've yet to find anywhere *any* mention of keyboard I/O. Lot's of
"mouse events" etc etc, but no elementary console input stuff.

So I'm looking for a followup to the above tutorials. Something that
would show me what a complete and functional Smalltalk program looks
like in emacs. I want to try to do in Smalltalk what I've done with
Perl, PHP, Tcl, and newLisp. Anybody know where lives such a tutorial?
TIA...
--
Duke


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Need great tutorial, please

Paolo Bonzini-2
On 01/07/2010 07:14 PM, Duke Normandin wrote:
> However, neither of the above references give me the whole picture.
> I've yet to find anywhere*any*  mention of keyboard I/O. Lot's of
> "mouse events" etc etc, but no elementary console input stuff.

If you can use "stdin", just use that.  There is "stdin next" for
example.  Or you can use "stdin nextLine asInteger" for example.  stdin
is just like any other FileStream.

Or maybe you want to use some other keyboard I/O, for example using ncurses?

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Need great tutorial, please

dukester
On Thu, 7 Jan 2010, Paolo Bonzini wrote:

> On 01/07/2010 07:14 PM, Duke Normandin wrote:
> > However, neither of the above references give me the whole picture.
> > I've yet to find anywhere*any*  mention of keyboard I/O. Lot's of
> > "mouse events" etc etc, but no elementary console input stuff.
>
> If you can use "stdin", just use that.  There is "stdin next" for example.  Or
> you can use "stdin nextLine asInteger" for example.  stdin is just like any
> other FileStream.

OK. but none of that works on my system (yet). Any other way to do it?

> Or maybe you want to use some other keyboard I/O, for example using ncurses?

You bet!
--
Duke


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: Need great tutorial, please

Paolo Bonzini-2

> OK. but none of that works on my system (yet). Any other way to do it?

Nope.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk