Can we really determine the best program ever? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 30

Can we really determine the best program ever?

Suppose, I say that this is the most efficient or the best way to do a particular problem;but then some one presented an even shorter and elegant way to solve the same problem. Therefore is there any " best way" to solve a problem?

22nd Dec 2017, 12:45 PM
Navoneel
5 Answers
+ 19
For some, yes. The shortest distance between two coordinates would be a straight line. But for most, no. We may one day be able to warp through wormholes to shorten that distance even further. Putting it short, there are only best solutions for the current point in this timeline. If we take future solutions which have not been discovered into consideration, then there will be no telling to what we can achieve. We can say that the shortest time taken to solve a problem would approach zero, when the effectiveness and efficiency of an algorithm increases infinitely. Yet again, there may be algorithms to prevent said problems from existing in the first place.
22nd Dec 2017, 12:55 PM
Hatsy Rei
Hatsy Rei - avatar
+ 6
we cant even determine wether or not an algorithm is correct.
22nd Dec 2017, 1:44 PM
Oma Falk
Oma Falk - avatar
+ 3
Basically Hatsy is saying the answer to the question is relative, much like the famous theory of relatively
2nd Feb 2018, 12:24 AM
DeleteThisAccount
+ 2
Theory of relativity** :P
2nd Feb 2018, 7:45 AM
Tom Shaver
Tom Shaver - avatar
+ 1
In striving for the best we'll get better and better (while learning more and more) but best is a continual journey :-).
14th Nov 2018, 3:50 PM
Ethan