Re: protocol names - community standards

2015-06-16 Thread Colin Yates
I name all of my protocols as active very in the first tense/descriptions of what they do. Rather than ‘Find’ I would have ‘IFindThings’. It takes a bit of getting used to and it was a suggestion in something I read a while ago (one of Steve Yeggies’ posts maybe?) but it really makes you think,

Re: protocol names - community standards

2015-06-15 Thread James Reeves
Yes, reusing the names core namespace functions is not uncommon. There are only so many useful verbs, and namespaces exist so we can use the same function name for different tasks. Typically, your ns declaration will look something like: (ns foo.bar (:refer-clojure :exclude [get]) (:require '

protocol names - community standards

2015-06-15 Thread Dru Sellers
I am creating a protocol for my entity management and I was going to use the name 'find' but that is a well known core lib function as is 'get'. I was curious if it is common practice to still use those methods or if the collective group have settled on other names for the common 'crud' type method