031.txt - gopherhole - My gopherhole source code.
 (HTM) git clone git://jay.scot/gopherhole
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
       031.txt (1873B)
       ---
            1 [jay.scot]
            2 [030]
            3 
            4 
            5 --[ Learning C
            6 
            7 
            8 For my day job I use Terraform [0] for the majority of all tasks. Due to
            9 this I picked up golang at a basic level and have been using that for
           10 most on my own personal projects since then, but recently I wanted to
           11 learn C. For C, I have only really used it for botching in fixes for
           12 things, like adding something to dwm or the like. I have never actually
           13 used it for a full project, so for the next few months I want to
           14 properly learn C from the beginning and then use it as my go to for my
           15 personal projects and be able to contribute to the many programs that I
           16 use which, most of which are programmed in C.
           17 
           18 
           19 So where do I start? Well, when looking up the best books to pick up I
           20 came across an article from Fabien Sanglard [1] in which he listed the
           21 way on which he learned C. So I have been using that as a starting point
           22 to get up and running with C. I tried to was get a physical copy of K&R,
           23 but it is quite a pricey book to get - even on sites like ebay, the
           24 cheapest was more than £40, way out of my price range for a book. While
           25 not ideal, I got my self a digital copy. I am working through the book,
           26 and typing out every example and then completing every task they suggest
           27 at the end of a chapter - so far so good.
           28 
           29 
           30 At the back of my mind I wonder if it's still the best way to learn C,
           31 should I bother with C89 or be learning C99? Does it even matter? Or if
           32 I am wasting my time of going over the basics - I wonder if there is a
           33 better way these days. Either way, over the last week I am having fun
           34 with it, even though I am only getting about a hour a day with it after
           35 work. I am a strong believer that if you nail the core fundamentals of
           36 something then the rest becomes a lot easier, lets hope that is the case
           37 here too!
           38 
           39 
           40 0. gopher://gopherpedia.com/0/Terraform%20%28software%29
           41 1. https://fabiensanglard.net/c/
           42 
           43 
           44 .EOF