[Lazarus] Hints usability
JoshyFun
joshyfun at gmail.com
Sat Apr 11 14:22:51 CEST 2009
Hello Joost,
Saturday, April 11, 2009, 11:48:02 AM, you wrote:
JvdS> Very nice that you have made up this rule for yourself. But as you've
JvdS> find out you really make things complicated for yourself.
[...]
JvdS> And there are 'hints', things which are things that the compiler finds
JvdS> suspicious, but of which it CAN NOT BE SURE that it is a problem. Some
I know that, that's the reason I was not requesting nothing and the
reason of note that it is "MY" problem.
JvdS> Keep this rules in mind. When you want to write hint-free code, that's
JvdS> your choice, and it can lead to messy stuff. But don't blame the
JvdS> compiler.
I had never done that, I was only showing my opinion as an user, I
think that opinions as patches are welcome and developers can take
them in account or simply discard them. Maybe more people thinks the
same as me or maybe I'm an alien.
JvdS> A system to disable/enable each hint seperately is discussed often and
JvdS> there are some beginnings of implementations made. But it's not here
JvdS> yet, and yes: patches are welcome.
I'm very happy submitting patches but I will not submit a patch to
something that I can not understand and garantee that it will work as
expected and compiler technology is far away from my skills and I'm
only submitting patches to small pieces of code for specific functions
like the UTF8Decode one. I do not want to ruin a nice piece of code.
JvdS> If you have a situation in which you know that a hint is always a 'false
JvdS> positive' and a way that the compiler could know that, you could try to
JvdS> file a bug or make a patch.
Be sure about that.
JvdS> Further, this is the wrong list to discuss this, because it's
JvdS> fpc-specific, not Lazarus. Escpecially when you want that something is
JvdS> done about this, this is the wrong place. (As Matthias already stated)
You are right, I was following the thread and crossed the topic
boundaries :( By my side the thread in this list is dead. Please if
you like to reply this message use private mail or fpc mailing list.
--
Best regards,
JoshyFun
More information about the Lazarus
mailing list