Post AAes8N5RAeb5InkvWy by daremo@fosstodon.org
 (DIR) More posts by daremo@fosstodon.org
 (DIR) Post #AAerK7FdlxHni6Z4pE by colinkiama@fosstodon.org
       2021-08-24T17:37:35Z
       
       2 likes, 0 repeats
       
       What’s the best way to learn C?
       
 (DIR) Post #AAerK7nfjQVZPeUFs0 by colinkiama@fosstodon.org
       2021-08-24T17:48:51Z
       
       0 likes, 0 repeats
       
       I’ve always been really curious about this. I’ve not been aware of a definite resource for it like the Rust Book.
       
 (DIR) Post #AAerK8JDq7kGzVFS2y by werwolf@fosstodon.org
       2021-08-24T18:09:40Z
       
       0 likes, 0 repeats
       
       @colinkiama well the K&R is probably the must read book for Chttps://en.m.wikipedia.org/wiki/The_C_Programming_Language_(book)
       
 (DIR) Post #AAerK954yC1hNvdfdo by colinkiama@fosstodon.org
       2021-08-24T17:45:49Z
       
       1 likes, 0 repeats
       
       Hmm answers might get controversial so feel free to send me a Direct message instead.
       
 (DIR) Post #AAes8N5RAeb5InkvWy by daremo@fosstodon.org
       2021-08-24T18:18:44Z
       
       0 likes, 0 repeats
       
       @werwolf @colinkiama I second the K&R recommendation. It has the advantage of being a very short book, so you can get a good overview of the language very quickly.Before I make recommendations of my own, I'd answer your question with my own questions: why do you want to learn C? Are there specific things you want to do with it?
       
 (DIR) Post #ABImTz5l4gNm1fhN8S by pernia@freecumextremist.com
       2021-09-13T00:23:36.274161Z
       
       0 likes, 0 repeats
       
       @colinkiama try doing a mooc https://www.edx.org/course/c-programming-getting-started?index=product&queryID=906c38dd7669b0c20f6e56a5365f06b2&position=1 it'll give you a pretty good base and requires 0 experience with anything pretty much. do all 6 courses of course. then read K&R and do the excersises for good measure
       
 (DIR) Post #AFFYAxKKdlq6N9hdpo by tallship@pleroma.cloud
       2022-01-09T02:27:53.351951Z
       
       0 likes, 0 repeats
       
       @colinkiama My first was, "Programming in C", by Kochan. I picked up the K&R book as they were both prevalent in the early 80's, and running 4.2BSD found these two somewhat mandatory.For my daughter, and a good review for myself, I had her work through this book, which I can wholeheartedly recommend:C: The Complete Reference 4th ed (Herbert Schildt)It's not without glaring errors, which many can be averted by using https://seebs.net/c/ as additional material (I like Schildt's book, but there's a lot that is still broken even after all these years.What I would do was read ahead of what I assigned to my daughter and then make sure she didn't commit hari kary because of, "But the book says so" factor.Here's what I like most about the Schildt book. It starts off barebones basic with no assumptions that someone has any experience, AND... (and that's an important 'and' in what was a Microsoft world for many years) any young child of preadolescent years can start off working in the book on the cli w/ Bash or ksh.I just wanted her to have a good grasp, and then grappled a bit with the dilemma of Python 2 or 3, I chose Python3 for her, and eventually that paid off and she launched.I think C is important even now, and probably easier just to tackle the basics first instead of trying to get someone to learn the basics after Python. Rust is fast becoming the way where C was once omnipotent.So, ***if*** you think it is important to learn C, I would recommend giving it a start with Herbert Schildt's book (C: The Complete Reference 4th ed), but I don't think that someone should necessarily raise their proficiency to that of more than what a semester class would approach - for that, I would recommend switching to Python3, and moving to Rust or Go.Ultimately, I like to sample the writing style and decide upon books by actually looking into them. I'm going to list a few resources here so you can browse and peruse and choose a writing style that you find particularly conducive to your particular learning style.https://freecomputerbooks.com/langCBooks.html (I've used this resource for many years)https://www.e-booksdirectory.com/programming.php (Learn C the Hardway is a part of a favorite series too)https://www.programming-book.com/https://github.com/b09/c_resourceshttps://learncodethehardway.org/c/ (Zeds books are for the most part, no longer available from his site for free, but most are still available elsewhere) is a pretty good series. If you like the course, I urge the reader to purchase the hard copy - later versions have videos too.LibGenesis - If you find something you like at Barns & Noble or elsewhere, you can plug the ISBN # into Lib Genesis and there's a wealth of material available. You can find LibGenesis by searching for it in https://duckduckgo.com/ or https://gigablast.com and https://private.shTo be certain, I haven't posted an extant link to LibGenesis due to controversies enumerated here, https://en.wikipedia.org/wiki/Library_Genesis , yet it should be pointed out that it partners with Sci-Net for research and institutional papers universities and other publicly funded sources, with much of the newer resources utilizing IPFS. Perhaps the thing that many folks like about LibGenesis is that instead of having to attempt to read .pdf files on a phone, you can choose to d/l the publications in .epub format.I know there's a billion answers and opinions here regarding the best C programming text for beginners, and mine is skewed due to C being somewhat mandatory (or at least ubiquitous) back in the early BSD days when we were trying to get a working IP stack stabilized.At least you didn't ask, "Emacs or Vim"? That's always good for a hell thread, and there's always one guy out there (along with a good book for it) that will answer with "Ed".Here's a poll that I think everyone can enjoy though:Ginger, or Mary Ann?a.) Gingerb.) Mary Annc.) Mrs. Howelld.) The Professore.) None of the above (safe choice for volcels)Lemme know where you end up on your voyage Collin, and I hope that helps! :)⛵.#tallship #Vger #C #FOSS #Rust #Golang #Python #UNIX #BSDC-The_Complete_Reference-Herb_S…