Skip to main content

Sean Corfield

Member since Jun 12, 2009

Recent Blog Comments By Sean Corfield

  • Tracking Page Request Metrics With Framework One (FW/1) And Lucee CFML

    Posted on Sep 26, 2019 at 5:15 PM

    What we've always done in all of our apps is: to set a flag in the equivalent of "view not found" to record the request at the end of processing the request -- using the flag to determine whether to record the actual request or a generic not-found URI We do that in our... read more »

  • Seven Languages In Seven Weeks: Scala - Day 1

    Posted on Dec 15, 2010 at 11:18 AM

    @Ben, p: (A) => Boolean A parameter p of type function (=>) that takes a single argument of type A and returns a Boolean. find() itself returns a value of type Option[A] which is either Some(a) or None, where a is of type A. Option[T] is Scala's way of safely avoiding null pointers. You ca... read more »

  • Why My Queries Hate Application Service Layers

    Posted on Jun 18, 2009 at 12:41 PM

    Definitely an interesting problem to solve because, of course, there are several reasonable ways to implement it. I would probably go with getAssetDetail() but have optional named arguments for withProject=true etc so the intent would be readable through the names of the arguments. This would st... read more »

  • A Problem With My Coding Methodology That's Driving Me Crazy

    Posted on Jun 12, 2009 at 11:10 AM

    It's always interesting to see people's justification for their naming conventions so thank you for sharing that. I think a lot depends on your background. Mine is mostly C++ / Java so for me UPPERCASE means a constant, CamelCase means a type and headlessCamelCase means a variable. And I've always d... 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