Monday, March 31, 2014

Anit-pattern of March-- Found on Internet - The Internet can cure all of your problems

 
 
The elaboration says:
 
The practice of using code and techniques found on the internet without taking time to validate the source and ensure it is credible.
 

 This link provide some further reading on the anti-pattern ( including an interesting photo). for your convenience, I copied some here:
 
This anti-pattern refers to the practice of taking advice or code samples found on the Internet and immediately applying them to production code without taking the time to consider their effects. It's true the Internet is a huge source of knowledge, but it's also true that getting published on the Internet is not a particularly difficult task, and the peer review process is usually non-existent. Before trusting that a technique or code snippet found somewhere on the Internet, consider its source, and ideally try and apply it in a non-production environment first to ensure it does what you expect.
 
In my past 10 years working experience in software development business, I could say that I could not live without Internet, more specifically, I could not live without Internet search! Google created a new Internet time after World Wide Web became part of our life starting the second half of 90s. However, there is so much information on the internet, so much resource on the internet.  For the same topic you can find articles with total opposite opinions. logically, at least one of them is wrong.
 
One would asked “are we going to stop searching on internet?”  absolutely NOT. The key point here is “validation”. First of all, you want to ensure it is from reputable source or it is endorsed by reputable party. If it is from a personal blog, you want to take extra  effort to verify it. For “open source” solution, you want to get the source code, and verify the source code before putting it in production system. Accurate test, security test, reliability test need to be conducted on these “open” products before use them in commercial software development.
 
When you are very excited about something you found on internet, that is the time you need to sit back and do some homework before jump on your feet.

No comments:

Post a Comment