Wizards are always great! From the time when we started using computers, they take care of many things like software installations and removals (‘The wizard will now install your software!!’).
Wizards also help us in coding, especially while working with IDEs. They write us initial code for setting up a project, or depending on the situation at hand. We can use wizards to create server components, implement Java beans and handle network interfaces - all areas where it’s better to have expert help.
But, never let the wizard to be evil! The code wizard generates may not be required for our program, or may be wrong depending on the circumstances. Be aware of what the wizard writes for us. If we don’t understand the code written, then the program control is not in our hand.
Don’t use wizard code you don’t understand.
This code will also eventually become a part of our application. Always understand what’s there in our program at any point of time.
- summary of Evil Wizards, from The Pragmatic Programmer: from Journeyman to Master
Wizards also help us in coding, especially while working with IDEs. They write us initial code for setting up a project, or depending on the situation at hand. We can use wizards to create server components, implement Java beans and handle network interfaces - all areas where it’s better to have expert help.
But, never let the wizard to be evil! The code wizard generates may not be required for our program, or may be wrong depending on the circumstances. Be aware of what the wizard writes for us. If we don’t understand the code written, then the program control is not in our hand.
Don’t use wizard code you don’t understand.
This code will also eventually become a part of our application. Always understand what’s there in our program at any point of time.
- summary of Evil Wizards, from The Pragmatic Programmer: from Journeyman to Master