On Mon-2010/01/25-22:53 Micah Cowan wrote:

> Nicholas Marriott wrote:

>> I'd make this something like enum window_copy_search_mode,
>> WINDOW_COPY_WORDSTART, WINDOW_COPY_WORDEND.
> 
> OOC, why do you bother with such namespaces in locally-scoped
> definitions?

I like Nicholas' code very much, it is clear and the identifiers are
descriptive.  I have found that thinking up a good name makes coding
a lot easier and helps to avoid conceptual mistakes.


clemens


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to