Close Menu
Ztoog
    What's Hot
    Technology

    The race to be the fastest charging phone in the US has a new challenger

    Crypto

    Bitwise Seeks Approval for Ethereum ETF Amid SEC Uncertainty

    AI

    A conversation with OpenAI’s first artist in residence

    Important Pages:
    • About Us
    • Contact us
    • Privacy Policy
    • Terms & Conditions
    Facebook X (Twitter) Instagram Pinterest
    Facebook X (Twitter) Instagram Pinterest
    Ztoog
    • Home
    • The Future

      OPPO launches A5 Pro 5G: Premium features at a budget price

      How I Turn Unstructured PDFs into Revenue-Ready Spreadsheets

      Is it the best tool for 2025?

      The clocks that helped define time from London’s Royal Observatory

      Summer Movies Are Here, and So Are the New Popcorn Buckets

    • Technology

      What It Is and Why It Matters—Part 1 – O’Reilly

      Ensure Hard Work Is Recognized With These 3 Steps

      Cicada map 2025: Where will Brood XIV cicadas emerge this spring?

      Is Duolingo the face of an AI jobs crisis?

      The US DOD transfers its AI-based Open Price Exploration for National Security program to nonprofit Critical Minerals Forum to boost Western supply deals (Ernest Scheyder/Reuters)

    • Gadgets

      Maono Caster G1 Neo & PD200X Review: Budget Streaming Gear for Aspiring Creators

      Apple plans to split iPhone 18 launch into two phases in 2026

      Upgrade your desk to Starfleet status with this $95 USB-C hub

      37 Best Graduation Gift Ideas (2025): For College Grads

      Backblaze responds to claims of “sham accounting,” customer backups at risk

    • Mobile

      Samsung Galaxy S25 Edge promo materials leak

      What are people doing with those free T-Mobile lines? Way more than you’d expect

      Samsung doesn’t want budget Galaxy phones to use exclusive AI features

      COROS’s charging adapter is a neat solution to the smartwatch charging cable problem

      Fortnite said to return to the US iOS App Store next week following court verdict

    • Science

      Nothing is stronger than quantum connections – and now we know why

      Failed Soviet probe will soon crash to Earth – and we don’t know where

      Trump administration cuts off all future federal funding to Harvard

      Does kissing spread gluten? New research offers a clue.

      Why Balcony Solar Panels Haven’t Taken Off in the US

    • AI

      Hybrid AI model crafts smooth, high-quality videos in seconds | Ztoog

      How to build a better AI benchmark

      Q&A: A roadmap for revolutionizing health care through data-driven innovation | Ztoog

      This data set helps researchers spot harmful stereotypes in LLMs

      Making AI models more trustworthy for high-stakes settings | Ztoog

    • Crypto

      Ethereum Breaks Key Resistance In One Massive Move – Higher High Confirms Momentum

      ‘The Big Short’ Coming For Bitcoin? Why BTC Will Clear $110,000

      Bitcoin Holds Above $95K Despite Weak Blockchain Activity — Analytics Firm Explains Why

      eToro eyes US IPO launch as early as next week amid easing concerns over Trump’s tariffs

      Cardano ‘Looks Dope,’ Analyst Predicts Big Move Soon

    Ztoog
    Home » Real World Programming with ChatGPT – O’Reilly
    Technology

    Real World Programming with ChatGPT – O’Reilly

    Facebook Twitter Pinterest WhatsApp
    Real World Programming with ChatGPT – O’Reilly
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp

    This submit is a quick commentary on Martin Fowler’s submit, An Example of LLM Prompting for Programming. If all I do is get you to learn that submit, I’ve performed my job. So go forward–click on the hyperlink, and are available again right here in order for you.

    There’s a variety of pleasure about how the GPT fashions and their successors will change programming. That pleasure is merited. But what’s additionally clear is that the method of programming doesn’t change into “ChatGPT, please build me an enterprise application to sell shoes.” Although I, alongside with many others, have gotten ChatGPT to put in writing small packages, generally accurately, generally not, till now I haven’t seen anybody show what it takes to do skilled growth with ChatGPT.



    Learn sooner. Dig deeper. See farther.

    In this submit, Fowler describes the method Xu Hao (Thoughtworks’ Head of Technology for China) used to construct a part of an enterprise utility with ChatGPT. At a look, it’s clear that the prompts Xu Hao makes use of to generate working code are very lengthy and complicated. Writing these prompts requires vital experience, each in using ChatGPT and in software program growth. While I didn’t rely strains, I might guess that the whole size of the prompts is bigger than the variety of strains of code that ChatGPT created.

    First, observe the general technique Xu Hao makes use of to put in writing this code. He is utilizing a method known as “Knowledge Generation.” His first immediate could be very lengthy. It describes the structure, targets, and design tips; it additionally tells ChatGPT explicitly to not generate any code. Instead, he asks for a plan of motion, a collection of steps that may accomplish the objective. After getting ChatGPT to refine the duty record, he begins to ask it for code, one step at a time, and making certain that step is accomplished accurately earlier than continuing.

    Many of the prompts are about testing: ChatGPT is instructed to generate assessments for every operate that it generates. At least in principle, take a look at pushed growth (TDD) is extensively practiced amongst skilled programmers. However, most individuals I’ve talked to agree that it will get extra lip service than precise follow. Tests are usually quite simple, and infrequently get to the “hard stuff”: nook instances, error circumstances, and the like. This is comprehensible, however we must be clear: if AI programs are going to put in writing code, that code should be examined exhaustively. (If AI programs write the assessments, do these assessments themselves must be examined? I received’t try and reply that query.) Literally everybody I do know who has used Copilot, ChatGPT, or another software to generate code has agreed that they demand consideration to testing. Some errors are simple to detect; ChatGPT usually calls “library functions” that don’t exist. But it could possibly additionally make way more refined errors, producing incorrect code that appears proper if it isn’t examined and examined rigorously.

    It is unimaginable to learn Fowler’s article and conclude that writing any industrial-strength software program with ChatGPT is straightforward. This specific downside required vital experience, a superb understanding of what Xu Hao needed to perform, and the way he needed to perform it. Some of this understanding is architectural; a few of it’s concerning the large image (the context by which the software program might be used); and a few of it’s anticipating the little issues that you simply all the time uncover once you’re writing a program, the issues the specification ought to have mentioned, however didn’t. The prompts describe the know-how stack in some element. They additionally describe how the elements needs to be applied, the architectural sample to make use of, the several types of mannequin which are wanted, and the assessments that ChatGPT should write. Xu Hao is clearly programming, however it’s programming of a distinct kind. It’s clearly associated to what we’ve understood as “programming” because the Fifties, however with out a formal programming language like C++ or JavaScript. Instead, there’s way more emphasis on structure, on understanding the system as an entire, and on testing. While these aren’t new expertise, there’s a shift within the expertise which are vital.

    He additionally has to work inside the limitations of ChatGPT, which (a minimum of proper now) offers him one vital handicap. You can’t assume that data given to ChatGPT received’t leak out to different customers, so anybody programming with ChatGPT needs to be cautious to not embody any proprietary data of their prompts.

    Was growing with ChatGPT sooner than writing the JavaScript by hand? Possibly–most likely. (The submit doesn’t inform us how lengthy it took.) Did it enable Xu Hao to develop this code with out spending time trying up particulars of library capabilities, and so forth.? Almost actually. But I believe (once more, a guess) that we’re taking a look at a 25 to 50% discount within the time it will take to generate the code, not 90%. (The article doesn’t say what number of instances Xu Hao needed to attempt to get prompts that may generate working code.) So: ChatGPT proves to be a great tool, and little doubt a software that may get higher over time. It will make builders who discover ways to use it nicely simpler; 25 to 50% is nothing to sneeze at. But utilizing ChatGPT successfully is unquestionably a realized talent. It isn’t going to remove anybody’s job. It could also be a risk to individuals whose jobs are about performing a single job repetitively, however that isn’t (and has by no means been) the best way programming works. Programming is about making use of expertise to unravel issues. If a job must be performed repetitively, you utilize your expertise to put in writing a script and automate the answer. ChatGPT is simply one other step on this route: it automates trying up documentation and asking questions on StackOverflow. It will shortly change into one other important software that junior programmers might want to be taught and perceive. (I wouldn’t be shocked if it’s already being taught in “boot camps.”)

    If ChatGPT represents a risk to programming as we at the moment conceive it, it’s this: After growing a big utility with ChatGPT, what do you will have? A physique of supply code that wasn’t written by a human, and that no person understands in depth. For all sensible functions, it’s “legacy code,” even when it’s just a few minutes previous. It’s much like software program that was written 10 or 20 or 30 years in the past, by a workforce whose members not work on the firm, however that must be maintained, prolonged, and (nonetheless) debugged. Almost everybody prefers greenfield tasks to software program upkeep. What if the work of a programmer shifts much more strongly in direction of upkeep? No doubt ChatGPT and its successors will finally give us higher instruments for working with legacy code, no matter its origin. It’s already surprisingly good at explaining code, and it’s simple to think about extensions that may enable it to discover a big code base, presumably even utilizing this data to assist debugging. I’m positive these instruments might be constructed–however they don’t exist but. When they do exist, they are going to actually lead to additional shifts within the expertise programmers use to develop software program.

    ChatGPT, Copilot, and different instruments are altering the best way we develop software program. But don’t make the error of pondering that software program growth will go away. Programming with ChatGPT as an assistant could also be simpler, however it isn’t easy; it requires a radical understanding of the targets, the context, the system’s structure, and (above all) testing. As Simon Willison has said, “These are tools for thinking, not replacements for thinking.”

    Share. Facebook Twitter Pinterest LinkedIn WhatsApp

    Related Posts

    Technology

    What It Is and Why It Matters—Part 1 – O’Reilly

    Technology

    Ensure Hard Work Is Recognized With These 3 Steps

    Technology

    Cicada map 2025: Where will Brood XIV cicadas emerge this spring?

    Technology

    Is Duolingo the face of an AI jobs crisis?

    Technology

    The US DOD transfers its AI-based Open Price Exploration for National Security program to nonprofit Critical Minerals Forum to boost Western supply deals (Ernest Scheyder/Reuters)

    Technology

    The more Google kills Fitbit, the more I want a Fitbit Sense 3

    Technology

    Sorry Shoppers, Amazon Says Tariff Cost Feature ‘Is Not Going to Happen’

    Technology

    Vibe Coding, Vibe Checking, and Vibe Blogging – O’Reilly

    Leave A Reply Cancel Reply

    Follow Us
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    Top Posts
    Crypto

    Bitcoin Advocate US Presidential Candidate Drops Out Of Contention

    Bitcoin proponent and Miami Mayor Francis Suarez declared his White House candidacy with situations, vowing…

    Gadgets

    Samsung Health Introduces Medications Tracking Feature

    Samsung Electronics has launched a brand new Medications monitoring characteristic within the Samsung Health app,…

    Technology

    Mark Zuckerberg’s letter about Facebook censorship and Biden is not what it seems

    This week Mark Zuckerberg despatched Rep. Jim Jordan (R-OH) a letter outlining how the Biden…

    AI

    The Fingerprint of ChatGPT: DNA-GPT is a GPT-Generated Text Detection Method Using Divergent N-Gram Analysis

    ChatGPT has grow to be a necessary half of our every day lives at this…

    Science

    A commander’s lament on the loss of a historic SpaceX rocket

    Enlarge / One of the most historic rockets in SpaceX’s fleet toppled over Christmas Day…

    Our Picks
    Gadgets

    More than a transmitter, this versatile link brings you wireless freedom for only $39.99

    Technology

    AI is making Meta's apps basically unusable, as the company adds Meta AI everywhere and viral user-generated AI images proliferate on Facebook and Instagram (Scott Nover/Fast Company)

    AI

    This AI Paper from China Introduces ‘AGENTBOARD’: An Open-Source Evaluation Framework Tailored to Analytical Evaluation of Multi-Turn LLM Agents

    Categories
    • AI (1,483)
    • Crypto (1,745)
    • Gadgets (1,796)
    • Mobile (1,839)
    • Science (1,854)
    • Technology (1,790)
    • The Future (1,636)
    Most Popular
    The Future

    The Future of CPaaS: AI and IoT Integration

    Science

    Data leak means anyone can see when astronauts urinate on the ISS

    Technology

    Apple’s next generation CarPlay allows auto manufacturers to license the OS

    Ztoog
    Facebook X (Twitter) Instagram Pinterest
    • Home
    • About Us
    • Contact us
    • Privacy Policy
    • Terms & Conditions
    © 2025 Ztoog.

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