Code Refactoring…

What is it? when is it needed? any best practices?

So What is Refactoring?

When to Refactor?

Best Practices

Refactor often and always

It is not about fixing bugs

Maintain consistency in your code

Get rid of code duplicity

Test, always test

Refactoring with a different goal in mind

Data structures

Queries

Conclusion

Software Engineer, Problem solving oriented and new technologies enthusiast.