leonidas blog

Grip. Stand. Throw.
Looking at Maintainability

When I start developing my first application using Visual Basic 6 the first thing that I consider was the performance. But then I realized that performance shouldn't be the first to consider. My idea is most of the time you should focus on writing maintainable code. Then replace only those slow moving parts with faster but less clear code.

The main reason I do this is because it's much easier to improve the performance of well maintainable code.

Published Thursday, August 09, 2007 10:40 PM by leonidas

Filed under: ,

Comments

# re: Looking at Maintainability@ Thursday, August 09, 2007 11:05 PM

The first thing I discovered was to put codes into modules(in VB6). Then I learned how to create Types, those c-structs look-alike, that's what they're called right? Yes, optimization should come last(IMHO). For most experienced programmers though, they could make optimized code w/out sacrificing maintainability.

I read somewhere on the internet that you should optimize algorithm and not code. Though when you really think of it, you still have to optimize code. :)

lamia

# re: Looking at Maintainability@ Thursday, August 09, 2007 11:18 PM

Yep...

Make it work

Make it right.

And if necessary, Make it fast.

jop

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above: