Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ide-dev] Yet another article advising to leave Eclispe

Am 16.10.2014 um 01:32 schrieb Stephan Herrmann <stephan.herrmann@xxxxxxxxx>:

On 10/15/2014 09:20 PM, Marcel Bruch wrote:
Well, while there is no immediate solution, every project should consider the use of classes like Guava’s or Java 8 Optional.
With that we could decrease the number of error reports by up to 10.7% ;)

Thanks for the numbers.
We know this was a billion dollar mistake.
Let's fix it:




1. according to last 7 days dashboard [1] NPEs are even the most frequently reported exceptions.
2. It would be great if JDT Core and JDT UI would start rewriting their own codebase  and annotate every method it with @Nullable, @NonNullable etc.

To some extend this can be automated. We’d need to see to which though.
If this works reliably, I’d recommend to run the same analysis on every Eclipse project and create a patch set for every project.

Just saying. Stephan, maybe you would be interested to do this - as a further proof of concept of JDT’s ability to prevent NPEs efficiently?
I’d happily share the locations I get NPEs for evaluation purpose :-)


Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Back to the top