Skip to main content
🎄 Early Access Discount 🎄 Feature FlagsFrom Concept to Cultural Revolution

Bradley Moore

Member since Dec 11, 2008

Recent Blog Comments By Bradley Moore

  • Using An IFrame To Override document.write() Inside A DOM (Document Object Model) Sandbox

    Posted on Oct 25, 2012 at 3:55 PM

    I started using gists on my blog this week and I noticed my site dying. Thanks @Ben for making some awesomr code to fix the problem. ;)... read more »

  • The 4th Annual Regular Expression Day (And Prizes) - June 1st, 2011

    Posted on Jun 3, 2011 at 11:34 AM

    Thanks for the fun and the interesting conversations. Had a bit of fun yesterday too. Bradley Moore find: (B)(radl)(e)(y) (Mo)o(re) replace: \1\3 \2\3\4 \5\6... read more »

  • The 4th Annual Regular Expression Day (And Prizes) - June 1st, 2011

    Posted on Jun 1, 2011 at 1:46 PM

    While my favorite expression is very simple, it is something that I use all the time. find (.*) replace \1 , //forgot * in first picture, resubmitted... read more »

  • Is It Time For "Practical" Object Oriented Programming (OOP)?

    Posted on Mar 30, 2009 at 10:30 AM

    Aiming for perfection is fun, but it doesn't get a lot done. I approve of doing something you feel is not quite right, but still pretty good. You are more likely to find the "best" way, while continually trying to improve rather than trying to achieve the best straight off. ..or at least that's... read more »

  • OOP Philosophy: Invalid State vs. Invalid Method Call

    Posted on Mar 24, 2009 at 9:19 AM

    You may have passed good data to the object, but that does not make the object valid. This is an interesting thought. Running through some thoughts... Should the constructor only check its properties for validity? If the object has valid properties, but cannot perform a function, then is it a va... read more »

  • You Practice Gymnastics, I Practice Everything

    Posted on Mar 2, 2009 at 11:29 AM

    @Topic I practice making interesting things easy. I attempt to understand subjects until they become both easy to do and easy to explain to others. My definition of easy changes often. I like to think there is always a better way of explaining or doing something, so I continuously question my cod... read more »

  • A Serious CFThread Bug In ColdFusion?

    Posted on Jan 22, 2009 at 10:14 AM

    I totally did not refresh the page before I posted, thus missing all the other responses. >>... read more »

  • A Serious CFThread Bug In ColdFusion?

    Posted on Jan 22, 2009 at 10:11 AM

    Following up on Marc's comment. I am curious about why you're using the attribute scope instead of using the application scope. The incrementor is already in a scope available to the threads.... read more »

  • Hal Helms On Object Oriented Programming - Day Four

    Posted on Oct 29, 2008 at 8:54 AM

    Yarr, I got a lot out of this post/series. It helped me see past the whole problem of validation, which has let loose a berserker of insight (tm?). I'm still collecting my thoughts, working out details, and trying to tie it into coherent words. I just wanted to say thanks. =D... read more »

  • OOPhoto: VARIABLES vs. VARIABLES.Instance - When And Why?

    Posted on Sep 16, 2008 at 10:00 AM

    I really had not thought about separation of static ( write once / read many ) variables from the dynamic variables in components, but it is an interesting idea. I dislike using the variables scope directly, but setting up a variables.static structure is very appealing. You could setup onMissingMe... read more »

  • OOPhoto: VARIABLES vs. VARIABLES.Instance - When And Why?

    Posted on Sep 15, 2008 at 9:15 AM

    The main reason I use variables.instance.{variable} over variables.{variable} is because of name conflicts with function names and the private scope. Far from a great example, but if I have a string set to an email address and a function called email, then I cannot access the email ... read more »

  • Bug With ARGUMENTS Scope And Implicit Array / Struct Creation

    Posted on May 23, 2008 at 9:44 AM

    <cfset LOCAL = { Data = EVALUATE( "ARGUMENTS.Data" ) } /> Throws: "Invalid collection Ben. Must be a valid structure or COM object." vs <cfset ARGUMENTS = { Data = EVALUATE( "ARGUMENTS.Data" ) } /> Throws: "Variable ARGUMENTS.Data is undefined" The strange part is if it's not in a c... read more »

  • LOCAL Variables Scope Conflicts With ColdFusion Query of Queries

    Posted on May 12, 2008 at 4:09 PM

    I ran into this issue recently and decided the quick fix at the time was to simply rename my LOCAL variable to LocalScope. Renaming LOCAL to fix a QoQ seemed odd to me at the time and it has been bugging me because I have not had the time to work on it. I was about to ask you this very question, b... read more »

  • Thoughts On Chained And Dependent Algorithm Steps

    Posted on Apr 10, 2008 at 10:04 AM

    I'm not sure if this is what you're looking for, but I've done something similar before. Kinda psuedo-code from your example. <cftry> <cfset arrErrors = [] /> <cftry> <!--- step1 ---> <cfset a = 1 / 0 /> <!--- yay, error ---> <cfcatch> <cfset Arra... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel