[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Pooling of strings is good
- From: Jorge <xxopxe@...>
- Date: Tue, 26 Aug 2014 01:52:53 -0300
On 25/08/14 09:15, Coda Highland wrote:
(The lesson in Apple's SSL bug was "don't copy-paste code," which is
much more broadly relevant.)
That's actually a criterion i've been munching as a posible default for
all the pesky "style" questions: "does it make copy&paste of code more
robust/safe, or not?".
You can apply that to stuff like to whether to use begin-end or "{}"
even when there's a single line, or where to declare variables (just
before first use or at the beginning of scope), or whether a bunch of
code should be factored out to a function.
Jorge
- References:
- Pooling of strings is good, Dirk Laurie
- Re: Pooling of strings is good, Coroutines
- Re: Pooling of strings is good, Dirk Laurie
- Re: Pooling of strings is good, Coroutines
- Re: Pooling of strings is good, Jay Carlson
- Re: Pooling of strings is good, Coroutines
- Re: Pooling of strings is good, Jay Carlson
- Re: Pooling of strings is good, Coroutines
- Re: Pooling of strings is good, Sean Conner
- Re: Pooling of strings is good, Javier Guerra Giraldez
- Re: Pooling of strings is good, Coroutines
- Re: Pooling of strings is good, Coda Highland