[haiku-commits] Re: r40109 - haiku/trunk/src/add-ons/screen_savers/butterfly

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 04 Jan 2011 19:24:59 +0100

Ryan Leavengood <leavengood@xxxxxxxxx> wrote:
> On 1/4/11, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:
> > They aren't strange, and just denote a float instead of a double.
> > In
> > functions that take float they make sense to use, and might even be
> > needed in order to calm down some compiler warnings.
> Well the use of f wasn't strange, what was strange was stuff like 4.
> f,
> which I think we can all agree is not good style.

It's the shortest way to express such a constant, and perfectly valid.
Why is that not good style? Just because the 0 is omitted?

Bye,
   Axel.


Other related posts: