|
|
|
|
|
by mark-r
2470 days ago
|
|
I've found that the readability of fast code vs. slow code is often negligible - certainly it is in the specific example under discussion. I prefer to make a habit of using faster idioms in that case, so that when speed does matter I'm already covered. I don't consider that premature optimization. |
|
Code inside string literals is less readable and more inclined to be wrong/buggy.