[Lavanya Deepak] Lavanya Deepak
Technology for Better Business and Higher Standards of Life

Monday, October 06, 2008

Visual Studio way of reminding you to complete sections of code ...

Visual Studio way of reminding you to complete sections of code ...

Sometimes in a hurry we might have given a sample implementation or a temporary workaround to a problem in the code and would be planning a full-fledged implementation at a later date. But in a complex and busy schedules we would normally forget it.

To avoid those cases, Visual Studio lends a great helping hand by way of TODO tokens. We can simply have a //TODO comment and the Visual Studio TaskList can help us to review the list of TODOs in our project at a later point of time.

This way, we can ensure that the code does not get left with assumptions and hardcodes for a longer period and such syndrome are addressed on priority as we get time.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home