Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Today’s NYT Connections: Sports Edition Hints and Answers for March 16, #539

    Nvidia GTC 2026 live coverage: All the news and updates as it happens

    Netflix’s ‘Frankenstein’ wins three Oscars, ‘KPop Demon Hunters’ wins two

    Facebook X (Twitter) Instagram
    • Artificial Intelligence
    • Business Technology
    • Cryptocurrency
    • Gadgets
    • Gaming
    • Health
    • Software and Apps
    • Technology
    Facebook X (Twitter) Instagram Pinterest Vimeo
    Tech AI Verse
    • Home
    • Artificial Intelligence

      What the polls say about how Americans are using AI

      February 27, 2026

      Tensions between the Pentagon and AI giant Anthropic reach a boiling point

      February 21, 2026

      Read the extended transcript: President Donald Trump interviewed by ‘NBC Nightly News’ anchor Tom Llamas

      February 6, 2026

      Stocks and bitcoin sink as investors dump software company shares

      February 4, 2026

      AI, crypto and Trump super PACs stash millions to spend on the midterms

      February 2, 2026
    • Business

      Salesforce tracks possible ShinyHunters campaign targeting its users

      March 15, 2026

      The team behind continuous batching says your idle GPUs should be running inference, not sitting dark

      March 13, 2026

      Met Office ‘supercomputing as a service’ one year old

      March 12, 2026

      Tech hiring evolves as candidates ask for AI compute alongside pay and perks

      March 11, 2026

      Oracle is spending billions on AI data centers as cash flow turns negative

      March 11, 2026
    • Crypto

      Banks Respond to Kraken’s Federal Reserve Access as Trump Sides with Crypto

      March 4, 2026

      Hyperliquid and DEXs Break the Top 10 — Is the CEX Era Ending?

      March 4, 2026

      Consensus Hong Kong 2026: The Institutional Turn 

      March 4, 2026

      New Crypto Mutuum Finance (MUTM) Reports V1 Protocol Progress as Roadmap Enters Phase 3

      March 4, 2026

      Bitcoin Short Sellers Caught Off Guard in New White House Move

      March 4, 2026
    • Technology

      Today’s NYT Connections: Sports Edition Hints and Answers for March 16, #539

      March 16, 2026

      Nvidia GTC 2026 live coverage: All the news and updates as it happens

      March 16, 2026

      Netflix’s ‘Frankenstein’ wins three Oscars, ‘KPop Demon Hunters’ wins two

      March 16, 2026

      Federal Right to Privacy Act – Draft legislation

      March 16, 2026

      Like a truffle pig for deals, I’ve sniffed out the top 55+ discounts in Amazon’s new Big Smile Sale

      March 16, 2026
    • Others
      • Gadgets
      • Gaming
      • Health
      • Software and Apps
    Check BMI
    Tech AI Verse
    You are at:Home»Technology»Deprecate Like You Mean It
    Technology

    Deprecate Like You Mean It

    TechAiVerseBy TechAiVerseDecember 11, 2025No Comments2 Mins Read4 Views
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp Email

    Deprecate Like You Mean It

    Seth Larson noticed that people don’t act on deprecation warnings. The
    response.getheader method in urllib has been deprecated since 2023 because
    the response.headers dictionary is what should be used instead. When the
    method was eventually removed, lots of code broke.


    Deprecation warnings try to solve the fat step function associated with
    backwards-incompatible api changes, by allowing people to schedule the
    maintenance burden, rather than having it imposed on them suddenly all at once.
    The problem is the economic cost of waiting is not tangible. You can ignore
    the deprecation warning right up until the api change happens, and then it
    becomes very expensive to delay it further.

    People aren’t great at planning for sudden changes.


    What if we intentionally made deprecated functions return the wrong result …
    sometimes? Every time it intentionally returns the wrong result, it logs the
    deprecation warning.1 Users that are very sensitive to the correctness of the
    results might want to swap the wrong result for an artificial delay instead.

    Initially, it should never return the wrong result. But after it’s been
    deprecated for a few months, it should start to return the wrong result once
    every million invocations, say. That would probably not trigger anyone’s
    midnight pager, but it would make it clear that relying on the deprecated
    functionality is a bug lurking in the code.

    Then after a few more months, turn it up to once every ten thousand invocations.
    It’s probably going to start to hurt a little to delay the maintenance. After a
    year, make it return the wrong thing once every thousand invocations. At this
    point, users can only delay maintenance if it’s an unimportant auxiliary usage.
    And finally, as we bump up into the deadline, it should return the wrong thing
    every other invocation. Now it’s practically useless, just like when it is
    removed.

    This makes the deprecated parts of the api increasingly buggy until they’re
    removed, and makes the economic tradeoff of when to schedule the maintenance
    more immediate to users.


    In case the sarcasm isn’t clear, it’s better to leave the warts.

    Share. Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Telegram Email
    Previous ArticleDisney’s $1B Deal With OpenAI Will Bring Iconic Characters to Sora AI Videos
    Next Article Show HN: GPULlama3.java Llama Compilied to PTX/OpenCL Now Integrated in Quarkus
    TechAiVerse
    • Website

    Jonathan is a tech enthusiast and the mind behind Tech AI Verse. With a passion for artificial intelligence, consumer tech, and emerging innovations, he deliver clear, insightful content to keep readers informed. From cutting-edge gadgets to AI advancements and cryptocurrency trends, Jonathan breaks down complex topics to make technology accessible to all.

    Related Posts

    Today’s NYT Connections: Sports Edition Hints and Answers for March 16, #539

    March 16, 2026

    Nvidia GTC 2026 live coverage: All the news and updates as it happens

    March 16, 2026

    Netflix’s ‘Frankenstein’ wins three Oscars, ‘KPop Demon Hunters’ wins two

    March 16, 2026
    Leave A Reply Cancel Reply

    Top Posts

    Ping, You’ve Got Whale: AI detection system alerts ships of whales in their path

    April 22, 2025720 Views

    Lumo vs. Duck AI: Which AI is Better for Your Privacy?

    July 31, 2025305 Views

    Wired Headphones Are Making A Comeback, And We Have Gen Z To Thank

    July 22, 2025213 Views

    6.7 Cummins Lifter Failure: What Years Are Affected (And Possible Fixes)

    April 14, 2025178 Views
    Don't Miss
    Technology March 16, 2026

    Today’s NYT Connections: Sports Edition Hints and Answers for March 16, #539

    Today’s NYT Connections: Sports Edition Hints and Answers for March 16, #539Looking for the most…

    Nvidia GTC 2026 live coverage: All the news and updates as it happens

    Netflix’s ‘Frankenstein’ wins three Oscars, ‘KPop Demon Hunters’ wins two

    Federal Right to Privacy Act – Draft legislation

    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    About Us
    About Us

    Welcome to Tech AI Verse, your go-to destination for everything technology! We bring you the latest news, trends, and insights from the ever-evolving world of tech. Our coverage spans across global technology industry updates, artificial intelligence advancements, machine learning ethics, and automation innovations. Stay connected with us as we explore the limitless possibilities of technology!

    Facebook X (Twitter) Pinterest YouTube WhatsApp
    Our Picks

    Today’s NYT Connections: Sports Edition Hints and Answers for March 16, #539

    March 16, 20264 Views

    Nvidia GTC 2026 live coverage: All the news and updates as it happens

    March 16, 20265 Views

    Netflix’s ‘Frankenstein’ wins three Oscars, ‘KPop Demon Hunters’ wins two

    March 16, 20264 Views
    Most Popular

    Bench is charging people for services they already paid for, some customers say

    March 15, 20250 Views

    Major strike by Fujitsu staff at ‘cash cow’ HMRC

    March 15, 20250 Views

    These Laptop Stands Run My Household, and Life Is Better for It

    March 16, 20250 Views
    © 2026 TechAiVerse. Designed by Divya Tech.
    • Home
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions

    Type above and press Enter to search. Press Esc to cancel.