3 ms·
Yes, most of the examples in the non-Arc language were written with artificial duplication, which obscures the actual advantages of Arc. There's the `printIfNo
by 10ren 17y ago
Yes, most of the examples in the non-Arc language were written with artificial duplication, which obscures the actual advantages of Arc.
There's the `printIfNotNull(foo.getBar().getName()); // pointless method`, also pointed out by axon, and the following code being duplicated instead of being a function:
if (log.isDebugEnabled()) {
log.debug("foo.valueOf(expression) = " +
foo.valueOf(expression));
}
BTW: heads up on your comment formatting: HN needs a blank line between text and code for 4-space indentation to be recognized.