Xah Talk Show 2026-02-24 Ep767. fsharp exploration. object oriented programing sucks.
Video Summary (Generated by AI, Edited by Human.)
The video, "Xah Talk Show 2026-02-24 Ep767. fsharp exploration," features Xah Lee as he works on his F# programming language tutorial, also referred to as his F# learning notes (0:10-0:21). He makes several updates and refinements to his tutorial, focusing on formatting strings (2:11), converting strings to different data types (34:46), and handling named literals (1:01:03).
Here's a breakdown of the key topics and discussions:
- F# String Formatting (2:11-8:12): Xah delves into the printf and sprintf functions in F#, explaining their purpose in formatting values into strings. He criticizes their design, attributing it to conventions inherited from C (4:32), and recommends his video, “Xah Talk Show Ep702 the C Printf Crime and New Syntax for String, Rock-String” (6:38), for a better approach to string formatting.
- Object-Oriented Programming (OOP) Critique (10:16-19:56): Xah expresses his disdain for OOP, advocating for functional programming instead (11:18). He recommends two articles for further reading: "Object-Oriented Programming Jargons and Complexities" by Xah Lee (17:21) and "History of Object-Oriented Programming" by Casey Muratori (18:20), a renowned game programmer (18:39).
- Emacs and Xah Fly Keys (20:12-24:11): Xah briefly discusses his Xah Fly Keys, a key-binding system for Emacs that he claims makes Emacs more efficient than Vim or NeoVim (20:41). He also points viewers to his Emacs video tutorials for learning the editor (22:50).
- String Manipulation in F# (34:46-46:19): The video covers converting strings to integer, float, and byte array types (34:46). Xah also touches on splitting strings into characters, particularly ASCII and Unicode characters (41:13).
- Named Literals and Constants in F# (1:01:03-1:10:11): Xah explains the concept of named literals, which are compile-time constants, contrasting them with runtime constants (1:02:19). He clarifies how to declare compile-time literals in F#.
- Random Interludes (27:32-32:51, 1:08:10-1:09:53): The video includes several digressions, such as Xah's thoughts on Twitter's content flagging policies (28:42) and a question from a viewer about what it takes to be middle class (1:08:10).
- Object Oriented Programing Jargons and Complexities (Explained as Functional Programing)
- History of Object Oriented Programing, by Casey Muratori (2025)
- is it appropriate to use %O in printfn "%O" ("abc".GetType())
- https://x.com/i/grok/share/35783959d7db4b0093dfaac86485ef77