LWN.net Logo

Re: [RFC] Convert builin-mailinfo.c to use The Better String Library.

Re: [RFC] Convert builin-mailinfo.c to use The Better String Library.

Posted Oct 18, 2009 17:09 UTC (Sun) by jafl (guest, #36401)
Parent article: Re: [RFC] Convert builin-mailinfo.c to use The Better String Library.

I completely agree with the weed-out factor, and avoiding inefficient pass-by-value for objects requires fanatical dedication to using references. But I disagree with the claim about object models. Any time you define a struct and functions to operate on that struct, you have an object model. It's probably true that the object models in C tend to be much simpler than in C++, because C++ lets you go hog wild, but if two years down the road, you realize that your C structs need adjustments, it may still require a lot of refactoring.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds