maintainability

Our code sucks and I'm powerless to fix it. Help!

Our code sucks. Actually, let me clarify that. Our old code sucks. It's difficult to debug and is full of abstractions that few people understand or even remember. Just yesterday I spent an hour debugging in an area that I've worked for over a year and found myself thinking, "Wow, this is really painful." It's not anyone's fault - I...

What is the normal work flow of website maintainance

I have built a website, with a batch of source files and a database script. They are under SVN control on my local machine. Now I have brought a host. The host provides ftp and ssh tools. I will need to upload my source files via ftp. Before that I need to remove SVN control so I can save the effort of uploading a lot of SVN version-cont...

Delphi: Maintainability Virtual vs Virtual Abstract

I was writing a bunch of code a few months ago and now I'm adding stuff to it. I realized I wrote a bunch of functions that descend from a class that has about 2/3rds of its functions abstract and the remaining 1/3rd virtual. I'm pretty much sick of seeing: function descendent.doSomething() : TList; begin inherited; end; when I...

What's the best technique to build scalable (extensible), maintainable, and loosely coupled software?

I have been playing around with the concept of 'module' that some mvc frameworks implement and it seems like a good solution, and also with TDD, but I think there must be something more, like a design pattern I missed (I only know a few), that will let me build applications that can grow (in code) with no limits. Any thoughts? edit : ...

To CTE or not to CTE...

Having been stuck with SQL2000 for far too long, I've not really had a lot of exposure to Common Table Expressions. The answers I've given here (#4025380) and here (#4018793) have gone against the flow in that they didn't use a CTE. I appreciate that for recursion they are the beez kneez, and there are a few queries that can be greatl...

Dependency Injection and code maintainability

I am working on a (vb.net/asp.net) project that is using interfaces to provide dependency injection. But to me, it feels like the maintainability of the code has been killed. When I want to read through the code, I can't simply jump to the code of a related class that is used. All I see are the interfaces, and so I have to hunt through t...