6 ms·
I guess with a C++ file this big, you need some humor to keep your sanity. Anyway, this one resonated with me: "vi has two modes - 'beep repeatedly' and 'break
by kramerger 4y ago
I guess with a C++ file this big, you need some humor to keep your sanity.
Anyway, this one resonated with me: "vi has two modes - 'beep repeatedly' and 'break everything'"
Here is another interesting one: "A cookie has no soul, it's just a cookie. But before it was milk and eggs. And in eggs there's the potential for life", Jean-Claude van Damme
- grishka 4y agoI see this huge C++ file and I raise you a Java file that's so enormous github refuses to render it: https://github.com/DrKLO/Telegram/blob/master/TMessagesProj/src/main/java/org/telegram/ui/ChatActivity.java https://github.com/DrKLO/Telegram/blob/master/TMessagesProj/...
- shepherdjerred 4y ago> public class ChatActivity extends BaseFragment implements NotificationCenter.NotificationCenterDelegate, DialogsActivity.DialogsActivityDelegate, LocationActivity.LocationActivityDelegate, ChatAttachAlertDocumentLayout.DocumentSelectActivityDelegate, FragmentContextView.ChatActivityInterface, FloatingDebugProvider Someone call a priest
- selfmodruntime 4y agoThis is past a priest. It looks more like a job for John Constantine
- HeckFeck 4y agoFor a second I thought we'd entered the realm of the truly cursed, known as "Multiple Inheritance". Then I saw the subtle 'implements', which brought immediate repose to my soul.
- easton 4y agoThere’s one of those for C++ too, say hello to the .NET garbage collector: https://github.com/dotnet/runtime/blob/main/src/coreclr/gc/gc.cpp https://github.com/dotnet/runtime/blob/main/src/coreclr/gc/g...
- 130e13a 4y agoTypeScript has the same; the whole type checker is in one massive file with 46,393 lines: https://github.com/microsoft/TypeScript/blob/main/src/compiler/checker.ts https://github.com/microsoft/TypeScript/blob/main/src/compil... IIRC they cited performance reasons when compiling the compiler for the decision not to split the file up, but I could be wrong on this.
- fooofw 4y agoAnd xdisp.c in Emacs: https://github.com/emacs-mirror/emacs/blob/master/src/xdisp.c https://github.com/emacs-mirror/emacs/blob/master/src/xdisp....