On Aug 29, 2011, at 5:03 AM, Igor Galić <i.ga...@brainsware.org> wrote:

> 
> 
> ----- Original Message -----
>> Hi all,
>> 
>> I'd like to propose that we start using ats_ as a prefix for new APIs
>> (and rewrites etc.) in the internal code. Long term, we probably
> 
> Can you please break down for us what exactly internal code is.

Anything that is not external / public API.

> 
>> should
>> migrate existing ink_ prefixes to ats_, and perhaps also consider
>> using
>> C++ name spaces.  My rationale for using "ats" instead "ts" in the
> 
> So this is - in the long term, going to be more than a
> 
>  sed -i 's/\bink_/ats_/g' **/*.cc **/*.[ch]

Maybe. The prefix ink just doesn't make sense in Apache.

> 
>> internal (core) code is to make it easily distinguishable from the
>> public APIs (which are all prefix e.g. TS or ts). This is very useful
>> when grepping through the code IMO.
> 
> Just have to teach people *how* to grep ;)
> 
> igalic@tynix ~/src/asf/trafficserver (svn)-[trunk:1162727] % ack-grep 
> '\bink_'  | wc -l
> 8333
> igalic@tynix ~/src/asf/trafficserver (svn)-[trunk:1162727] % ack-grep 'ink_'  
> | wc -l
> 8540
> igalic@tynix ~/src/asf/trafficserver (svn)-[trunk:1162727] % 


Ya, but if we change ink to ts, this would now find both public APIs and code, 
and the core code. The message was not really about whether we should keep ink 
or not, I think that's a given, it's whether it should be ts or ats. And I'd 
prefer ats myself.

-- Leif

> 
>> Cheers,
>> 
>> -- Leif
> 
> 
> So long,
> 
> i
> 
> -- 
> Igor Galić
> 
> Tel: +43 (0) 664 886 22 883
> Mail: i.ga...@brainsware.org
> URL: http://brainsware.org/
> GPG: 571B 8B8A FC97 266D BDA3  EF6F 43AD 80A4 5779 3257

Reply via email to