> In my Java shop, we try to write ultra-efficient code.
Are you sure you should be doing that? As Knuth said, "premature optimization is the root of all evil".
Are you sure you should be doing that? As Knuth said, "premature optimization is the root of all evil".
Otherwise, our #1 priority is that code should be beautiful (concise, readable).
A nice side effect is that sometimes "nicer" also means more efficient (the JVM likes small methods) :)