in reply to Re^5: No garbage collection for my-variables
in thread No garbage collection for my-variables
ou seem to be saying: Oh, I mustn't use this language feature, because that would make my code more efficient and that would be an optimisation and it might be premature!
No, I'm not. I'm merely saying that ... well, what I said. Everything else was interpretation from you.
Wouldn't it be great if we could actually fix the problems in the compiler, instead of work around them?
Why does Text::CSV_XS exist? Or the XS version of List::Util? Or ...
The XS version of List::Util is a perfect example of where the interface is not affected by performance optimizations at all. As a programmer I don't even know if the pure perl or the XS version is actually loaded, which is exactly how performance optimizations should be: unintrusive in terms of interface.
It drives me nuts.
Relax. Remember there's always somebody wrong on the internet.
Just like any natural language it becomes weird if you over-use a particular feature. IMHO context sensitivity is nice, but best used sparingly. It should just DWIM, but when it's used too often I have to actually think about contexts, which defeats the whole purpose of contexts.
And just like in natural languages opinions on how to best use it vary greatly, so I don't really expect to come to a consensus with you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: No garbage collection for my-variables
by BrowserUk (Patriarch) on Sep 17, 2008 at 08:28 UTC |