Someone is using KeyEvents and is trying to recognize a certain type of Keystroke, and will be told don't use KeyEvents, keyBindings are better.
Someone is trying to figure out how to use an array to get a database table into a JTable, and will hear that they really shouldn't use an array, they should use a vector of vectors because blah blah blah scaleability blah blah blah
Someone is trying to parse something and is told that Regex is the best, without regard to the fact that in the given situation it has no advantage over stringTokenizers, and is probably more difficult to implement.
Or maybe someone thinks a certain type of reference type is better than another.
the list goes on and on.
Usually when you look closely at the supposed superiority of B over A, it goes something like this...
There are some situations where methodB is the method of choice, the rest of the time it really doesn't matter. Therefore methodB should always be used. Never mind the fact that methodA is perfectly satisfactory for the task at hand.
Anyways, that's all I have to say.
It happens when someone, is getting some assistance in getting MethodA working, and someone else, often who knows has a wealth of knowledge about the java language, will chime in with, don't use methodA, methodB is much better, without much regard for context, or the actual reuirements of the situation. It may even be that methodB does have advantages over methodA, but in the context of the given situation those advantages don't really apply. A few simple examples...
IMO, any help is better than no help.... Meaning that the asker can still just ignore the method B info. Or just thank for the help, and elaborate why it must be done a certain way. In many cases, a simple "I am not allowed to do it that way" is fine -- as many of the questions are for homework problems, which are restricted (particularly against regex).
[BTW, I used the pronoun "you" because it was less cumbersome -- I know that you may not be referring to your topics, but topics in general.]