oh and its nice to know opinion has changed from "its not possible to create a program without bugs" to "its not possible to create a program with anything other than a bottom-run-basic level of complexity without bugs" its a start in the right direction
No, I can write program with no bugs right now:
There, a "program" that has no bugs -- if you want to call it that. Here's another "program" that has no bugs either:
Code:
wscript.echo "Hello, the date is " & Date()
Wow, lookie there. Another program that has no bugs -- again, if you want to call it that.
you think that a program becomes more difficult to debug the more complex it is up untill a point and if you ad 1 more line of code it goes from difficult to impossible[
Can you point me to where I said that little part about "one more line it goes from difficult to impossible". I'd like to know where I let that slip, thanks. The prior half of that sentence
is correct...
i dont and i dont think you beleive it either. heres what i beleive and i think you do too: the more complex a program the more difficult it is to debug and thats it, there is no point were it suddenly becomes impossible, the difficulty just increases.
So what is an "impossible" level of difficulty? If you need to debug 10 lines of code, is that impossible? If you need to debug 1000 lines of code, is that impossible? If you need to debug 10,000,000 lines of code, is that impossible? If you need to debug 1,000,000,000,000 lines of code, is that impossible?
No. Nothing I just wrote is
impossible within the realm of technicalities. But what if you have 50,000,000 lines of code, 4,830 different video cards, 97 different processors, 740 different motherboards, 21,872 different memory sticks, 9,470 different network cards and 372 different audio cards to test with your fifty million lines of code? And every permutation therein?
Let's just do a bit of quick math on just processors and video cards with my little goofy hypothetical numbers... Even if we only had to test every permutation of 1000 video cards with 20 processors and 50 motherboards, that's 1,000,000 different case scenarios to test your fifty million lines of code with.
Is that impossible? What if we add 100 network cards? What if we add sound cards? What if we're fighting CPU errata? At what point does it truly become impossible?
Technically, within infinite time and infinite resources, it isn't. But we don't live in that world.