The Daily WTF
Follow
CodeSOD: The Bob Procedure
Joe worked on a decades-old financial system initially built with Oracle Forms. The system evolved, transitioning to Java for the UI while retaining the Oracle database and relying heavily on PL/SQL. This long lifespan resulted in accumulated "kruft," including obsolete procedures like the "BOB" function. The "BOB" procedure, a simple print statement wrapper, has surprisingly persisted through numerous system upgrades and migrations. Its existence predates the available source control history, indicating it's been in the code for over twenty years. Despite its lack of usage, the function remains in the codebase, a testament to its longevity. The author, Joe, marvels at the procedure's survival and the mysterious identity of the original developer, also named Bob. The code has been used by numerous companies to manage loans. The article highlights the lasting impact of seemingly minor coding decisions over time. Joe acknowledges the importance of even the smallest details in software that has such a long lifespan.