[Coco] C VS Basic Coco

phil pt ptaylor2446 at gmail.com
Tue Feb 13 20:39:07 EST 2018


I like Pascal.

On Tue, Feb 13, 2018 at 8:38 PM, Oswaldo Aquique <oaquique at msn.com> wrote:

> I'd prefer PASCAL 😉
>
> -----Original Message-----
> From: Coco [mailto:coco-bounces at maltedmedia.com] On Behalf Of phil pt
> Sent: Tuesday, February 13, 2018 5:18 PM
> To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
> Subject: Re: [Coco] C VS Basic Coco
>
> I was saying  in C you have to use some extra chars line printf ("value of
> a: %d\n", a);  vs basic it's much easer because you would use print "value
> of a ";a. For some folkes learning basic code is less complex.
>
> On Tue, Feb 13, 2018 at 8:12 PM, Mark McDougall <msmcdoug at iinet.net.au>
> wrote:
>
> > On 14/02/2018 3:08 AM, Taylor, Phillip L CIV wrote:
> >
> > I the reason I like basic is because it's much easer to learn and read
> > the
> >> source code.  The example below 8 lines of basic code 6 lines of code
> >> vs C is 8 lines of code.
> >>
> >
> > Aside from missing the assignment of A=10 in the basic listing you're
> > taking a bit of poetic licence in describing that as 8 lines of C
> > code; you've also included the C program overhead to compare against a
> > BASIC code snippet... plus (IIUC) technically they generate different
> output so...
> > apples and oranges.
> >
> > FTR I'd call that 2 lines of C myself...
> >
> > for (int a=10; a<20; a++)
> >   printf ("value of a: %d\n", a);
> >
> > Regards,
> >
> > --
> > Mark McDougall
> > <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fretr
> > oports.blogspot.com.au&data=02%7C01%7C%7Cf68c049ac54b40ffe32d08d57348b
> > ea5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636541678617865925&sd
> > ata=DH8Tbem94mGKnopGF%2BVZL0lBATLKht7%2Fjb7c7L3h0a4%3D&reserved=0>
> >
> >
> > --
> > Coco mailing list
> > Coco at maltedmedia.com
> > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpair
> > list5.pair.net%2Fmailman%2Flistinfo%2Fcoco&data=02%7C01%7C%7Cf68c049ac
> > 54b40ffe32d08d57348bea5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C6
> > 36541678617865925&sdata=BKEHb%2F3NsMBgUchbOaBR%2Fl31BTklpfqThbByNGwKxc
> > o%3D&reserved=0
> >
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://nam04.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fpairlist5.pair.net%2Fmailman%2Flistinfo%
> 2Fcoco&data=02%7C01%7C%7Cf68c049ac54b40ffe32d08d57348bea5%
> 7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636541678617865925&sdata=
> BKEHb%2F3NsMBgUchbOaBR%2Fl31BTklpfqThbByNGwKxco%3D&reserved=0
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>


More information about the Coco mailing list