3 ms·
> 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"
by cabalamat 16y ago
> 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".
- njm 16y agoI would suspect the poster has already weighed the cost vs. benefit of writing efficient code. Many domains do require careful attention to performance.
- pacoverdi 16y agoI should have precised that we only optimize modules where performance is critical. 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) :)
- deleted 16y ago[deleted]