I recently used a library that I absolutely hated. In fact it felt so clunky that I stopped using it and implemented it myself. But this library was written by a well-known and big company, so now I'm wondering if they had good reasons for designing their library the way they did.
Of course a question like "Why did company X write their code this way?" can only be answered by company X, but I'm only looking for potential explanations.
For example if I asked "Are there any reasons to make the login process as complicated as API.login(new OAuth2Credentials(my_access_token))
when it could just be API.login(my_access_token)
?", a possible answer would be "Yes, because they might add more authentication schemes in the future". This might not have been the real reason why company X chose to design their code this way, but it's a plausible explanation.
Is there a place on the SE network where I can ask questions like this? I'm aware that questions with no definite answer don't work very well in the SE format, but I think this kind of question is somewhat similar to the questions on Code Review.
>
. So that we can check it – Optimus Prime Jun 12 '17 at 10:33