This article explains how AI‑generated code can be fast but unreliable, and demonstrates how applying Test‑Driven Development (TDD) with concrete Python examples catches errors like stack overflows, edge‑case failures, and security issues, ensuring robust, maintainable software.
Claude 3.7 Sonnet demonstrates unprecedented programming speed, realistic physics simulation, advanced reasoning on misleading benchmarks, and strong productivity tools, while Anthropic secures a $3.5 billion funding round, making it a standout AI model in both technical capability and market impact.
This article walks through creating a fully automated Spring Boot and MyBatis code generator using Freemarker templates, detailing each step from extracting table metadata to generating DAO, service, controller, and entity classes, and shows how a single-table CRUD can be produced in seconds.
This article shares a step‑by‑step account of using AI tools such as Trae, Claude 3.5 Sonnet, and GPT‑4o to design, generate, and refine a Vue‑based frontend website within a single day, highlighting core strategies, best practices, and common pitfalls encountered along the way.
This article documents how the author leveraged the Trae AI‑powered IDE to quickly create a three‑page WeChat mini‑program, detailing project setup, code generation, interactive AI assistance, and the resulting development experience.
This article explores how large language models can be leveraged to automate and accelerate frontend development tasks, covering prompt engineering, repo‑level code generation, quality factors, hallucination mitigation, knowledge‑base integration, and practical strategies for improving developer productivity.
KwaiCoder-23BA4-v1 is a 23B wide MoE code‑completion model that achieves state‑of‑the‑art performance on HumanEval, BigCodeBench and Fill‑in‑Middle benchmarks by using high‑quality data, a cost‑effective training pipeline that combines model pruning, knowledge distillation and fine‑grained merging, and extensive ablation studies.
This guide explains Swift 5.9 macros—both attached and freestanding—detailing how the compiler expands them using SwiftSyntax’s AST manipulation, walks through creating and declaring macros, and demonstrates a PeerMacro that automatically generates async counterparts for completion‑handler functions, reducing boilerplate and improving code clarity.
Facing the challenge of maintaining four codebases for Taobao’s post‑purchase information flow, the team leveraged AI‑driven code generation, prompt engineering, and RAG to automate template conversion from DX to Weex, dramatically cutting development cycles, reducing manual effort, and improving monitoring and stability across Android, iOS, and HarmonyOS.
This article demonstrates how Lombok’s advanced annotations such as @RequiredArgsConstructor(onConstructor=@__(@Autowired)), @Delegate, @Cleanup, and the combination of @Builder with @Singular can automatically generate Spring‑compatible constructors, delegate methods, manage resources, and build immutable objects, thereby reducing boilerplate and improving code readability in Java backend development.
In the AI era, Qunar's front‑end tech director presents how D2C and large‑model‑based code generation dramatically improve front‑end productivity across three business scenarios, achieving up to 55% automated code coverage for both C‑end and B‑end applications.
This article introduces EnumHelper, an IntelliJ IDEA plugin that automatically generates common enum utility methods for Java developers, explains how to install and use it, and shares detailed troubleshooting tips and core source code to avoid repetitive boilerplate.
This article evaluates the Cursor AI coding assistant, describing its context‑aware indexing, Composer panel, and code‑generation features, while outlining practical scenarios such as Q&A, test creation, language conversion, and prototype development, and discussing its inherent randomness, domain‑knowledge gaps, and best‑practice recommendations for developers.
Explore how Lombok’s powerful annotations—@onX, @Delegate, @Cleanup, @Singular, and @Builder—can dramatically simplify Java code, enable seamless Spring dependency injection, manage resources automatically, and streamline object construction, while highlighting best practices and potential pitfalls for maintainable backend development.
This article introduces an online SQL-to-ER diagram tool, explains its advantages, provides step‑by‑step usage instructions, showcases example SQL and Java code for parsing and generating ER diagrams, and discusses the underlying design‑pattern architecture such as Strategy, Factory, Dependency Injection, and Singleton.
This article details the Vision animation platform that underpins Kuaishou’s large‑scale online events, covering its overall architecture, core value, existing production and delivery challenges, evolution roadmap, key runtime and format‑conversion features, as well as dynamic replacement and code‑generation capabilities.
This guide walks developers through the entire lifecycle of Qwen2.5‑Coder—covering model sizes, training token expansion, resource requirements, fine‑tuning with SFT/DPO, evaluation on custom and public datasets, and one‑click deployment and compression on Alibaba Cloud's PAI‑QuickStart platform.
This article explains how ArchGuard’s Architecture Analyzer extracts domain and business knowledge from microservice codebases, integrates generative AI to produce structured documentation, and provides practical CLI usage, architecture models, and code‑review strategies for modern software engineering teams.
This article introduces an open‑source tool that automatically generates all Java business code—including entity classes, DAO interfaces, SQL statements, service implementations, and controllers—for new database tables, dramatically reducing the hours spent on repetitive CRUD scaffolding.
This article introduces the Fluent Mybatis ORM framework, explains its design advantages, demonstrates how to implement a complex student‑score aggregation query using Fluent Mybatis, native MyBatis and MyBatis‑Plus, and provides end‑to‑end code examples for entity generation, configuration, and CRUD testing.
This article introduces a Spring Boot code‑generation tool that automatically creates database tables, entity classes, DAO interfaces, service layers and controllers, turning weeks of manual CRUD development for dozens of tables into a matter of minutes, and explains its design, templates, dynamic parameters and usage.
The article argues that depending on AI to write code can deprive developers of learning opportunities, cause skill decay, and ultimately make them vulnerable to being replaced, while acknowledging that some may prefer code review or embrace a post‑work future.
This article demonstrates how Lombok annotations such as @RequiredArgsConstructor, @Delegate, @Cleanup, @Singular, and @Builder can be combined with Spring components to reduce boilerplate, automatically inject dependencies, manage resources, and build immutable objects, providing practical code examples and usage guidelines.
This article introduces Playwright‑Python, a powerful cross‑platform browser automation library, explains how to install it with pip, describes its support for Chromium, Firefox and WebKit, and shows how to use the codegen command to record actions and generate scripts with various options.
Swift 5.9’s new macro system lets developers generate type‑safe code at compile time via external plug‑ins, using role‑based declarations such as @attached and @freestanding to create properties, extensions, or warnings, thereby reducing repetitive boiler‑plate and improving safety in large‑scale architectures like MVVP modules and exposure frameworks.
By binding a Vue single‑file component’s AST to a visual UI, this project parses templates with node‑html‑parser, transforms scripts via Babel, and processes styles with standard loaders, allowing developers to edit component properties visually, automatically regenerate synchronized source code, and preview changes, with a prototype demo and planned drag‑and‑drop, styling, state, AI, and CI/CD extensions.
The article introduces Fluent Mybatis, a compile‑time code‑generating ORM that merges Mybatis‑Plus, Dynamic SQL and JPA features, eliminates XML mappers, offers a fluent, type‑safe Java API, and demonstrates through concise examples how it reduces boilerplate compared with native Mybatis and Mybatis‑Plus.
This article examines the limitations of using JPA for complex queries in SpringBoot projects and demonstrates how MyBatis‑Flex can simplify conditional queries, partial field selection, Kotlin integration, and code generation through clear code examples and practical guidance.
This guide explains how to install the JetBrains AI Assistant plugin, outlines its code‑generation and refactoring features, and provides a practical workaround for mainland China users by adjusting account region, configuring system and IDE proxies, and starting AI‑driven conversations.
This article introduces MapStruct, a compile‑time Java bean‑mapping framework, and demonstrates advanced features such as expression mapping, qualifiedByName for custom conversions, null‑value handling strategies, and the use of decorators to extend mapper behavior, complete with code examples.
This article introduces the rapid rise of large language models, highlights the advantages of the GLM-4-Plus model—including superior language understanding, long‑text handling, and enhanced reasoning—explains how to obtain API credentials, demonstrates request parameters and curl examples, and showcases diverse real‑world use cases such as code generation, social‑media copy, travel planning, and interview question creation.
This article walks through the iterative design of an Ant Design form component, starting with a simple name field, then adding a randomly generated code field, making it editable, and finally implementing a copyable code input with reusable prefix‑text and suffix‑icon components, while comparing implementation approaches.
This guide explains how to integrate the mybatis-plus-generator-ui library into a Spring Boot project, configure database connections, launch the web UI, and use its customizable templates and naming converters to generate Entity, Mapper, Service, and Controller classes for multiple databases with a single click.
This article walks through how a compiler turns human‑readable source code into binary machine instructions, covering tokenization, parsing, abstract syntax tree construction, code generation, optimization, and linking, while highlighting the role of LLVM as a portable backend.
The article details how Taobao’s AI team automated repetitive UI tasks for B2C front‑end development, achieving a 15 % efficiency gain across five projects, and outlines key challenges—prompt cost, low OCR accuracy, hallucinations, excess nodes, and customization variance—along with practical solutions such as a dedicated evaluation platform, OCR translation, model upgrades, prompt segmentation, output simplification, and a reusable component library.
This article explores Rust's macro_rules! system, demonstrating how to create reusable, flexible configuration structures with default values, deprecation handling, and custom validation, while providing step‑by‑step code examples and highlighting the benefits for maintainability and code reuse.
This article explains how a programmer's source code is transformed into CPU‑executable machine instructions through lexical analysis, parsing into an abstract syntax tree, optimization, target‑specific code generation, and linking, highlighting the role of compilers and tools like LLVM.
This article reviews four ACL 2024 papers authored by Meituan’s research team—covering training cost reduction, speculative decoding, code generation optimization, and instruction fine‑tuning—while also announcing a live sharing session at the conference.
This article explains why manual property copying in layered Java applications is inefficient, compares runtime copiers like BeanUtils and BeanCopier, and demonstrates how MapStruct provides compile‑time, type‑safe, high‑performance bean mapping with support for deep copy, collection mapping, field ignoring, and Lombok integration.
This 2024 guide reviews the most powerful AI coding assistants—from code completion and generation tools like GitHub Copilot and Claude to design‑to‑code converters and security analyzers—showcasing how they accelerate development, improve code quality, and reshape collaborative programming.
This article explains how the TolyUI Flutter UI framework automates the parsing of component demo files and generates corresponding Dart code using annotations, regular expressions, and a command‑line tool, thereby simplifying maintenance and improving development efficiency for mobile applications.
Alibaba Cloud’s Tongyi Lingma code model achieved the highest 4+ rating in the trusted AI code‑model evaluation, and in an interview its product lead explains the model’s capabilities, the rigorous assessment process, real‑world enterprise benefits, and future development plans.
This tutorial demonstrates how to set up a simple MySQL database, create a Spring Boot project, add Mybatis-Plus dependencies, install the MybatisX plugin, configure the connection, generate entity, mapper, service, and controller code, and verify the integration with a sample REST endpoint.
This article explores how code large models and AIGC are transforming software development, covering their impact on developer skills, collaboration, cost control, the evolution of Copilot and Agent modes, multi‑agent architectures, retrieval‑augmented generation, and future directions for intelligent development tools.
This article explains how AI-powered code generators create high‑quality code, outlines their capabilities such as language translation and documentation assistance, discusses safety and copyright concerns highlighted by research, and emphasizes that while popular, these tools should augment rather than replace developers.
This article explains what Kotlin Symbol Processing (KSP) is, why it outperforms KAPT, how to migrate existing projects, the API it exposes for code generation, and how to leverage incremental compilation to dramatically reduce Kotlin build times.
This article introduces a self‑built tool that automatically generates database, service, DAO, and controller code for CRUD operations based on table definitions, explains its underlying template‑and‑parameter mechanism, demonstrates usage with a sample product table, and provides customizable templates and dynamic parameters for extensibility.
This article introduces Google Wire, a static‑analysis‑based dependency injection tool for Go, covering its key features, installation steps, core usage patterns—including defining dependencies, creating providers, generating code, and best practices such as modular management, interface abstraction, and testing with mock implementations.
A graduate student’s lab cut the time to process 150 GB of medical imaging data from one week for three people to two days for one person by using Baidu Comate’s AI‑driven code generation, annotation, and private‑knowledge enhancement features, achieving over nine‑fold productivity gains.
The article examines Baidu Marketing Service's AI‑native transformation using the Wenxin large model and Baidu Comate, detailing how real‑time code recommendations, open‑platform integration, and generative AI dramatically improve developer productivity, reduce coding time, and increase marketing ROI.
At the iTechClub summit, Baidu unveiled Comate Code Knowledge Enhancement 2.0—the nation’s first AI‑driven code assistant with real‑time web retrieval, over 10,000 built‑in GitHub repositories, API‑call generation, test case creation, and deep private‑doc understanding, now producing 27% of Baidu’s daily new code and topping VSCode and JetBrains plugin ratings.
This article explains the motivation, architecture, resource estimation, code generation algorithms, data modeling, database partitioning, caching strategies, and implementation details for building a scalable short URL system that handles billions of links and high QPS workloads.
After a year of using Project Lombok, the author reflects on how its annotations dramatically shrink boilerplate but also introduce version incompatibilities, hidden dependencies, reduced readability, tighter coupling, and technical debt, urging developers to weigh its benefits against long‑term maintenance risks.
Baidu Comate, built on the Wenxin large model and embedded as an IDE plugin, delivers a 24/7 AI coding assistant that helps developers think, write, and review code through context‑aware generation, error fixing, test case creation, rapid sub‑600 ms responses, fill‑in‑the‑middle editing, prompt‑engineered personalization, AutoWork automation, and an open Comate+ platform for extensibility.
AI code assistantAI-driven developmentBaidu Comate
Microsoft’s newly released TypeSpec language offers a lightweight, open‑source, API‑centric approach that lets developers describe APIs with minimal types, compile to OpenAPI, JSON Schema, and Protobuf, and leverage modern tooling for faster, more reusable code.
This article showcases several handy Lombok annotations—@onX for custom constructor injection, @Delegate for method delegation, @Cleanup for automatic resource release, the @Singular/@Builder combo for fluent object creation, and @With for immutable copies—illustrating their usage with Spring and Java code examples while warning against overuse.
This article introduces MyBatisX, an IDEA plugin that streamlines MyBatis development with navigation, GUI‑based code generation, customizable templates, JPA‑style method hints, and icon settings, providing step‑by‑step instructions and visual examples to enhance backend productivity.
This article explains several powerful Lombok annotations—including @onX, @Delegate, @Cleanup, @Builder with @Singular, and @With—showing how they simplify Spring‑based Java code through automatic constructor generation, method delegation, resource management, and fluent builders, while also warning against overuse.
This article introduces the latexify-py Python library for converting Python functions into LaTeX mathematical expressions, covering installation, version checking, example code using decorators, and displaying the generated LaTeX output, with screenshots and links for further reference.
This article explains how to use PHP functions and open‑source libraries to generate QR code images and decode them back into text, providing step‑by‑step code examples for both creation and decoding processes.
This tutorial walks through setting up a simple Spring Boot project, adding MyBatis‑Plus dependencies, configuring MybatisX in IntelliJ IDEA, generating entity, mapper, service, and controller code, and handling common connection issues, providing a complete end‑to‑end example of rapid MyBatis development.
Google has introduced the CodeGemma series, expanding its Gemma AI models with new variants optimized for code generation and reasoning, featuring 2B‑7B parameter models trained on 500 billion tokens, delivering full‑code block generation, strong benchmark results, and availability on Kaggle, Hugging Face, and Vertex AI.
This article introduces TypeSpec, a lightweight, extensible language for describing REST, OpenAPI, gRPC and other APIs, outlines its key features, demonstrates how to generate OpenAPI, JSON Schema and Protobuf files, and provides step‑by‑step instructions for installing the compiler, setting up the VS Code extension, creating a project, and compiling a sample service.
This article explains the unconventional Go switch without an expression, shows how it works like ‘switch true’, compares it with equivalent if‑else logic, examines the generated assembly, and discusses when this compact pattern is useful for prefix‑based checks.
This tutorial introduces the EasyCode IntelliJ IDEA plugin, explains how to install it, connect a database, configure generation settings, and automatically produce Java CRUD components such as entities, DAOs, services, and controllers, concluding with integration steps in a Spring Boot application.
This article showcases clever Lombok tricks—including @onConstructor, @Delegate, @Cleanup, @Singular, @Builder, and @With—demonstrating how they simplify Java code, improve readability, and integrate with Spring for dependency injection while warning against overuse.
The article examines the evolution of AIGC, outlines Baidu’s Comate AI coding assistant, analyzes its underlying technologies and internal adoption, and explores how AI-driven code generation can boost developer efficiency across front‑end, back‑end, and multi‑language projects.
The article examines Jensen Huang’s claim that AI will make programming obsolete, discusses existing AI coding tools, highlights their limitations, and argues that human expertise in design, reasoning, and error‑checking remains essential for software development.
The article examines why large language models (LLMs) cannot fully replace human programmers, compares major models like Gemma, Code Llama, GPT‑4 and Claude, discusses trust and copyright concerns, and explores how smaller, specialized LLMs may shape the future of software development.
StarCoder2, the latest open-source large language model from ServiceNow, Hugging Face, and NVIDIA, offers three sizes—30B, 70B, and 150B parameters—delivering performance comparable to the original 150B StarCoder while being more efficient and freely accessible under the BigCode Open RAIL‑M license.
This article reviews the 2023 surge of large language models in software engineering, evaluates their current code generation, testing, and knowledge‑query capabilities, highlights persistent challenges in design and maintenance, and proposes concrete recommendations for advancing toward higher‑level intelligent development.
Generative AILarge Language ModelsSoftware Engineering
This article explores how generative AI is integrated into the AutoDev tool to add ArkTS language support, automatically generate ArkUI pages, and migrate existing Android, iOS, and mini‑program code to HarmonyOS, while discussing technical challenges and future improvements.
This article explains JD's design‑to‑code platform that leverages AI to automatically transform design drafts into front‑end code, detailing the typical frontend workflow, the platform's capabilities and limitations, and how it improves development productivity for financial app teams.
The article explores how a developer generated billions of if‑statements in C to decide odd or even for 32‑bit numbers, scaling the approach with Python‑generated code, custom assembly, memory‑mapped binaries, and discusses the practical limits and performance of such an extreme solution.
This article introduces PlantUML, explains how to install its plugins for IDEs, demonstrates various diagram types such as activity, class, component, and sequence, and provides a practical code example for modeling authentication flows, making it a comprehensive guide for creating UML diagrams efficiently.
This article introduces Baidu Comate, an AI-powered coding assistant built on the Wenxin model, explains how to install it, demonstrates its real-time code completion, comment generation, test creation, and optimization features across multiple languages and IDEs, and highlights its benefits for developers.
This article introduces the MyBatis‑Plus Generator UI, a highly customizable web‑based code generation framework that supports multiple databases, explains its core features, provides step‑by‑step integration with Spring Boot, and demonstrates how to extend templates and configure naming conventions for efficient backend development.
This tutorial explains why BeanUtil.copyProperties is discouraged in Java projects and shows how to install and use the Bean Converter IDEA plugin to automatically generate setter injection code, streamlining bean mapping and improving development efficiency.
This article introduces a SpringBoot‑based code generation tool that automatically creates entity classes, DAO interfaces, service implementations, and controller code from database tables, explains its design principles, demonstrates usage with screenshots, and provides a comprehensive set of customizable templates and dynamic parameters for developers.
ZapCraft is a Laravel package that automates the creation of entity‑related files, enforces SOLID and DRY principles, and integrates with Laravel‑Modules to streamline backend development while providing ready‑made repositories, services, requests, resources, and API routes.
This article introduces MyBatis-Plus, an enhancement layer for MyBatis, and walks through its core features—non‑intrusive CRUD, Lambda queries, primary‑key strategies, automatic field filling, optimistic locking, pagination, logical delete, performance analysis, condition builders, and a code generator—providing complete code examples and configuration steps for Spring Boot integration.
This article introduces the MyBatis-Plus Generator UI, a web‑based tool that streamlines Spring Boot code generation for entities, mappers, services, and controllers, explains how to integrate it via Maven, configure databases, customize templates, and extend its functionality with custom name converters.
By inserting a custom AopTransformer into Flutter’s front‑end compilation pipeline before optimization, the proposed Dart AOP solution automatically injects logging hooks that capture full‑stack user interaction paths and business state without modifying business code, delivering zero‑impact, maintainable instrumentation for improved debugging and app stability.
CodeFuseEval is an enterprise‑grade, multi‑task benchmark that evaluates code‑generation large models across six languages and thousands of real‑world tasks using both objective metrics (pass@k, BLEU, CodeBLEU) and expert human review, with an open‑source framework, continuous dataset expansion, and a focus on correctness, efficiency, robustness, and service‑level quality.
This comprehensive guide explains what ASM is, its core and tree APIs, common use cases such as Spring AOP and JDK lambda support, and provides step‑by‑step code examples for generating interfaces and classes, modifying bytecode, adding timers, printing parameters, handling control structures, and using handy tools for inspection.
This article introduces Javaassist, a Java library for runtime bytecode manipulation, and demonstrates how to view compiled bytecode, add Maven dependencies, generate new classes, modify existing ones, insert fields and methods, and apply AOP‑style enhancements without changing source code.
This article explores how generative AI, integrated into intelligent IDEs, can accelerate the analysis, redesign, and migration of legacy systems by providing scenario‑driven code enhancement, automated testing, custom actions, and living documentation, while also addressing validation and customization challenges.
This document presents a series of real‑world examples showing how ChatGPT can assist cloud‑trading developers with backend tasks such as resource scheduling, regex interpretation, CSV generation, JavaBean‑to‑JSON conversion, Spring IoC learning, JSON formatting, Java 8 stream processing, and CI pipeline error analysis.
This article introduces QR codes, explains their diverse personal and social applications, and provides a step‑by‑step guide using Python’s segno library—including installation, creating simple and artistic QR codes for URLs, Wi‑Fi, vCards, and advanced in‑memory handling—along with creative ideas for everyday use.
This article introduces AI‑powered tools Copilot and Cursor, explains their capabilities such as code completion, diagram generation, refactoring, SQL optimization, batch processing, and unit‑test creation, and provides practical best‑practice tips, shortcut keys, and efficiency analysis for each stage of software development.
The article explains AutoDev 1.4.0’s new Team Prompts feature, showing how shared, code‑based prompts enable TDD workflows, living documentation, and integrated code review within IDEs, while also detailing prompt syntax, interaction modes, and open‑source resources for teams seeking AI‑driven productivity gains.
This article shows programmers how to harness ChatGPT beyond simple Q&A by using advanced prompting techniques for knowledge summarization, task decomposition, code reading, refactoring, generation, unit‑test creation, and plugin integration, turning AI into a practical development assistant.
Ant Group’s open‑source CodeFuse is a large‑scale code‑generation model featuring multi‑task fine‑tuning and 4‑bit quantization, achieving a 74.4% HumanEval score that outperforms GPT‑4, supporting tasks from code synthesis to bug fixing, and can be deployed on a single high‑end GPU.
This article introduces Lombok, explains how it leverages Java's annotation‑processing (JSR‑269) and abstract syntax tree (AST) modifications to generate boilerplate code at compile time, and provides a step‑by‑step guide to manually implement a @Getter annotation processor with full Maven project examples.
This article demonstrates how to use GPT to accelerate code development, automate script creation, and integrate AI-driven suggestions into real‑world business scenarios such as e‑commerce promotion, providing practical tips, example prompts, and ready‑to‑run code snippets.
This article explains how to use Thrift as an interface definition language to automatically generate TypeScript client code, covering the definition syntax, annotation for request mapping, code generation architecture, and practical examples that boost frontend development efficiency.
The article describes how the author used ChatGPT to generate over 5,000 lines of code for a WeChat mini‑program community app, outlining the AI‑Driven Development (AIDD) workflow, detailed login and post‑list module implementations, multiple iteration cycles, code snippets, and reflections on efficiency and reuse.
This article explains how to embed the ChatGPT API into a low‑code development plugin to automatically translate Chinese variable names into English, preset Prompt templates, and generate fully typed Vue code for CRUD pages, complete with code examples and configuration steps.