this post was submitted on 11 Jul 2025
        
      
      859 points (98.9% liked)
      Programmer Humor
    27104 readers
  
      
      4173 users here now
      Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
        founded 2 years ago
      
      MODERATORS
      
    you are viewing a single comment's thread
view the rest of the comments
    view the rest of the comments
 
          
          
What do you mean "rest of the project"? Don't you put all of everything into a singular neatly contained file? It's way more optimized that way
That's how I read the tweet, dork never got further than Programming 1
All my source code is in one .h file
A hentai file so you can goon while you code? My god , you're a genius. Elon musk needs you at twitter asap
That's Link Time Optimization, right? Put everything into one place for the linker to optimize.
I thought Link Time Optimization usually involved at least an ocarina...
With the obscure language I use for work, I do tend to keep each system to a single file, even though includes and modules are supported.
Granted, they are generally between 500 and 5000 lines, and are usually written from scratch.
That being said, there is a 0 percent chance I'm going to be feeding anything I write into Grok.