the rapidly dwindling sanity of valve programmers as expressed through code comments

Channel:shounic · Length:2:03 · Published:2020-05-09 · Views:5471518

Watch on YouTube

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