pagination or while loop using recursion Pagination is very common scenario in APIs nowadays. If you need to interact with an API that has pagination, you will need to build a logic where you can call the API again and again until you have reached end of the page. This is like recursion but…
Read MoreFlow or Subflow as a function Another very important aspects which we have observed is, developers duplicate their code whenever they need to repeat the same execution but with different parameters. e.g. If you have a third party API and you are trying to build system API on to that. Developer would duplicate the…
Read MoreRetrying only in case of connectivity failure We have seen people exploiting until successful scope. People just put everything under until successful scope to retry and that is not the right way. We should retry only for a particular scenario we have been asked to retry for. e.g. when calling an API, if…
Read More