Here are ten things you should generally avoid while programming

Ignoring Code Comment

Repeating Code (Code Duplication)

Ignoring Error Handling

Ignoring Error Handling

Poor Variable Naming

Ignoring Code Style Guidelines

Not Testing Code

Not Testing Code

Not Version Controlling Code

Hardcoding Sensitive Information

Overlooking Code Reviews

Ignoring Performance Optimization