Regexes are wonderful. There’s a learning curve, and they are very cryptical to be able to read, let alone write, but once you get the hang of it they are wonderful. I was doing some refactoring and I wanted to see all instances of a function called ‘AddButton’ – and my results got saturated with … Read more Powerful searches in DDE: Regex for ‘all bar that don’t start with foo’
It’s been one of my principles since I started being an independent developer. Much of my work is maintaining old codebases, and there are many horror stories that I could recount. The temptation is there to do a quick-and-dirty modification, a quick patch, but one should resist the temptation. Customers generally do not understand the … Read more Leave Code in the state you would like to find it in.