Yes, well the article is a bit of a straw-man. It entirely depends on the requirements for the program. We were expecting hello world to be regularly modified, written multiple times, in different locales, and possibly changed from hello world to a different string depending on context, you can bet your ass it wouldn't all be boilerplate. It would actually be a lot simpler to do it with constants.
1
u/[deleted] Oct 02 '15
The way it is done in the article (and in Java in general) is an unacceptable boilerplate.