On Thu, Nov 16, 2006 at 11:06:43PM -0500, Corey wrote: > > Our CodingStyle (borrowed from Linux) currently says that goto's > > to an error exit path are allowed (preferred to other solutions, > > actually). > > > > Most other goto's are frowned upon of course. > > Why exactly is this anyways? Pesonally, I agree with Peter that gotos > make code much easier to follow, but I always learned that they were > frowned upon, my C++ instructer in college refused to even teach about > it (although he couldn't tell me why either). Also, you state > "CodingStyle" as one word...is there a specific page/doc outlining what > the preferred coding style is, or is it just a general consensus deal?
I've documented it in the wiki now: http://www.linuxbios.org/Development_Guidelines#Coding_Guidelines We just use the plain Linux coding style currently (or rather: in future; most code in svn doesn't follow the coding style, yet). Uwe. -- http://www.hermann-uwe.de | http://www.holsham-traders.de http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
signature.asc
Description: Digital signature
-- linuxbios mailing list [email protected] http://www.openbios.org/mailman/listinfo/linuxbios
