Arc Forumnew | comments | leaders | submitlogin
Reepeeaat
1 point by eekee 5915 days ago | 4 comments
With function names supposed to be short, I wonder why 'repeat is spelled out in full. Wouldn't 'rpt be more appropriate? If repeat is rarely used then I guess this is a non-issue.


2 points by drcode 5915 days ago | link

I think "repeat" is one of the less-frequently used arc functions. The "Huffman encoding" philosophy would be to keep the name longer in order to improve clarity- Shortening this name, IMHO, would just be a small step towards the "line noise" problem that perl has.

-----

3 points by skenney26 5915 days ago | link

'rpt seems a little too short. Sucking the vowels out of a word makes it harder to remember. The shortened names that work the best are ones like 'rev and 'rem that are easy to pronounce.

-----

1 point by Bogart 5915 days ago | link

How about "rep"?

-----

3 points by Darmani 5915 days ago | link

rep is taken.

  arc>def
  #3<tagged mac #<procedure>>
  arc>(rep def)
  #<procedure>

-----