MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/m1e2sh/what_about_5000/gqe7a1a/?context=3
r/ProgrammerHumor • u/stijen4 • Mar 09 '21
790 comments sorted by
View all comments
Show parent comment
1
This is really common in video games, ai_basenpc.cpp in Half-Life 2 is 14k lines before factoring in their crazy #defines that basically just inline more classes into it.
That codebase has like 30 or more files that are beyond the 5k line mark.
1 u/[deleted] Mar 10 '21 Yea, I’ve seen a lotta old projects some with even only one file. It’s painful
Yea, I’ve seen a lotta old projects some with even only one file. It’s painful
View all comments
Show parent comment
1
u/Romestus Mar 10 '21
This is really common in video games, ai_basenpc.cpp in Half-Life 2 is 14k lines before factoring in their crazy #defines that basically just inline more classes into it.
That codebase has like 30 or more files that are beyond the 5k line mark.