iPS 282: The Art of Designing Code with Mischa Hildebrand

00:00 1:00:10
Download MP3

In this episode of the iPhreaks Show the panel interviews, Mischa Hildebrand, asking about a talk he gave at iOS Conf 2019. Mischa has a very varied background, he studied to become a physicist, then did some journalism on television and radio before finally going into iOS development. His background in journalism gave a unique perspective into writing code that is beautiful and easy to understand. Mischa shares principles from his days in journalism and applies them to programming.

The panel shares their experiences working on legacy or unclear code, the describe the pain it was to interpret the code. Mischa’s principles while nothing new address the problems that turn into painful code. First, use short sentences, in other words, keep your lines short. Also, use simple language. The panel discusses what it means to use an active voice versus a passive voice. Another rule is to give one piece of information per sentence, this allows other developers to easily follow the code and its purpose.

Panelists

  • Alex Bush

  • Christina Moulton

Guest

  • Mischa Hildebrand

Sponsors

  • Sentry– use the code “devchat” for two months free on Sentry’s small plan
  • CacheFly

Links

Picks

Christina Moulton:

Mischa Hildebrand:

Alex Bush:

FAQ

Where did Mischa get his inspiration for his principles of right clear code?

Rules he learned as a radio and television journalist.


What are some of the rules discussed by the panel?

Simple language, short sentences, active language vs passive language, one piece of information per sentence, positive naming.


What are some of the benefits of following these rules?

Easy turnover and more productivity.


How has the coding culture changed in the last ten years?

There is a greater emphasis on empathy and humans in the code.


Sign up for the Newsletter

Join our newsletter and get updates in your inbox. We won’t spam you and we respect your privacy.