this post was submitted on 11 Jul 2025
850 points (98.9% liked)

Programmer Humor

25009 readers
1120 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

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Skullgrid@lemmy.world 33 points 4 days ago (8 children)

how does the AI know what the rest of the project is like? Or what the purpouse of the file is?

[–] CaptDust@sh.itjust.works 97 points 4 days ago (6 children)

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

[–] Weirdfish@lemmy.world 6 points 4 days ago

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.

load more comments (5 replies)
load more comments (6 replies)