"Every artist was first an amateur." - Ralph Waldo Emerson   |    "Good luck' follows careful preparation; 'bad luck' comes from sloppiness." - Robert Heinlein   |    "If Java had true garbage collection, most programs would delete themselves upon execution." - Robert Sewell   |    "Success is the sum of small efforts, repeated day in and day out." - Robert Collier   |    "We are what we repeatedly do. Excellence, therefore, is not an act but a habit." - Aristotle   |    "Take calculated risks. That is quite different from being rash." - George S. Patton   |    "Nothing great was ever achieved without enthusiasm." - Ralph Waldo Emerson   |    "Perl - The only language that looks the same before and after RSA encryption." - Keith Bostic   |    "Our doubts are traitors, and make us lose the good we oft might win, by fearing to attempt." - William Shakespeare   |    "The more you learn, the more you need to learn." - Robert Heinlein   |    "The talent of success is nothing more than doing what you can do, well." - Henry W. Longfellow   |    "Nothing can stop the man with the right mental attitude from achieving his goal; nothing on earth can help the man with the wrong mental attitude." - Thomas Jefferson   |    "We are still masters of our fate. We are still captains of our souls." - Winston Churchill   |    "There is no such thing as luck; there is only adequate or inadequate preparation to cope with a statistical universe." - Robert Heinlein   |    "Nothing will ever be attempted if all possible objections must first be overcome." - Samuel Johnson   |    "The big secret in life is that there is no big secret. Whatever your goal, you can get there if you're willing to work." - Oprah Winfrey   |    "The more difficulties one has to encounter, within and without, the more significant and the higher in inspiration his life will be" - Horace Bushnell   |    Hofstadter's Law: It always takes longer than you expect, even when you take into account Hofstadter's Law.   |   

Code Reactor

The best of modern Web development

Java compiler cares about you

There is an old anecdote, or something like a bash.org quote, which goes something like

– I really love the Java compiler, it cares so much about me
– how come?
– Well every time there is an error, it’s like “Aww, you have an error here and here, a warning here, but I can fix that by adding this and this. Here, have a cookie, sweetheart! Also I optimized these classes for you and now everything works 2 times faster”
– while vc++ compiler is like “ARGGHH! you stupid human, there is some error in those 150 files. And I don’t like the way you placed your comments here, REWRITE EVERYTHING!!! ARGHH!!!”.

It certainly seems a little like that, especially now that I’ve noticed really how much java compiler is with you even while you are coding.

1. it warns about something
2. it adds an automatic option to fix that, or even add a suppress warning
3. BUT! if you have added that suppress warning header, and there are no warnings anymore, It will warn you about having an unnecessary warning (!).
Observe: “Unnecessary @SuppressWarnings(“unused”)”.

It’s watching your every move…

Leave a Reply

You must be logged in to post a comment.

loading...
Your connection appears to be too slow, automatically disabling HeavyAjax (TM) for better performance...
You seem to run a browser without JavaScript support or it has been disabled. To fully experience Code Reactor please enable JavaScript. (It is not 1995 anymore :)
You seem to be using Internet Explorer. If you want to experience both Code Reactor and the rest of the web to their fullest and fastest, you are advised to download and install a real browser, like Opera, Firefox or Google Chrome.
Close
You seem not only to use Internet Explorer, which is by far a joke when it comes to browsers, but to even use an old version of it!
If you want to experience both Code Reactor and the rest of the web to their fullest and fastest, you are STRONGLY advised to download and install a real browser, like Opera, Firefox or Google Chrome.
Close