OT: on writing code
Andre Garzia
andre at andregarzia.com
Tue Jan 29 17:31:31 EST 2008
Now, just imagine that I am a CS student in a "very easy to be
accepted" university here... imagine that most of the students never
coded before, actually, their concept of coding is from Hollywood
hacker movies....
now, imagine these guys having to deal pointer arithmetics using Turbo
C circa 1990! xTalk is way easier.
:-D
On 1/29/08, Mark Wieder <mwieder at ahsoftware.net> wrote:
> Mikey-
>
> > int myVar = ++someOtherVar
>
> To be fair about this, there's really no reason to start off by placing this
> all in one line just because you can:
>
> int myVar;
> ++someOtherVar; // or someOtherVar = someOtherVar + 1;
> myVar = someOtherVar;
>
> does the same thing and is (somewhat) easier for newbies to grasp.
>
> --
> Mark Wieder
> mwieder at ahsoftware.net
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
--
http://www.andregarzia.com All We Do Is Code.
More information about the use-livecode
mailing list