?

Log in

No account? Create an account

Previous Entry | Next Entry

So I never did get any databases working; eventually I just gave up on that. I'm sure it will need to be fixed eventually, but I was just grinding my gears and getting frustrated, so once again I used my executive powers as King of the Workaround [1] to slap something awful that works in place, with a note to come back and fix it later.

I saved the tables to comma-delimited TXT files and used the CFFile tag to read those into variables. Then from that variable, I used "#chr(10)#&#chr(13)#" to find the line breaks, looped over the entire file as a list, then for each line I looped over that to find the specific value at any given position. It's an ugly, clunky piece of code that's right out of Fortran or something, but it at least has got me past the "database no worky" issue.

So finally, last night at 10:00 p.m., I was ready to start actually making progress on the actual project. Except the weekend was then over. Le sigh.

The real killer about this is that the whole point of the exercise is to eventually give me practice using C# in .NET ... but I can't be working out the logic and learning syntax at the same time. So I'm writing up the app in ColdFusion first because I can "think" in CF, and then once it's done I'll go back and re-code it in C#.

Why did I become a programmer? I hate programming. :P

Oh yeah. Because cartooning doesn't pay. -.-

-The Gneech

[1] A title I've had for a decade or so, now. If anything, it's my most impressive programming skill.

Tags:

Comments

( 1 comment — Leave a comment )
( 1 comment — Leave a comment )

Latest Month

Tags

Page Summary

Powered by LiveJournal.com
Designed by Tiffany Chow