jassing wrote:I prefer to use Str() still -- I find it more readable, and easier to verify what is being done. I hate auto-casting in general, as it leads to problems, like this...
I agree completely. Auto-casting is a disaster waiting to happen.
I've learned the hard way that clarity should have precedence over brevity, and I happily use long variable names, lots of comments, and strict coding standards.
Non-rigorous coding practices are why most of today's software is bugridden rubbish. Check out most software forums and you'll find comments like, "For this month's release we fixed about 240 bugs" - as if that's something to be proud of.
Auto-casting, and similar "programming aids", should not be part of PB
For ten years Caesar ruled with an iron hand, then with a wooden foot, and finally with a piece of string.
~ Spike Milligan