Here's an example of the problem: Var FirstValue As UInt32 = 4294967295 Var SecondValue As Int32 = - 2147483648 If FirstValue > SecondValue Then // Won't Reach Here End If ![]() This is because it tries to find a common type between the two types being compared, but there's no common type for many of the integer types. Xojo has a problem comparing integers of differing types. When the developer categorically refuses to fix the bug, it's downright indefensible. When an arithmetic bug exists for 12 years without being fixed, that's disgraceful. The bug gets fixed, and you move on with your life. When a compiler has an arithmetic bug, it's embarrassing, but it happens. But sometimes the bug fixing process goes wrong, and that's what this is all about. We are imperfect humans trying to teach perfect computers how to do their jobs. ![]() I will never fault a developer for their bugs, because it's part of the job.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |