News for hackers. Stuff that matters.
Re:Found around 250 hilarious CS quotes while browsing Notep... by kramerger on Tuesday November 08, 2022 @04:20AM (#33517408)
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

Re:Found around 250 hilarious CS quotes while browsing Notep... by grishka on Tuesday November 08, 2022 @04:45AM (#33517558)
I 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/...
Re:Found around 250 hilarious CS quotes while browsing Notep... by shepherdjerred on Tuesday November 08, 2022 @05:03AM (#33517648)
> public class ChatActivity extends BaseFragment implements NotificationCenter.NotificationCenterDelegate, DialogsActivity.DialogsActivityDelegate, LocationActivity.LocationActivityDelegate, ChatAttachAlertDocumentLayout.DocumentSelectActivityDelegate, FragmentContextView.ChatActivityInterface, FloatingDebugProvider

Someone call a priest

Re:Found around 250 hilarious CS quotes while browsing Notep... by j-krieger on Tuesday November 08, 2022 @08:36AM (#33518773)
This is past a priest. It looks more like a job for John Constantine
Re:Found around 250 hilarious CS quotes while browsing Notep... by HeckFeck on Tuesday November 08, 2022 @09:45AM (#33519496)
For 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.

Re:Found around 250 hilarious CS quotes while browsing Notep... by jdporter on Tuesday November 08, 2022 @11:02PM (#33527394)
omg, this is primo java trolling. at least, I think you're being sarcastic...
Re:Found around 250 hilarious CS quotes while browsing Notep... by HeckFeck on Wednesday November 09, 2022 @09:38AM (#33532199)
Maybe. I like to cast a broad net =)
Re:Found around 250 hilarious CS quotes while browsing Notep... by easton on Tuesday November 08, 2022 @05:50AM (#33517879)
There’s one of those for C++ too, say hello to the .NET garbage collector: https://github.com/dotnet/runtime/blob/main/src/coreclr/gc/g...
Re:Found around 250 hilarious CS quotes while browsing Notep... by 130e13a on Tuesday November 08, 2022 @08:47AM (#33518864)
TypeScript has the same; the whole type checker is in one massive file with 46,393 lines: 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.

Re:Found around 250 hilarious CS quotes while browsing Notep... by fooofw on Wednesday November 09, 2022 @02:52AM (#33528564)