Tuesday, June 14, 2005

"Visual" Programming

I just remembered a feature from the Visual Basic world: the IDE would hide all of the code file except for the function with which you were currently working. You would pick a function in a little menu and only that function would appear.

I'm not sure if I like this or not. I know I like having access to functions. During my last round of Linux hacking I set Emacs bookmarks for most of the functions with which I was working. This allowed me to flip around without navigating the pile of code that had accreted.

In Visual Studio .NET 2003 the "Class View" feature allows you to browse your classes to find a particular function and then you can just double-click on the function name and it opens the file and puts the cursor at the function. This is identical to the Emacs bookmarks, but with Emacs you had to put the bookmarks in yourself.

There's a project that wouldn't be too hard: build a bookmarker for Emacs that would put a bookmark at the beginning of each function in a code file.

Maybe one day I'll get to it.

Friday, June 10, 2005

Dimentia, or not

Do you ever just stare at your screen for a few minutes trying to figure out what you're doing and then realize you're looking at the wrong file and it's no wonder it doesn't make sense?

Where have I been?

I guess I got busy with finals and things. Now it's Summer Semester and all I'm taking is Calculus III, "Multivariable Calculus".