[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: Re: Uninitialized config values
From: Alex Turbov <i.zaufi () gmail ! com>
Date: 2013-11-16 21:19:05
Message-ID: CANktQtuGC9FLjAdtdKS5TwdjMpY-k9WCbfGO6eh4NF0KiVbWcw () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On Sun, Nov 17, 2013 at 1:13 AM, Dominik Haumann <dhaumann@kde.org> wrote:
>
> Now your question how to fix this: Initialize all variables of the global
> instances. The initialization value does not matter, because it's
> immediately
> overwritten by readConfig().
>
alternative way: use .kcfg file and generator...
when configuration became fatty C++ code became even more fatty (and worse
maintainable)...
"Do not send a human to do a machine's job"
(c) Agent Smith
:)
[Attachment #5 (text/html)]
<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On \
Sun, Nov 17, 2013 at 1:13 AM, Dominik Haumann <span dir="ltr"><<a \
href="mailto:dhaumann@kde.org" \
target="_blank">dhaumann@kde.org</a>></span> wrote:<br> <blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><br> Now your question how to fix this: Initialize \
all variables of the global<br> instances. The initialization value does \
not matter, because it's immediately<br> overwritten by \
readConfig().<br></blockquote></div><br></div><div \
class="gmail_extra">alternative way: use .kcfg file and \
generator...<br></div><div class="gmail_extra">when configuration became \
fatty C++ code became even more fatty (and worse maintainable)...<br> \
<br></div><div class="gmail_extra">"Do not send a human to do a \
machine's job"<br></div><div class="gmail_extra">(c) Agent \
Smith<br><br>:)<br></div></div>
_______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic