Re: [Vala] enum values and scopes
- From: andi <tradiaz yahoo de>
- To: Bob Hazard <linuxoflondon googlemail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] enum values and scopes
- Date: Thu, 15 Jul 2010 00:06:49 +0200
On Tue, 2010-07-13 at 21:38 +0100, Bob Hazard wrote:
Personally I find that context improves readability. I know the
google c++ style-guide forbids the "using" keyword but I guess that is
for big projects with many authors.
Try a plugin that offers autocomplete to help the memory such as
Valencia for gedit. Or if it is way way outside of the namespace
maybe refactor it to "ga.is_paused()"?
I'm using vtg at the moment but its code completion often does not work.
Anyway, I think that using "tools" or refactoring to achieve that is not
the right way to do it. But if you consider it more readable, which I
don't, that's an argument of course. I was hoping there were more people
who feel the way I do, because they are used to it from C.
After all there is nothing to loose, because even if vala assumed the
value to be in the scope of the operands enum type you can still prefix
it if you feel that this improves readability.
regards
andi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]