by hellofunk · 9y ago · 0 comments
GC is an abstraction that can work well but can also interfere with how a developer thinks.
Yep, this is a big issue.
Another good example is copying arrays of primitive types with for loops instead of using intrisics like System.arrayCopy().
Or using lists instead of arrays.
Sure there are many situations where there is no another way other than step out of the JVM into C++, but many could be avoided with better code as well.