This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Cattle Drive and the fly likes Spell Check Hint Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Spell Check Hint" Watch "Spell Check Hint" New topic

Spell Check Hint

John Abong
Ranch Hand

Joined: May 14, 2007
Posts: 79
I wasn't going to share this at first but here it is:

After doing a "little" refactoring on OOP-4 (Lookup) today, I got the bright idea of doing a spell-check on the code. So, I copied the code from notepad, where I do all of my coding and pasted it into MS Word. Guess what I found. Yep, typos all over the place!

I thought that it might be a useful tool for those of you who code this way, too.

Dick Summerfield
Ranch Hand

Joined: Oct 04, 2007
Posts: 90
Hi John,
I've only just seen this and I have to say that I don't understand.
Are you referring to typo's in comments?

John Abong
Ranch Hand

Joined: May 14, 2007
Posts: 79
No, Dick, typos in my code. There's no spell check in Notepad and the typos would have caused the jvm to complain. I just prevented a little pain by checking for spelling errors with MS Word before compiling it.

Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9058
I haven't received an assignment from you recently, John.

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
John Abong
Ranch Hand

Joined: May 14, 2007
Posts: 79
I'm strugglin' Marilyn. While awaitng nitpicking, I kinda breezed through the servlets and ant (in the absence of nitpicking, mind you) but when I got back to the hashmap stuff I was completely lost. Servlets spoiled me. I can't seem to make the JVM happy again.

I'm afraid I've lost my momentum...ain't givin' up though. I have a major java project that I must start in November.
[ May 26, 2008: Message edited by: John Abong ]
I agree. Here's the link:
subject: Spell Check Hint
jQuery in Action, 3rd edition