|
|
|
|
|
by baron816
3203 days ago
|
|
What's with the hostility? I'm just trying to express my opinion. You can disagree and state your point without being insulting. Sure, when I say frequent, I don't mean its happening all the time all over the place, I just means it can and does happen without consequence. Block scoping and constants, in the sense that it's important that they're block scoped and constant, are the exception. Most variables are single-assignment not out of necessity. And I bet most people think in function scope, regardless of how the compiler works. It all still comes down to intent. If you're always defaulting to using const, your intention is not really showing through. |
|