Bostoo Yook Yarters

I’ll never forget that amazing season when the Bostoo Yook Yarters won the 2013 World series.

For anyone worried AI will replace all of us. Courtesy of Gemini for the prompt “create an infographic of all the World Series winners since 1986” I dare you to find 10 things that are right.

[image or embed]

— Mordy Oberstein (@mordyoberstein.bsky.social) December 16, 2025 at 1:45 PM

Crummy Code from Copilot

While doing a Bing search for c++ polynomial, Copilot generates the following code:

Note the method, Polynomial::evaluate(double x) const

While this will calculate the correct value, this naïve implementation is not a good way to evaluate a polynomial.

A better implementation would be:

Each iteration has one addition and one multiplication, while the Copilot version has one addition, one multiplication, and one call to std::pow per iteration. Also, the good version has no <cmath> dependency.

Copilot will generate something like the “better version” if one searches for c++ polynomial horner’s method. Since Horner’s Method is the preferred way to evaluate polynomials, one has to wonder why Copilot generates a not very good naïve implementation by default.

Here’s the full source of the “better version”:

See also: Polynomial

CLion Is Now Free for Non-Commercial Use

Exciting news for C and C++ developers! @clion_ide just joined the club of WebStorm, Rider, and RustRover and is free for non-commercial use. Learning, developing open-source projects, creating content, and hobby development are now more accessible than ever before! More details: jb.gg/cl_free_bs

[image or embed]

— JetBrains (@jetbrains.com) May 7, 2025 at 7:47 AM

Link: CLion

All trademarks and copyrights on this page are owned by their respective owners. Quotes from linked articles are probably the property of the publications linked or the property of the person(s) quoted. The rest © 2001- 2026 by James A. Chappell