You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by Emin Aksehirli <em...@gmail.com> on 2013/11/08 11:27:27 UTC
Mahout Java 6 or 7
Hello,
I have a quick question: Does Mahout include Java 7 code or do you keep
the compliance to Java 6?
I am preparing a patch and I want to use some Java 7 features.
Cheers,
--
Emin Aksehirli
Re: Mahout Java 6 or 7
Posted by Suneel Marthi <su...@yahoo.com>.
It's java 6
Sent from my iPhone
> On Nov 8, 2013, at 5:27 AM, Emin Aksehirli <em...@gmail.com> wrote:
>
> Hello,
>
> I have a quick question: Does Mahout include Java 7 code or do you keep
> the compliance to Java 6?
>
> I am preparing a patch and I want to use some Java 7 features.
>
> Cheers,
> --
> Emin Aksehirli
>
Re: Mahout Java 6 or 7
Posted by Sean Owen <sr...@gmail.com>.
I don't think this is the reason. Its that the resulting byte code does not
work on Java 6. Java 6 is still fairly widely used for better or worse or
at least the default so it's probably still not worth creating
incompatibility for this.
On Nov 11, 2013 11:30 PM, "Emin Aksehirli" <em...@gmail.com> wrote:
> Hello Ted,
>
> On this particular case I want to use try-with-resources. In general,
> Java 7 code is more compact and more readable, thanks to the new
> features such as diamond operator.
>
> It's hard to deal with inertia, for sure, but IMHO every submission of
> Java 6 code creates more technical debt. So, at the other projects I
> work on, I switched to 7 as soon as possible. Switching to the next
> version is inevitable and I find the sooner the better.
>
> Cheers,
>
> -- Emin Aksehirli
>
> On Fri 08 Nov 2013 18:52:42 CET, Ted Dunning wrote:
> > Which Java 7 features did you want to use?
> >
> > I am generally quite favorable toward moving to Java 7, but there has
> been
> > a fair bit of inertia to deal with. Drill requires 7 and there are a
> > number of small issues that are noticeably better as a result.
> >
> > What is your argument in favor?
> >
>
>
Re: Mahout Java 6 or 7
Posted by Emin Aksehirli <em...@gmail.com>.
Hello Ted,
On this particular case I want to use try-with-resources. In general,
Java 7 code is more compact and more readable, thanks to the new
features such as diamond operator.
It's hard to deal with inertia, for sure, but IMHO every submission of
Java 6 code creates more technical debt. So, at the other projects I
work on, I switched to 7 as soon as possible. Switching to the next
version is inevitable and I find the sooner the better.
Cheers,
-- Emin Aksehirli
On Fri 08 Nov 2013 18:52:42 CET, Ted Dunning wrote:
> Which Java 7 features did you want to use?
>
> I am generally quite favorable toward moving to Java 7, but there has been
> a fair bit of inertia to deal with. Drill requires 7 and there are a
> number of small issues that are noticeably better as a result.
>
> What is your argument in favor?
>
Re: Mahout Java 6 or 7
Posted by Ted Dunning <te...@gmail.com>.
Which Java 7 features did you want to use?
I am generally quite favorable toward moving to Java 7, but there has been
a fair bit of inertia to deal with. Drill requires 7 and there are a
number of small issues that are noticeably better as a result.
What is your argument in favor?
On Fri, Nov 8, 2013 at 2:27 AM, Emin Aksehirli <em...@gmail.com>wrote:
> Hello,
>
> I have a quick question: Does Mahout include Java 7 code or do you keep
> the compliance to Java 6?
>
> I am preparing a patch and I want to use some Java 7 features.
>
> Cheers,
> --
> Emin Aksehirli
>
>