Community Member Profile
- Profile: /members/3593-Sean-Corfield.htm
- URL: http://corfield.org
- Comments: 3
- Points: 29
Recent Blog Comments By Sean Corfield
-
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 avoidin... 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.... 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 alway... read more »



