How to write Production quality code?
1) Production is all about load which will expose concurrency issues, load issues, memory and CPU issues.
2) You will get a lot many scenarios in production that you might have thought in development. If think through process is not applied than most likely those scenario has not handled in production.
3) Different data input or incorrect data, one of classic problems in production is the data which gets input to your program, be it from upstream system or any other place you will get all sort of data and if your program doesn't handle those very likely it will suffer.
4) Boundary conditions, this is some what related to above point data and scenarios but most of the boundary condition e.g. null, empty etc exposed in production.
Read full article from How to write Production quality code?
No comments:
Post a Comment