On Thursday, March 28, 2013 8:51:15 AM UTC-5, Mark wrote:
>
> I'm still just a Clojure hobbyist, but I have a question for folks who are 
> using Clojure professionally or for larger scale projects. Recently, I've 
> been finding that it's difficult to come up with names for variables and 
> functions that aren't already in the clojure.core namespace.
>
> If it's any consolation, I find that coming up with good names is one of 
the hardest (and least appreciated) aspects of programming.
 

> For instance, I have a little toy project that digs through DNA sequence 
> data to extract some simple metrics. I obviously can't call a variable or 
> function "seq" because that's meaningful in clojure.core already. It turns 
> out, I also can't call it "bases", because that's a function in 
> clojure.core also. I could call it dna, but that's sort of undescriptive 
> (it's important to me that the name indicate the sequential nature of what 
> the binding refers to).
>

Think metaphorically - dozens of possibilities.  String, slab, run, flow, 
clip (of film = seq of frames), chain, train, parade, etc.  I find that 
sometimes digging through etymologies (www.etymonline.com) turns up new 
ideas.

-Gregg

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to