Cotix/cReddit — pull request #17 by DSMan195276 (2013-08-28 13:26:05+00:00)
Title: Is there any type of prefered coding style?

I've been reading over the source and I want to contribute some code, but I can't really figure out what's going on with the coding style if there is one (And if there isn't one, I'd be happy to go through and update everything to match one decided upon).

As it is right now, there isn't much code, but the things that stand out most to me are the variable and function names and declarations, placement of braces, and spacing in expressions.

Personally I like K&R style, but it doesn't seem to be very common in this code (besides with the jsmn and curl libraries). Noting that, I'll happily use whatever could be agreed upon. Camel case seems to be fairly popular in the code right now, so something along those lines would probably be best.

Again, I'm happy to go through and edit things to match a style if one could be agreed upon.