Re: C coding

Buck Calabro <[email protected]>
Newsgroups gmane.comp.lang.as400.c
Organization midrange.com
Message-ID <[email protected]>
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.