+ 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 >>>_👾👾👾>>>😊😀😀

24th Mar 2019, 1:42 AM
George S Mulbah II
George S Mulbah II - avatar
9 odpowiedzi
+ 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)
24th Mar 2019, 1:53 AM
Lord Krishna
Lord Krishna - avatar
24th Mar 2019, 1:51 AM
Scooby
Scooby - avatar
+ 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
24th Mar 2019, 2:21 AM
Hatsy Rei
Hatsy Rei - avatar
+ 7
Unfortunately we will never completely be free from them.
26th Mar 2019, 1:35 AM
Sonic
Sonic - avatar
+ 4
Bugs are there to remind us that we are just humans.
25th Mar 2019, 10:43 AM
Michael Williams
Michael Williams - avatar
+ 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
26th Mar 2019, 11:29 AM
Lord Krishna
Lord Krishna - avatar
+ 2
Useful, thx
26th Mar 2019, 11:32 AM
BinaryEden
BinaryEden - avatar
+ 1
Sonic. Humans or bugs?
26th Mar 2019, 10:55 AM
Michael Williams
Michael Williams - avatar
+ 1
"certain combinations of input at certain times can break your program" Lord Krishna Can explain it more plz ?
26th Mar 2019, 11:06 AM
BinaryEden
BinaryEden - avatar