Documentation Fun.

October 25th, 2006 § 2 comments § permalink

Scope of the change
//Original
StatusType getDRESS_REHEARSAL() {
return(StatusType) get(“DRESS_REHEARSAL”, new StatusType());
}

//Changed
StatusType getDRESS_REHEARSAL() {
return(StatusType) get(“DISASTER_RECOVERY”, new StatusType());
}

Please ignore the method name, it still remains. It’s everywhere in the code. Remember, this is the BBOM project. =)

Business case: Dress Rehearsal means nothing to the investment bank. The original developer misinterpreted this text and so my job was to fix it. Easy change. One line of code after digging around the code, seriously digging.

Documents I had to fill out in order to get this approved, signed off, and put in production:
Project Initiation Form (PIF)*
Impact Analysis
Code and Unit Test*
System Integration Test*
Quality Assurance Test
User Acceptance Test* (3 Regions: Evidence and Signoff)
Implementation Plan
Permit to Operate*

*Requires approval or signoff.

How much is too much documentation and processes?

Application Rewrite.

September 11th, 2006 § 1 comment § permalink

Remember the BBOM project? They’re talking about letting me rewrite it. Finally a project where I can use tools I like: Subversion, CruiseControl, Ant, Hibernate, WebWork, Selenium, and possibly more. AWESOME.

I’m not sure where this will go or even if I will be able to do this rewrite. Either way, mocking up small projects to learn about these tools is good enough for me. I have to be able to prove to others that the tools I’ll be using is beneficial to the team. I think they are, hopefully I can make a good presentation about these tools.

If you have any suggestions on how I can convince my team and manager, let me know.

(SHEY, you happy?!)

Project BBOM, Part 3?

July 12th, 2006 § 0 comments § permalink

After the migration of my first project, I have become the owner of the mess, awesome. I’m trying to convince the manager to let me scrap it and rewrite it.

I’m currently fixing a bug that has been there for…ever. Here’s what I run into trying to find the source of the bug.

[ASP Page] 805 lines; last updated in 2003! lol.

[lines 105-112]
If (isempty(postavailable)) then
     postavailable = “true”
End if

If (postavailable = “true”) then
     postavailable = true
Else
     postavailable = false
End If

[randomly spread through the code, more than 50 times]
If (postavailable) then
     //set variable to a value, each time a different variable…
Else
     //set a variable to ” “
End If

My Contribution to BBOM, Boo.

May 23rd, 2006 § 0 comments § permalink

//Big Ball of Mud Pattern
Deadlines are more important than good & solid code. I found myself between a rock and a hard place. I guess to keep your job, you just have to do what works as opposed to doing it right. It’s sad, but you just have to do what the business wants, even if you know it’s not what’s best for them.

private void setMenuHeadHTML(UserProfile userProfile) {

bigMoStringBuffer = bigMoStringBuffer.append( DisplayElementHome.getNEW_LINE() + “<script language=\”JavaScript\” type=\”text/javascript\” src=\”http://[server-port]/[blah1]/com/[blah2]/treasury/client/javascript/sniffer.js\”>” ) ;

}

private void setMenuHeadHTMLForASP(UserProfile userProfile) {

}

Big Ball of Mud…Pattern?!

April 13th, 2006 § 0 comments § permalink

So…WTF is a Big Ball of Mud Pattern? Click and read. It’s real and I just took ownership of a project that uses this “BBOM” pattern.

Don’t you think I’m lucky?! BLECH. JSPs/ASPs integrated could be ok, but this one is UGLY. Every page and class seems to be TheDailyWTF-worthy.

BTW, Google Calendar has been turned on. =)

Where Am I?

You are currently browsing entries tagged with bbom at thomas nguyen.