the rapidly dwindling sanity of valve programmers as expressed through code comments
Channel:shounic · Length:2:03 · Published:2020-05-09 · Views:5471518
Summary
A short video that reads out comments from the leaked Team Fortress 2 source code to show the frustration of Valve's programmers over time.
Why HN recommends it
HN cites it as an example of messy code behind successful games and of the human stories that code comments can hold.
Software (other) · Game programming & engines
Subtitles (excerpt)
this is the easiest way I could find to refresh the goals when switching maps to do this is dumb this isn't particularly efficient too bad this is a stupid things but I don't have time to do a cleaner implementation this is a bad way to implement half-life 1 style sprite fonts but it will work for now this seems like a bad idea but it's fine for now move it into place and resize this is terrible but V GUI has forced my hand this doesn't account for children of hierarchy too bad bizarre vector flip inherited from earlier code WTF multi-threading badness this will cause a crash later grab John S or met John know this code didn't port easily WTF does it do I don't know why I don't want to know why I shouldn't have to wonder why but for whatever reason this stupid panel isn't laying out correctly unless we do this terribleness use an Epsilon dammit this is catastrophic repair don't do this someone needs to fix this yes this causes a memory too bad this is bad dumb code and more importantly it's bathtub code fact doesn't make any sense here my hope is that this code is so awful I'm never allowed to write you a code again this [ __ ] doesn't work why as I ever this is some lame [ __ ] right here this is utterly [ __ ] [ __ ] and V underscore
On Hacker News
I've been coding by hand for nearly 20 years. I don't get any rush from generating code with agents. Most of the time I just feel loss. Coding to me has always been the work of a craftsman. I spent years learning syntax, studying APIs, and generally becoming an expert in a language I could then use to exactly express myself. My code became my way of of telling a story. I picked that language not … — u8, 2026-03
Like the author states, the "written in Rust" bonus many projects get does not apply to games. Most of the games I consider to be the most fun are built on an absolute rats nest dumpster fire of code (see: [VIDEO] ). Sometimes bugs even expand game mechanics and make them more fun and expressive. That being said I'll definitely check out Unrelaxing Quacks, it looks great. — bfors, 2024-04
Valve's development practices are apparently good for a chuckle. [VIDEO] The devs don't seem like they have enough time to deal with the code they have to write, let alone respond to security issues. (not their fault, of course) — oeiiooeieo, 2021-04
Related videos
- The Problem with Time & Timezones - Computerphile · Computerphile · 10:12
- Overwatch Gameplay Architecture and Netcode · GDC Festival of Gaming · 1:04:03
- RustConf 2018 - Closing Keynote - Using Rust For Game Development by Catherine West · Rust Programming Language · 42:29
- A Deep Dive into Nanite Virtualized Geometry · SIGGRAPH Advances in Real-Time Rendering · 1:09:59
- How Crash Bandicoot Hacked The Original Playstation | War Stories | Ars Technica · Ars Technica · 31:37
- Jonathan Blow - How to program independent games - CSUA Speech · Alexandre Franco · 1:15:50
- Ideas about a new programming language for games. · Jonathan Blow · 1:55:24
- Exploring the Tech and Design of Noita · GDC Festival of Gaming · 31:00
- Casey Muratori – The Big OOPs: Anatomy of a Thirty-five-year Mistake – BSC 2025 · Better Software Conference · 2:27:33
- Miguel de Icaza: Swift Godot: Fixing the Multi-million dollar mistake #GodotCon2023 · Godot Engine · 54:52
- QuakeCon 2012 - John Carmack Keynote · QuakeCon Official · 3:36:38
- Monktoberfest 2016: Bryan Cantrill - Oral Tradition in Software Engineering · RedMonk Tech Events · 47:59
- Creating a Doom-style 3D engine in C · Bisqwit · 18:49
- Interactive programming Flappy Bird in ClojureScript · Bruce Hauman · 6:22
- DOOM: Behind the Music · GDC Festival of Gaming · 1:00:57
- Why can't you multiply vectors? · Freya Holmér · 51:15