On the usefulness of Livejournal
Jun. 2nd, 2005 09:05 amJust when I was feeling somewhat ashamed for starting my day at work reading Livejournal, I come across this link on what Hungarian notation should be in
bcholmes journal. Since what I'm working on is a bigger project than I'm used to, and one which I'm basically starting from scratch, stuff like that really comes in handy.
I've even dug up one of my old books from when I was at the university learning systems design. It'll come in handy for designing the database. The one I'm replacing was a proof-of-concept thingy, where the logs were just slurped into tables with one column per field and an index on every column. I'm fairly sure I'll be able to do something better than that!
I've even dug up one of my old books from when I was at the university learning systems design. It'll come in handy for designing the database. The one I'm replacing was a proof-of-concept thingy, where the logs were just slurped into tables with one column per field and an index on every column. I'm fairly sure I'll be able to do something better than that!
no subject
Date: 2005-06-02 10:56 am (UTC)In other words, I use some naming convention to distinguish between globals (horror!), locals and members. Oh, and also types. But the purists maintain that any function that doesn't allow you to see the declaration of your variable at a glance is too long.
In other words, more than a screen is too long.
I'll get onto the "Exceptions Bad" part later. Let it suffice for now that the last time I encountered an "Exceptions Bad" article, I wondered how the author actually expected his code to be robust and maintainable.
(Writing good code that copes with exceptions isn't easy. But it's the writing good code part that's the tricky bit.)
no subject
Date: 2005-06-02 01:49 pm (UTC)