About the use of generics

Hi all,

I’ve been inspecting the code and I’ve seen that the use of Java generics is not very extended (JAL-1421). I think that generics makes code easier to read and understand and this is good for development process.

If you agree, I can do the work. Just let me know over which branch should I do it.

Thanks!

Cheers,

David

I’ve been inspecting the code and I’ve seen that the use of Java generics is not very extended (JAL-1421).

Yes - very true. This is because some parts of Jalview were kept at java 1.1 compatibility up until 2011. There are also a few other reasons, including performance hits and synchronization issues when using generics which meant I’ve been gradually introducing their use into Jalview as I refactor and add new features.

I think that generics makes code easier to read and understand and this is good for development process.

I agree, but this kind of sweeping change should be done at the beginning of development for a new release, rather than near the end of a period of development (which we are currently at), so I’d rather not have every part of the codebase modified before version 2.8.1 is published !

If you can postpone working on this till early 2014, I’d much appreciate it!
Jim.

···

Hi again David.

On 15/12/2013 16:15, David Roldán Martínez wrote:

Sure!!! Just ping me or reassign me the issue when you think everything it’s ready to be done.

···

2013/12/16 Jim Procter <jprocter@compbio.dundee.ac.uk>

Hi again David.

On 15/12/2013 16:15, David Roldán Martínez wrote:

I’ve been inspecting the code and I’ve seen that the use of Java generics is not very extended (JAL-1421).

Yes - very true. This is because some parts of Jalview were kept at java 1.1 compatibility up until 2011. There are also a few other reasons, including performance hits and synchronization issues when using generics which meant I’ve been gradually introducing their use into Jalview as I refactor and add new features.

I think that generics makes code easier to read and understand and this is good for development process.

I agree, but this kind of sweeping change should be done at the beginning of development for a new release, rather than near the end of a period of development (which we are currently at), so I’d rather not have every part of the codebase modified before version 2.8.1 is published !

If you can postpone working on this till early 2014, I’d much appreciate it!
Jim.


Jalview-dev mailing list
Jalview-dev@jalview.org
http://www.compbio.dundee.ac.uk/mailman/listinfo/jalview-dev