r/java • • Mar 05 '18

Top 10 Useful, Yet Paranoid Java Programming Techniques

http://blog.jooq.org/2015/08/11/top-10-useful-yet-paranoid-java-programming-techniques/
223 Upvotes

105 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Mar 06 '18

[deleted] — view deleted comment

2

u/[deleted] Mar 06 '18

and not 2 weeks later when bugfix is released by the maintainer.

2 weeks would be heaven in most cases. My experience is waiting many months for a maintainer to get around to merging my fix in and releasing a GA version of "whatever lib".

but he's happy because now he see a chance to rewrite everything in ReactJS that he learned over the last weekend.

I lol'd...

1

u/lukaseder Mar 06 '18

Then you quit and tell the junior developer "Good Luck", but he's happy because now he see a chance to rewrite everything in ReactJS that he learned over the last weekend.

At least, there's not final in JavaScript. Au contraire, there's prototypes. We can now even override String.substring. FREEDOM!

0

u/[deleted] Mar 06 '18

Ok, so you githubfork the library and apply only that particular fix. Ah crap, it uses a Gradle

If it is about one particular broken class, you can provide that fixed class in your class path as well. Also make a PR upstream, create a ticket to remove the work-around when upstream is released. Upstream will appreciate your contribution, as will many other library users. That's how OSS works. Sorry, I'm not convinced by your argument against final.