Re: [RFC] Convert builin-mailinfo.c to use The Better String Library.
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Sep 7, 2007, 01:12 UTC
- Message-ID
- <alpine.LFD.0.999.0709070203200.5626@evo.linux-foundation.org>
- In-Reply-To
- <alpine.LFD.0.999.0709070135361.5626@evo.linux-foundation.org>
On Fri, 7 Sep 2007, Linus Torvalds wrote:
> > The fact is, git is better than the other SCM's. And good taste (and C) is > one of the reasons for that.
To be very specific: - simple and clear core datastructures, with *very* lean and aggressive code to manage them that takes the whole approach of "simplicity over fancy" to the extreme. - a willingness to not abstract away the data structures and algorithms, because those are the *whole*point* of core git.
And if you want a fancier language, C++ is absolutely the worst one to choose. If you want real high-level, pick one that has true high-level features like garbage collection or a good system integration, rather than something that lacks both the sparseness and straightforwardness of C, *and* doesn't even have the high-level bindings to important concepts.
IOW, C++ is in that inconvenient spot where it doesn't help make things simple enough to be truly usable for prototyping or simple GUI programming, and yet isn't the lean system programming language that C is that actively encourags you to use simple and direct constructs.
Linus