Closed MarcWeber closed 13 years ago
No, there is not. It is not actually a copy-paste: not enough code to do this instead of retyping.
12 times is enough to refactor IMHO. We agree to disagree :) ? Also note that refactoring allows us to document its behavior. I hope that the \n handling is fine.
This violates the "do it once' principle. There is too much copy paste. Eventually this should be call vam#Notice("...") or such. Yes, calling functions is slower - but speed doesn't matter in the error case anyway. Is there a reason to keep it as is? If not I"ll refactor that.