[Bluej-discuss] bluej-discuss Digest, Vol 53, Issue 23

Todd O'Bryan toddobryan at gmail.com
Thu Nov 29 22:13:33 GMT 2007


Why not right it in the order it gets evaluated and use an arrow?

p + 1 -> p

Actually, Hypertalk, the language for Apple's old HyperCard system used:

put p + 1 into p

Todd

On Nov 29, 2007 6:46 AM, Paul McCard <p.mccard at btinternet.com> wrote:
>
>  Surely the point is to teach students clearly that assignment (whatever
> symbol is used in a particular language) means:
>
>
> Evaluate RHS
> Assign result to LHS Then p=p+1 (or preferably p:=p+1, given that the
> standard keyboard does not provide access to a printable left-arrow symbol)
> is neither confusing nor a special case to be glossed over with a shorthand
> symbol.
>
>  Paul.
>
>
>
>  Aryeh M. Friedman wrote:
>  Lisa Payne wrote:
>
>
>  I regularly get students who think
>
>  p = p + 1;
>
>
>  Thats why you should teach shorthand op's right away.
> _______________________________________________
> mailing list bluej-discuss at bluej.org
> To unsubscribe or change your preferences, go to
> http://lists.bluej.org/mailman/listinfo/bluej-discuss
>
>
>
>
> _______________________________________________
> mailing list bluej-discuss at bluej.org
> To unsubscribe or change your preferences, go to
> http://lists.bluej.org/mailman/listinfo/bluej-discuss
>
>


More information about the bluej-discuss mailing list