~/talk

Man vs Machine: Can ChatGPT write better SwiftUI than you?

Talkat iOS Conf SG 2023 · 2023-01-12..01-13· [swift, ai-assisted-development]
slides:none on file

Compares ChatGPT and a human on building a SwiftUI analog clock: ChatGPT spits out 48 lines of code that initially don't compile, then iteratively fixes errors after pasting compiler messages; the human writes about 34 lines, uses relative sizing, adaptive colors, and a sweeping second hand, fixes a SwiftUI rotation bug, and adds a performance tweak (lowered TimelineView frequency). Result: machine generates working code after back-and-forth, but human code is shorter, more robust, and scalable.

AI-written summary · about

  1. 0:00AI coding assistants intro
  2. 3:13Testing ChatGPT with SwiftUI clock
  3. 6:25Debugging ChatGPT’s SwiftUI code
  4. 9:36Human vs AI SwiftUI code
  5. 12:07Scalable SwiftUI clock
  6. 17:47Apple-like design details
  7. 21:40Hour markers and positioning
  8. 27:20Fixing SwiftUI bugs
  9. 30:49AI code limits
  10. 34:39AI assisting developers
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.