begin  quoting Duke Normandin as of Sun, Jan 10, 2010 at 09:52:42AM -0700:
> Or more specifically, "How does one *start* an OOP/GST program?
[snip]
> So, when a person begins to design an OOP/GST program/script, with
> what Class do you start?

The short answer? The REPL.

Not with a class, but the Read-Evaluate-Print-Loop.

>                   Let say that I want to create a console app -
> say a text-based calculator (which eventually I'll migrate to
> ncurses). The app will (pseudo-code) do the following:
> 
> print-to-screen "Duke's Kick-ass GNU-Smalltalk Calculator"
> skip a line
> print-to-screen "Select a math Operation [+ - * /]:
> wait for user input, then inhale it
> print-to-screen "Enter first operand":
> 
> You get the idea!

Um, have you started with "Hello, World" yet? That's the traditional
first program. :)

[snip]

-S.


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

Reply via email to