HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
Feature #923438 ยป 0039-CodingStyle-Declare-variables-in-the-innermost-block.patch
doc/CodingStyle | ||
---|---|---|
249 | 249 |
do need them, minimize the number of times they are referenced in the code |
250 | 250 |
(e.g. use a helper function to wrap their access). |
251 | 251 | |
252 |
- Variables should be declared in the innermost block possible, i.e., they |
|
253 |
should not be visible where they are not needed. |
|
254 | ||
252 | 255 |
- Never initialize variables with values that make no sense as their |
253 | 256 |
value in case they get used. If there's no sensible initialization |
254 | 257 |
value for a variable, leave it uninitialized. This allows various |
255 |
- |