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
And, no, it ain't yours. Even your worst Lasso code was better than my best Lasso code. 😍
1
We all have code skeletons hiding in our tech debt closets!
1
Not true unless you can find them!

Mar 6, 2021 · 2:54 PM UTC