Does anybody have any resources for learning C programming best practices?
I know these can certainly be subjective, but I am sure there are some things that are generally considered "safer" or better to do than others.
I am already a software developer who has spent most of his time in C#.NET/JavaScript (Mainly C# though...Please don't judge!) so I am not having as hard of a time wrapping my head around the syntax as I am with the thought/design process that is not objected-oriented and also just sort of "How things are done" in C. This is much harder to pick up at first and also not taught in most books, which tend to focus on syntax with a few basic examples that don't necessarily follow good coding practices (use a lot of global variables, don't use header files a at all, etc...)
That said, could you point me toward any reputable style guides or general best practices when it comes to C? It is very hard to wrap my head around some of the concepts coming from an entirely OOP world where I thought of everything first in terms of classes and encapsulating everything/programming against interfaces. I feel like a fish out of water, despite actually loving the experience of C.
Also, if there are any known C programming related blogs or other online resources/communities you can recommend, that would be awesome. I am trying to get into the "C World" so-to-speak and it can be a bit tricky compared to trying to jump into something like PHP/JavaScript which hogs the heck out of all the "learn to code" communities, lol.
Also, in case anyone is curious, I've been working through C All-In-One Desk Reference for Dummies by Sam Gookin and I also have the Learn C in 21 Days book to get the syntax stuff down. Currently messing with Linked Lists but there's definitely room for improvement as far as me getting the pointer/struct stuff down.
Thanks!