meanfreepath: (Default)
[personal profile] meanfreepath
The magnitude of my task is now apparent.

Finish fixing/rewriting one IDL code, while postdoc fixes a C code, then run both.

Write, from scratch, a rather complicated IDL code, which will involve at least some of the things we did in Physics 50 lab.

I've never had to program under the time pressure I'm feeling now (have to get this project done in the next few days). When I wrote stuff for SSX, I mostly either modified Chris Cothran's codes or at least had plenty of time when I wrote my own database code from scratch. This, I think, will be more involved thank the database code I wrote last summer, and now the pressure is on.

I guess there are just general philosophical differences towards computer codes between me and my postdoc. I tend to be very thorough, carefully testing the code in parts, trying to be as efficient as possible, and writing in lots of comments. This, however, takes a while to do. And now time is not plentiful.

I intend to maintain my current approach. Taking some time to be careful, now, may be better than having to spend days debugging or worse, having to rerun lots of analyses because of problems with the code.

Any of you CS people out there have any advice?

Date: 2004-07-19 02:48 pm (UTC)
From: (Anonymous)
Vectorize!

Date: 2004-07-19 08:22 pm (UTC)
From: [identity profile] obcordate.livejournal.com
The most foolproof way, I think, would be to create a very very detailed algorithm for a certain portion or module, test the algorithm on paper, then translate it into code.

If you have the patience for such a thing. I tried doing it once, but gave up halfway.

Date: 2004-07-19 09:01 pm (UTC)
From: [identity profile] blaketh.livejournal.com
There do exist mathematical program-checking languages, as well as provably-correct programming languages. None of them are really any better than obcordate's advice.

I'm really only responding because I like Person &004D61796F7's icon.

Profile

meanfreepath: (Default)
meanfreepath

August 2013

S M T W T F S
    123
45678910
11121314151617
18192021222324
25262728293031

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 18th, 2025 04:07 pm
Powered by Dreamwidth Studios