[FFmpeg-soc] [soc]: r3112 - mlp/mlpenc.c
Diego Biurrun
diego at biurrun.de
Sun Aug 10 23:37:31 CEST 2008
On Sun, Aug 10, 2008 at 08:29:11PM +0100, Robert Swain wrote:
> 2008/8/10 Diego Biurrun <diego at biurrun.de>:
> > On Sun, Aug 10, 2008 at 12:30:08AM +0200, ramiro wrote:
> >>
> >> Log:
> >> Cosmetics: remove brackets around one-lined if.
> >
> > Note that I think it's clearer to refer to () as parentheses, to {} as
> > braces and to [] as brackets...
>
> And from where does this convention come? :) They're all parentheses,
> braces and brackets to me.
Wikipedia supports what I considered common usage:
http://en.wikipedia.org/wiki/Bracket
There are four main types of brackets:
* round brackets or parentheses: ( )
* square brackets or box brackets: [ ]
* curly brackets or braces: { }
* angle brackets or chevrons: < >
I don't remember {} being called anything but braces in a programming
context. When I read the log message, I thought Ramiro was talking
about []. Then I thought that this could not make sense and thought he
was referring to () instead...
Diego
More information about the FFmpeg-soc
mailing list