On Thu, 24 Sep 2015, Donald Sharp wrote:

I find Quagga's coding style pretty awful.

I prefer having a space in a function name only after the definition and any usage of the function without a space. This way I can just easily search for the function name with a space following it to find it.

you can just grep for ^function_name to find the definition, given our style requires the function name to start at the beginning of a newline.

also, at least a few editors support cscope lookups (joe does, I'm sure emacs and vim must too), or have their own symbol lookup features.

regards,
--
Paul Jakma      p...@jakma.org  @pjakma Key ID: 64A2FF6A
Fortune:
Too clever is dumb.
                -- Ogden Nash


_______________________________________________
Quagga-dev mailing list
Quagga-dev@lists.quagga.net
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to