Feedback Request: Indenting Code

OK, I'm looking for feedback from the community at large. In a recent development meeting one of our new developers made the following (paraphrased) comment about cleaning up existing code:

I'd like to, when we can, rewrite a lot our display code. There are a lot of unnecessary tabs and spaces. With several thousand open sessions, this is a lot of unnecessary data being transmitted back to the user, chewing up our bandwidth. I like to keep my opening and closing tags on the same line, most of the time, and eliminate the unneeded space.

While I can see the argument he is trying to make, I personally disagree. First of all, we have a large legacy codebase, with heavily nested table layouts. While I can see replacing tables for non-tabular data, I think the indented code makes it much easier to read, adjust, and maintain. I do the same for most block level elements. And, I absolutely use it within the programmatic (ColdFusion, ActionScript, JavaScript, etc.) code. I believe in whitespace suppression (enablecfoutputonly="true"), but I don't agree with eliminating readability.

Am I the only developer who sees the value of indenting their code? Or, am I just holding on to archaic coding practices pushed upon me by some professor or another? Does my gain (maintainability/readability) outweigh the overhead implied? What are your thoughts?

ColdFusion Recursive Functions

Recursion is defined as a method calling itself.

A long time ago, in a land far, far away, I was studying Computer Science, taking courses to lead to certifications in Object Oriented Programming. Back then I was introducedto the concept of recursion, which sounded very fascinating, but I never thought I would have a practical use for it. Times have changed, for me.


Steve Bryant on DataMgr

So, I just got home from the monthly Nashville ColdFusion User Group meeting, and I have to say that I'm looking forward to watching the Breezo (Connecto?) again of Steve Bryant's presentation on DataMgr. This lightweight utility seems like it can actually do some heavy lifting with some of your basic database interaction, handling all of your basic CRUD and a whole lot more. Has some very nice, built-in functionality for handling things like automatic data truncation when inserting to a column of a smaller size (but only if you ask it to), rewriting a batch of records to reflect new sort orders (like when re-ordering display orders), and quite a few other things.


The State of Cutter

Well, it's been a busy year already. I've been working on the largest code rollout in the history of our company. 250+ templates in all. I'm thankful that we hired another senior developer in Andy Matthews, a great guy whom I already knew from our Nashville ColdFusion User Group. Although the initial project was in support of a new project relating to statistical usage reporting, encompassing user and session management, we have also begun a full scale rewrite of our session and application initialization. No small task with our system, and something that will be further enhanced in the coming year as we finalize our migration from ColdFusion MX 6.1 to 7.


Ben Forta is coming to Nashville

So, Aaron told me about some exciting news from Adobe today. On May 9th, Ben Forta, ColdFusion Evangelist at Adobe and tech author extraordinaire, will be giving a special pre-release peak into Adobe's upcoming release of the newest version of ColdFusion, codenamed 'Scorpio'.


Beginner SQL Tricks: NULL Value Defaults

OK, I'm not a beginner with SQL. After 7 years of hammering away at web apps I've picked up a little bit here and there. But I also try to remember how difficult it was for me to wrap my head around certain things that didn't necessarily have to do with programming logic. Things like design, layout, and database calls.


Developer Persona: Cutter

Per Tim's suggestion:

  • 37 Years Old
  • Lives in Nashville, Tennessee
  • Former Army
  • Drives a 2006 Chevy Cobalt
  • Rents an apartment, while working towards a house
  • Married to SuperWife, Teresa, with 5 year old Diva Girl daughter, Savannah
  • Likes to read Stephen King, Tony Hillerman, murder mystery thriller mayhem and things that go bump in the night. Gets to read fiction maybe twice a year.
  • Battlestar (with the wife), Smallville (with the daughter), Heroes (for me)
  • Loves to sing, misses fronting 'The Band'
  • Favorite Book: To Kill A Mockingbird
  • Favorite Musician: Jimi Hendrix
  • Loves movies, but rarely goes to the theater
  • Listens (and sings) to everything from Nickelback to Nat King Cole, with strong leaning towards classic rock and the blues
  • Captain and Coke

It's here

CFEclipse 1.3 Released

But, you already knew that. (Sorry I'm late to the party, I've been busy studying for my exam, etc.) The suspense was killing everyone, it seems, on what all of the mysterious banners were that popped up on several key blogs (including mine? Now how did that happen?) Then came 'the hunt', that cool programmer's puzzler leading to the video. Finally Version 1.3 of CFEclipse is out of beta and available for download.

Over the coming weeks Mark and the crew will be putting out some info on the new features of CFEclipse. Most of the changes aren't very evident to those who've been on the beta, but one of the immediate enhancements I noted was the template introspection when I began to reference variables I had previously defined. Nice time saver. What goodies have the rest of you spotted?

The entire CFEclipse crew has been hard at work over the last year knocking off the bugs that had been reported, doing some fine tuning, plus cranking out a new site (which is still a work in progress). Truly great stuff from Mark Drew and everyone else on the CFEclipse project. So A) donate to their various 'conference' donation setups, and B) buy them lots of drinks at said conferences. Last I checked Mark was heading off for a well deserved trip to the pub. Someone buy that man a JD and Coke.

Is Your Code Ready?

Is Your Code Ready?

Unleashed. Soon.

Unleashed. Soon.

Previous Entries / More Entries