| Interesting that the official Telegram client gets mocked a lot for how bloated its code is. And it absolutely is, from a 2 minutes look at their code : - their chat activity is 12000 lines of code : https://github.com/DrKLO/Telegram/blob/master/TMessagesProj/... - it looks like they have copy pasted tons of Android library like exoplayer directly in their repo It does work very well though ! I guess that they have an extremely small team (or just one persone) and it is their first Android project. It looks like they have acqui-hired a competing chat client (Telegram X), so it looks like they have a solution to clean this mess. |
I've seen some huge Android java functions where everything gets stuffed into the Fragment creation/update/etc API functions... but this is one just stuffed everything in them.
It's just asking for bugs and security issues.
Edit: the commit history all comes the same developer, each titled with a generic "Bug fixes" commit and no description of the changes. Seems like a single guy is just cowboying the whole App, it's not a team project at Telegram. Which explains the above... https://github.com/DrKLO/Telegram/commits/master/TMessagesPr...