Skip to main content
Ben Nadel
On User Experience (UX) Design, JavaScript, ColdFusion, Node.js, Life, and Love.

Rob Mills

Member since Mar 28, 2011

Recent Blog Comments By Rob Mills

  • I Finally Understand The Finally Part Of A Try/Catch Control Statement

    Posted on Apr 1, 2011 at 8:49 PM

    I was going to say basically what @Henrique Feijo said. I use the finally in server-side code for closing database connections and streams. You wouldn't want to leave a connection open if a command happens to fail and sometimes you don't have a need to handle the exception at that point so just havi... read more »

  • Using Slice(), Substring(), And Substr() In Javascript

    Posted on Mar 28, 2011 at 2:29 PM

    This is good information. I was mistakenly using substring since it was named the same as other languages but since I was expecting the behavior from substr I had to perform a calculation to pass the correct arguments. Thanks for this!... read more »