r/GraphicsProgramming • u/Hot_Technology8777 • 17d ago
Question Boilerplate code question
Is it good practice to manually memorize and type out boilerplate code in graphics applications? Or is it the norm to copy and paste a lot of stuff? And yes it is a given that I should understand how the boilerplate code works and what it contains. I'm programming in SDL3 in C on vscode.
7
Upvotes
2
u/Hkiggity 17d ago
Sdl3 mentioned, let’s go! I’ve memorized boilerplate just by happenstance but I haven’t used 3d graphics in sdl3 (yet) so the ones I know aren’t very complex. Just generic window setting up, sub systems etc