[TxMt] Re: Cocoa development with Textmate no Xcode

Allan Odgaard mailinglist at textmate.org
Thu May 6 18:47:26 UTC 2010


On 6 May 2010, at 20:14, Rick DeNatale wrote:

>> […]
> So does this mean that TextMate is primarily written in C++ rather  
> than Obj-C?

Somewhat equal split: wc -l *.{mm,cc,h} → 20,595, 21,404, and 12,484.

There is probably an overweight of C++ in the headers.

Whenever I can stay in pure C++ I do so, which means pretty much all  
model code is C++, and I also have a cf (CoreFoundation) wrapper  
library that gives easy access to CoreFoundation stuff from C++ (where  
one would otherwise use Cocoa).

I like some parts of Objective-C and Cocoa is a nice framework, but I  
am growing less and less comfortable with it. Partly the verbosity and  
syntactic overhead of Cocoa / Objective-C, partly my growing dislike  
of frameworks (as opposed to libraries), and partly me wanting to rely  
as little as possible on Apple’s single-vendor technologies for  
reasons which in these times probably need little explanation ;)




More information about the textmate mailing list