Interestingly, article fails to mention John Harrison [1], the inventor of marine chronometer. There was a rivalry between Maskelyne and him, one considering lunar positions to be the best method to solve longitude problem, and the other believing that the accurate timepiece is the answer. You may say that Harriosn won at the end, but it was kind of bitter victory.
Article quotes praise from Cook, but on next voyages Cook also tested chronometers made according to Harrison's design and praised them as well.
If you are into this stuff there is a book "Longitude" by Dava Sobel.