After 10+ Years of Focusing on Code Quality, Wh...

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest. →
Munetoshi Ishikawa
November 29, 2026
21

After 10+ Years of Focusing on Code Quality, What Do I Think in the Age of AI?

These are the slides from the talk at Google Developer Group DevFest Tokyo 2026, Track A-4.
https://df26.gdgs.jp/en/tokyo/sessions/code-quality/

Abstract: What we expect from code quality has evolved alongside technology and development practices. Now that AI reads and writes code, how relevant are the ideas I have shared about readability and robustness? Drawing on more than a decade of working on code quality and my recent day-to-day experience developing with AI, I will share my thoughts on what is changing and what remains the same from naming to code review.

Japanese version: https://speakerdeck.com/munetoshi/gdg-devfest-tokyo-2026-code-quality-ja

Munetoshi Ishikawa

November 29, 2026

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

76 slides
  1. After 10+ Years of Focusing on Code Quality, What Do

    I Think in the Age of AI? Disclaimer Based on my personal experience and reflections Compare it with your own views What matters - Keep thinking - Combine views to gain new insights Introduction 2
  2. After 10+ Years of Focusing on Code Quality, What Do

    I Think in the Age of AI? The focus of this session Code quality needed for sustainable development Maintainability, readability, robustness, flexibility, consistency, etc. I have focused on these for over 10 years Introduction 3
  3. “Do we still need code quality?” Will it still hold

    up? Is it worth learning? How does it feel now, after all those years? My answer: Yes. In fact, my time has come! Introduction 9
  4. What changes in code quality? The fundamental thinking stays the

    same The focus and importance change - For some, the points to watch change - Some become more important - etc. Introduction 10
  5. Why code quality is needed: before AI Sustainable development, limit

    of software scale = min(cognition, hardware, dev time, ...) timil evitingoC Best practices Code quality: One way to raise Modules Design patterns human cognitive limits Frameworks Architecture Hardware support OS Languages Libraries Introduction 11
  6. Why code quality is needed: now and ahead timil evitingoC

    AI Helps understand, design, code Best practices Code quality: One way to raise Modules Design patterns human cognitive limits Frameworks Architecture Hardware support OS Languages Libraries Introduction 12
  7. Why code quality is needed: now and ahead How code

    quality relates to AI - Guardrails for AI to implement correctly - Human cognition when “AI explains it” Introduction 13
  8. Agenda 1. Traits of development by AI 2. Code quality,

    past and future 3. How “I” will survive from here Introduction 15
  9. Traits of development by AI Strongly influenced by existing code

    - Copies existing anti-patterns Sometimes breaks premises to reach its goal - Can create anti-patterns as “special cases” Traits of development by AI 16
  10. Experiment: the effect of code quality AI's behavior with/without deliberate

    anti-patterns - Compared token usage - Compared the traits of the code generated Traits of development by AI 17
  11. Experiment: the target code SlideCompose - An app for slides

    in Kotlin & Jetpack Compose - About 13,000 lines of Kotlin (excluding tests) https://github.com/munetoshi/slidecompose Traits of development by AI 18
  12. Experiment: method Three features to implement diff lines Main change

    changed files HTML export Export as HTML + JavaScript 100+ New files 1‒2 Page jump Move between pages by links 100+ Existing code 7‒10 Page groups Group pages into “chapters” 200‒300 Existing code 9‒11 Measured 3 runs each with Claude Opus 5.5 (effort: high) Traits of development by AI 19
  13. Experiment: planting anti-patterns 2/2 Comparing four versions of the code

    Original version (reference) Version with anti-patterns in names & comments Version with anti-patterns in design Version with anti-patterns in both Traits of development by AI 21
  14. Experiment: planting anti-patterns 2/2 Versions of the code compared Original

    version (reference) Version with anti-patterns in names & comments Version with anti-patterns in design Version with anti-patterns in both Traits of development by AI 24
  15. Experiment: planting anti-patterns 2/2 Versions of the code compared Original

    version (reference) Version with anti-patterns in names & comments Version with anti-patterns in design Version with anti-patterns in both Traits of development by AI 27
  16. Evaluating AI's code A qualitative look at the code AI

    generated - Copied anti-patterns - New anti-patterns Traits of development by AI 29
  17. Evaluating AI's code A qualitative look at the code AI

    generated - Copied anti-patterns - New anti-patterns Traits of development by AI 31
  18. Evaluating AI's code: New anti-patterns Usual implementation: one-way dependency Slide

    display package Jump implementation Implements Slide definition package Anti-pattern: a new circular dependency Slide display package Jump implementation Utility function Implements Function call Jump interface Click handling Slide definition package Jump interface Click handling Traits of development by AI 32
  19. Evaluating AI's code A qualitative look at the code AI

    generated - Copied anti-patterns - New anti-patterns Traits of development by AI 33
  20. Conclusions of the experiment Anti-patterns affect token usage - The

    gap may widen in larger products What the observations confirmed - Tends to copy existing anti-patterns - Sometimes creates new anti-patterns Matches what I see of AI at work Traits of development by AI 34
  21. AI at work AI tends to create anti-patterns and copy

    them fast Usual code Usual code Usual code Usual code Anti-pattern Usual code Anti-pattern Usual code Anti-pattern Anti-pattern Anti-pattern Traits of development by AI 35
  22. Summary: Traits of development by AI Strongly influenced by existing

    code - Anti-patterns raise token usage and get copied Sometimes breaks premises to reach its goal - Tends to create new anti-patterns and copy them fast Traits of development by AI 36
  23. Agenda 1. Traits of development by AI 2. Code quality,

    past and future 3. How “I” will survive from here Traits of development by AI 37
  24. Code quality, past and future AI changes the premises of

    code quality - Humans and AI code differently, at different costs Examining how code quality works is key If you understand the “purpose” of an architecture, what it is used for, and the “conditions” in which it works well, you can judge whether it holds up in a new era. 『読みやすいコードのガイドライン』 Chapter 1 (translated) Code quality, past and future 38
  25. Example: duplicate implementations 1/2 Until now: avoid implementing the same

    thing twice - Share code to make a “single source of truth” clear - Ex. 1 : Extract duplicates into utilities or libraries - Ex. 2: Share Android/iOS code with Kotlin Multiplatform Why avoid duplicate implementations - Changes cost more - The copies risk drifting apart Code quality, past and future 39
  26. Example: duplicate implementations 2/2 From now on: more of it

    is acceptable - When sharing costs more than keeping duplicates AI lowers the cost of implementing - Keeping the duplicates themselves - Ways to keep them in sync (automated tests, AI review) Code quality, past and future 40
  27. Code quality - Security : More important now - Correctness,

    performance, UX: Up to needs, as before - Maintainability : Changes with AI Code quality, past and future 41
  28. Maintainability-related code quality Robustness Readability Simplicity Flexibility Consistency Some parts

    overlap, others conflict Examples with simplicity and readability - Overlap: Simple code structure - Conflict: Names and comments stripped of context Readable too Less readable Code quality, past and future 52
  29. Priorities in a conflict Aim to satisfy all of them

    where possible My personal ranking Robustness > Readability > Simplicity > Flexibility > Consistency Code quality, past and future 54
  30. Priorities in the AI era Same order, but the gaps

    in weight widen ↑↑ ↑ Robustness > Readability > Simplicity > Flexibility > Consistency ↓ ↓↓ I've always valued robustness and readability: now my time has come! Code quality, past and future 55
  31. Priorities in the AI era Same order, but the gaps

    in weight widen - Robustness↑↑ : Guardrails that let AI work on its own - Readability↑ : How well people grasp AI's explanations - Simplicity : Complexity can be hidden by abstraction - Flexibility↓ : Matters less as changes get cheaper - Consistency↓↓: Anti-patterns now get copied fast Code quality, past and future 56
  32. Consistency: keeping AI from overdoing it Spell out the context

    of “which way to use” Example 1: when obsolete implementations are mixed in Prefer way A. B is obsolete. Example 2: when the right choice depends on the situation Choose A as a rule. But choose B when ... Code quality, past and future 57
  33. How to ensure code quality The basic thinking is the

    same as before AI - Rules, guidelines, linters - Architecture tests - Instructions - Code review Designing the safeguards itself takes code quality skills Code quality, past and future 58
  34. Code review in the AI era Reviewing everything in detail

    can become a bottleneck - AI speeds up implementation - Human capacity stays the same Balancing short-term speed and code quality is key Code quality, past and future 59
  35. Ideas for code review - Review at a higher level

    - Sample and correct course - Review the reviews Code quality, past and future 60
  36. Ideas for code review - Review at a higher level

    - Sample and correct course - Review the reviews Code quality, past and future 62
  37. Idea: Sample and correct course Spot-check some of the code

    changes - Check that the safeguards work - Turn what you find into tools and rules - Move to more reliable mechanisms Guidelines/instructions → linters/architecture tests Code quality, past and future 63
  38. Ideas for code review - Review at a higher level

    - Sample and correct course - Review the reviews Code quality, past and future 64
  39. Idea: Review the reviews Asking AI and having it code

    tends to be enough - Less sharing and teaching at the code level Review the reviews already done - Share viewpoints and ways of thinking - Discuss how to turn them into tools and rules Code quality, past and future 65
  40. Ideas for code review - Review at a higher level

    - Sample and correct course - Review the reviews Code quality, past and future 66
  41. Summary: Code quality, past and future Examining how code quality

    works is key - Humans and AI code differently, at different costs The gaps in the weights of code quality widen - Robustness, readability ↑ | flexibility, consistency ↓ The basics of ensuring code quality continue - Code review needs ideas to balance speed and quality Code quality, past and future 68
  42. Agenda 1. Traits of development by AI 2. Code quality,

    past and future 3. How “I” will survive from here Code quality, past and future 69
  43. How “I” will survive from here Learn from history: what

    is alike, what differs The path writers of prose took - When few could write : Writing alone was in demand - Once it became common: Demand moved to higher skills - Accuracy, clarity, words that move people Code now faces the same: what can only we do? How “I” will survive from here 70
  44. To keep competing on code quality Think it through &

    compare with other views About principles and best practices - What are their pros and cons? - When do they work, and when not? - What background did they come from? - How are they like and unlike other practices? How “I” will survive from here 71
  45. Putting into words and discussing Put what you think through

    into words - Discuss with people to gain new insights - Turn it into guidelines and instructions How “I” will survive from here 72
  46. After 10+ Years of Focusing on Code Quality, What Do

    I Think in the Age of AI? Disclaimer Based on my personal experience and reflections Compare it with your own views What matters - Keep thinking - Combine views to gain new insights How “I” will survive from here 73
  47. Summary Code quality is still needed Because the gaps in

    weight widen, keep examining how it works What you can do from tomorrow Ask why your good practices work, and put it in words 74

More Decks by Munetoshi Ishikawa