Hi,

Am 05.06.2015 um 22:44 schrieb Owen Williams:
> On Fri, 2015-06-05 at 22:30 +0200, Daniel Schürmann wrote:
> 
>> CSAMPLE sample = 0.0;
> 
> This one.  auto should really only be used when assigning from a
> function whose return value is obvious.

What is the advantage of not knowing what kind of object you are working
with? I'm a java developer (and not a mixxx developer ;) and one of the
greatest things in java was the introduction of typed lists and generics.

Of course the IDE does help you when hovering an object or with code
completion. But I believe coding goes much faster if you know the type -
and what you can do with it.

Christian

------------------------------------------------------------------------------
_______________________________________________
Get Mixxx, the #1 Free MP3 DJ Mixing software Today
http://mixxx.org


Mixxx-devel mailing list
Mixxx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mixxx-devel

Reply via email to