C coding and Syntax errors

frank kolmann <[email protected]>
Newsgroups gmane.comp.lang.as400.c
Message-ID <CAB-SQvhgCwjEoFCAeiEvb9w30UQbNSLYyuoVJJbDCZ9fiDhGDA@mail.gmail.com>
Hello Buck

As ever it is a pleasure to hear from you.
The APIs were an esoteric world to me until I found
( I think it was from Scott) how to translate C to equivalent
RPG.  From there I learnt how to use pointers long before I
ever tried C.

@Jevgeni.
My original question was how do C programmers cope with the
issue of C Syntax Errors.  I did not get much help even on this list.
If I asked the question of the RPG list I would be told go to C list.
Let me say I never set up to disparage C. I think C is enormous.
Your comment makes me feel like the little boy who mentioned
the 'Emperors new clothes'.

PS (it was mentioned use Python then convert Python to C, nuff said)

Frank Kolmann


>date: Fri, 14 Feb 2014 13:48:04 -0500
>from: Buck Calabro <[email protected]>
>subject: Re: [C400-L] C coding
>
>On 2/14/2014 9:09 AM, Jevgeni Astanovski wrote:
>
>> Learning C is indeed not like breathing, but as soon as you know how to
master it, writing is as easy as breathing.
>
>RPG programmers almost never think about the bare metal.  C programmers
>almost all do.  I think that this is the source of much pain for an RPG
>programmer trying to learn C.
>
>IBM APIs are documented quite well - for a C programmer.  It's the
>simplest thing in the world to go from the docs to a struct, assign a
>pointer and walk down the tree.  In C.  This is a foreign concept to RPG
>programmers; just looking at the docs scares many off.
>
>Over on the RPG list we field a fair number of C-ish questions relating
>to IBM APIs.  Such threads often spawn 'try a different language' posts,
>which sometimes degenerate into 'my language is better than yours'.
>  --buck
-- 
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list
To post a message email: C400-L-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/c400-l
or email: C400-L-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/c400-l.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.