Browsing All posts tagged under »coding standards«

Sticky Bits » Vulnerabilities in C : When integers go bad!

October 25, 2014

0

Sticky Bits posted a lesson on C integers that explains the common pitfalls (and some uncommon ones) of arithmetic operations. It contains information that any C developer should know but that is often overlooked, and that might be the cause of many bugs that can result in misbehaviour or security issues. I think it’s written in […]

Sticky Bits » Style vs. Substance in C programming

June 23, 2013

0

Sticky Bits blog published an article on C style guides, and the importance of clarifying the real reasons behind these guidelines: Sticky Bits » Blog Archive » Style vs. Substance in C programming. The bottom line is that they (Feabhas) intend to develop a meta-guide that specifies how to write coding styles. They want a community-driven […]

Coding styles comparison in the Open Source Software world

December 28, 2010

22

While looking for existing C coding standards I discovered that the GNU and Linux projects officially suggest very different styles. Inside the Linux kernel documentation, Linus Torvalds goes so far as to mock GNU coding standards: First off, I’d suggest printing out a copy of the GNU coding standards, and NOT read it. Burn them, […]

Follow

Get every new post delivered to your Inbox.

Join 451 other followers