its not a ‘trend’ thing,
its necessary.
even with obfuscation shortening your variable names (amongst other things) and making your files smaller, its not enough.
1. the larger the file the better the possible compression on the final .jar file.
2. class function calls are potentially quite slow on a mobile – its much faster to have c type code and have it all in the one file – and just plain not use classes.
fyi: newer phones can handle larger .jar file sizes(nokia s60 and greater, midp2 phones especially)
(a .jar is what your entire code is compressed into, and this is like an .exe for a phone), but if you want a game to work on a lot of phones you’re limited 63k (nokia s40 type phones).
with a 63k limit, and art assets taking up a lot of that, every byte counts. :)