|
Programming C, bash, Python, Perl, PHP, Java, you name it. |
|
Thread Tools | Display Modes |
|
|||
How to become a good C programmer?
I would like to become a good C programmer, where to start or not really, where/how to begin getting better? I should probably note that I've been programming on and off since I was 7, for the last 30 years or so. I've read K&R and could program all the examples that are there. I've also read a share of C code and can understand it. It however takes me sometimes to gasp as the design gets more complex and for most part of it is not trivial to me especially compared to Python code. Is there any book to develop the upper level C skills I might use especially the design side?. Is there any reference to the best C libraries or even programs out there? Some half complex, documented C code that could lead me to an eureka or so. Where should I start or more precisely where should I begin the odyssey?
|
|
|||
Quote:
I would also recommend studying assembly language, & how to splice assembly language modules into C code. Do the same with C++ too. Likewise, understanding programming conventions which will make the lives of maintainers easier is useful. Learning to write portable code will help develop perspective. Understanding how to write POSIX compliant code & knowing why this is important is also good to weave into your own personal style. Lastly, study how to test code. Testing is highly underrated, & proving that implemented code does what it is supposed to do is a art most overlook. Programming requires long periods of thoughtful study & practice. One has to understand the fundamental problem being solved, & one has to bend the language to solve that particular problem. Quote:
|
|
|||
Quote:
If you're interested in kernel programming, maybe you'd want to read the Minix source code or Lions' Commentary on UNIX 6th Edition. The latter more for the system design than the style of C used. I remember also OpenSSH code being quite pleasant to read. |
|
|||
Quote:
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump |
|
|||
That bad huh? Yeah, I've read some sources as well before that were flat-out 'funky'...
__________________
www.tacoshack.xyz |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Good news for AMD-64 | sharris | FreeBSD General | 6 | 12th May 2011 10:20 PM |
microchip PIC Programmer? | welkin | FreeBSD Ports and Packages | 2 | 1st May 2010 10:38 PM |
good vi(1) tutorial | ocicat | General software and network | 4 | 8th April 2010 04:12 AM |
Lucky to be a Programmer | ephemera | Programming | 1 | 18th July 2008 01:53 PM |
Good morning all | SgtHarper | Feedback and Suggestions | 0 | 9th May 2008 08:20 AM |