The Daily WTF
Follow
CodeSOD: Location Chooser
The submitter inherited an application with numerous bugs and missing features. While debugging, they discovered an unimplemented feature related to store selection. The code used hard-coded HTML strings and if-else statements to display store options based on the selected store. This approach lacked flexibility and was prone to errors. The submitter realized that the application's missing features and bugs were likely to increase, indicating a need for a more robust and maintainable codebase. They acknowledged that the current code exhibited poor understanding of HTML selection attributes and conditional statements.