I have regrets about inheriting a project.
if thing:
// 30 lines of code that processes text, ultimately appending "foo"
else:
// same 30 lines of code, but "baz" is appended
2
Haha, well hopefully one excuse is that it’s really old code, then, and also hopefully it isn’t mine. 😬
1
I confess I wrote code like this before I understood classes (Lasso types) and methods (Lasso tags). 🙈
But I *never* wrote code where I would loop over a list of strings to see whether *one* string was contained by the list. 😱
1


