+ 6
[Bug]👾Can we ever be free from them
Bug you know them , They make programmer go angry , Just wondering can a code , program or algorithms ever be totally Bug free >>>_👾👾👾>>>😊😀😀
9 Réponses
+ 11
Depends on the scope and complexity of the program.
If the only thing that you do is (2*8) it will always run without any issue. If you take input from an external source outside your control, then you can't predict if it will be bugfree — certain combinations of input at certain times can break your program.
There are claims about pure functions without side effects being correct, and correctness possible to verify – Referring to haskell.
And some other theory language i will link if i can find them(very old article)
+ 8
Bug never say goodbye to coder..
Here some useful links about BUGS 😉
https://www.sololearn.com/discuss/241713/?ref=app
https://www.sololearn.com/discuss/1184550/?ref=app
https://www.sololearn.com/discuss/240463/?ref=app
+ 7
This is one thread which I've found to be relevant to the topic, with good insight to the question.
https://www.sololearn.com/Discuss/333094/?ref=app
+ 7
Unfortunately we will never completely be free from them.
+ 4
Bugs are there to remind us that we are just humans.
+ 3
BinaryEden
I mean depending on the quality and the type of exceptions your program handles, it can fail on certain input.
e.g, Accepting strings and other characters as input when you are supposed to get only numbers.
Buffer overflows in c/c++ code. Somebody executing sql queries on your server through form input in html -- This a security vulnerability which you failed from safeguarding.
https://en.wikipedia.org/wiki/Time_formatting_and_storage_bugs
https://www.geeksforgeeks.org/buffer-overflow-attack-with-example
#forget the 1st answer rest are ok.
https://www.quora.com/What-does-it-mean-in-programming-to-break-code
+ 2
Useful, thx
+ 1
Sonic. Humans or bugs?
+ 1
"certain combinations of input at certain times can break your program"
Lord Krishna
Can explain it more plz ?