lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20071023194527.4ac1dc85.akpm@linux-foundation.org> Date: Tue, 23 Oct 2007 19:45:27 -0700 From: Andrew Morton <akpm@...ux-foundation.org> To: Matthew Wilcox <matthew@....cx> Cc: Linus Torvalds <torvalds@...ux-foundation.org>, linux-kernel@...r.kernel.org, Matthew Wilcox <willy@...ux.intel.com> Subject: Re: [PATCH 1/4] stringbuf: A string buffer implementation On Tue, 23 Oct 2007 20:30:35 -0600 Matthew Wilcox <matthew@....cx> wrote: > It's a matter of taste ... some people prefer to use accessors for > everything, other people prefer to expose the underlying structure > directly. Experience tells us that when you use accessors you end up thanking yourself later on. Especially when diddling struct page ;) Although one really should make a best-effort guess at "how likely is this to change in the future". If the implementation-to-be-copied has been out there for a while then "not very" is a good answer. But hey, don't listen to me - I like C++, and approve of Java. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists