~3m9:30
Tsessarsky

Jonathan Blow clips to watch at 3 hour lunch break at a web company

Apr 30, 2023

Read: ~3m · You save: 7 min

Jonathan Blow clips to watch at 3 hour lunch break at a web company

Jonathan Blow's funny rants on JavaScript, C++, Git naming, level design, Crysis, and shipping Braid on Linux. Great for programmers and game developers on a lunch brea

Choosing a Programming Language

Leaving JavaScript as a career can accelerate a programmer's growth. It is not guaranteed, but becoming a better programmer is much easier in a language other than JavaScript.

Tool Performance and Latency

A delay of 100 milliseconds is roughly the time needed to open a new tab in Chrome. It is also about the time needed to type a character in the Atom editor.

Software Design Criticism

  • Microsoft's type naming: Microsoft's introduction of capitalized type names for nearly everything is a poor practice. Microsoft should have avoided it.
  • Web developers and language churn: Web developers change programming languages about every six months, which is very frequent.
  • Git terminology: Git's "master" branch name should be replaced with "main," because the term "master" is no longer used.

Teaching Beginners to Program

  • Error messages: A useful error message for beginners explains what a value means. In the example, the message explains what a U16 type represents, which helps a programmer who does not fully understand the type.
  • Copied code: Error messages should advise against copying and pasting code from Stack Overflow. Such a message is not added, because the copied code may rely on assumptions the programmer does not understand.

Qualities of a Strong Programmer

A strong programmer shows the following qualities:

  1. Persistence when solving problems
  2. The ability to reason about abstract concepts and visualize them
  3. Care for the quality of the work produced
  4. Avoidance of JavaScript

Game Development

  • Level design and water mechanics: In one level, pushing a stone into water makes the nearby water traversable. A stone sunk in the water can be stepped on.
  • Crysis: Crysis was notable for its suit modes. Players could switch between maximum armor and maximum speed.
  • Puzzle reward design: Many games give a reward at the end of a puzzle, such as a song in Portal. One puzzle game gives the opposite: its ending works as an anti-reward for the player.
  • Unfinished games: An unfinished game often does not perform at the level of a completed game.
  • Braid on Linux: Shipping Braid on Linux required a very large effort and was highly demanding to maintain.

Hardware and Setup

  • Storage: The development machine uses an SSD.
  • Initialization time: The initialization time appears large and requires investigation.
  • Rift S setup: Setting up the Rift S requires choosing a default download location, connecting the headset, and updating the firmware.

Developer Tools

An ideal text editor would be fast. Current text editors are slow, and an ideal editor would also allow direct text editing without friction.

Open Source Documentation

Open source projects often have poor documentation.

Leaving JavaScript and Speed of Software

Blow argues that leaving JavaScript helps programmers improve quickly, and jokes about how slow software feels compared to a 100 ms response time.

  • Advises the viewer to stop using JavaScript as a career, saying it will make them a better programmer very rapidly, though not guaranteed.
  • Compares 100 milliseconds to the time it takes to open a new tab in Chrome.
  • Says that typing a character in Atom takes about as long as that 100 ms delay.
  • Says modern C++ programmers would be horrified by his coding style and are performing exorcisms on the video.
  • Jokes that with a time machine he would still stop Hitler, but would then go to Redmond to tell Microsoft not to introduce capital P types everywhere.

Level Design, Game Development and Performance

Blow discusses level design and game development, including a puzzle about stones making water traversable, his own firing joke, and performance issues caused by unfinished games.

  • Asked why pushing a stone into water makes nearby water traversable, he says that if a stone is sunk in the water, you can step on it.
  • Jokes about being fired for bad work, while saying he designed many levels.
  • Asks whether he uses an SSD, answers yes, and notes that the init time looks big.
  • States that a video game that is not finished often does not perform at the level of a finished one.
  • Mentions Stone Shard as a game he has not played, and says the name is written as one word.
  • Describes Unity, where he deleted the garbage collector but also deleted the garbage generator.
  • Praises Crysis for letting the player switch between maximum armor and maximum speed, calling it special.
  • Says he almost solved a puzzle in 15 minutes and criticizes a game ending that acts as an anti-reward, unlike the song at the end of Portal.

Beginner Programming, Code Quality and Open Source

Blow addresses beginner programming, copying code from Stack Overflow, qualities of a good programmer, naming conventions, and poor open source documentation.

  • Explains that beginners should be able to read error messages, such as one about a U16 type, even if they do not fully understand it.
  • Says beginners should not copy and paste code from Stack Overflow, though he avoids assuming what people did with it.
  • Lists traits of a good programmer: being tenacious, thinking through abstract things, visualizing them, caring about quality, and not using JavaScript.
  • Jokes about Git terms like force pushing and pushing to master, and says the branch should now be called main because master is no longer used.
  • Says web developers change programming languages about every 6 months.
  • Complains that open source documentation is awful and jokes about the Nginx name, saying that if you do not want people to call it Nginx, do not name it that.

Text Editors, Braid on Linux and Closing Remarks

Blow closes with a text editor wish list, a story about Braid on Linux, and a series of unrelated jokes and reactions.

  • Says his ideal text editor would not be slow like everyone else's editor and would let him edit text.
  • Describes shipping Braid on Linux as a disaster that took a huge amount of effort, comparing it to a high-maintenance girlfriend.
  • Makes unrelated jokes about horror games, Fortnite, polka dot tablecloths, and pillaging Jesus in a game.
  • Ends with a series of joking remarks about a game that looks like a video game for ants.