Hello

I would recommend at this stage to consider Java 8 as the basis.  In
NiFi our upcoming major release establishes java 8 as the baseline.  I
believe the community went that route because:

- It contains language features that are beneficial and that
developers wanted to use.

- It can make it easier to accept PRs as you may find contributors
wanting to use those features so could be important for community
growth

- Some popular dependency libraries have moved to Java 8

- Java 7 is EOL (https://java.com/en/download/faq/java_7.xml)

As for coding standards I suspect there are projects that have taken a
stronger stance on this than we have in NiFi.  But, the checkstyle
configuration we have seems to work out pretty well and is largely
based on Java standards plus what Accumulo had.  So, you might want to
look around a bit to find a style that works well.

As for preferred IDE - Good luck with that!  I'm definitely in favor
of avoiding having an opinion here.  By integrating things like
checkstyle, using Maven, and using Git then much of the need to have a
preference is eliminated in my experience.  NiFi has have folks using
Eclipse, IntelliJ (admittedly seems to be the favorite), and Netbeans
(ok fine i might be the only one).  But more importantly this is
something which is quite personal in terms of developer productivity
and I think there is value in the community avoiding having a
preferred IDE.

Thanks
Joe

On Sun, Jul 17, 2016 at 1:05 PM, Suneel Marthi <[email protected]> wrote:
> I have been looking over the code the past week (mostly me getting
> familiarized with the project), I did not notice that the coding standards
> are more in line with what Eclipse enforces (which is barely anything).
>
> I think all committers should be using IntelliJ for coding, u get an Apache
> committer's license from Jetbrains for the Ultimate edition of IntelliJ -
>
> <goog_1576328420>
> https://www.jetbrains.com/shop/eform/apache?product=ALL
>
> The coding standards are pretty standard across most Apache Java projects -
> we could follow NiFi on this.
>
> Also what would be the minimal supported JDK for Pirk ? We shuld baseline
> at Java >= 7 IMO.

Reply via email to