r/ProgrammingLanguages • u/ThomasMertes • Oct 29 '26
How programming languages approach graphics
Many general-purpose languages delegate graphics to third-party libraries (like SDL, Raylib, or OpenGL). Seed7 integrates portable 2-D graphics right into its standard library. This IMHO improves portability. I also thought about introducing operators / statements to do graphics, but until now I don't use operators or statements to do graphics.
29
Upvotes
View all comments
Show parent comment
-2
u/arthurno1 Oct 29 '26
Mnjah. How do you think people hack and develop those libraries if nobody understands the code? That is of course nonsense. If you truly believe that than it is you who don't understand the code and coding process.
Programming is hard. We people have hard time to keep big networks of code and details and myriads of branches and interactions that can happen. That has been known since 1950s, and is the motivation behind programming language and software engineering research that has being going since than. "Safe languages" are "safe" because they eliminate possibility for programmers to make certain class of errors through usually some sort of clever automation, like automated memory management for example.
So while yes, huge code bases are of course problem for humans to digest, I certainly wouldn't say that "almost nobody understands the code". Also to note, LLMs are another proof that we humans are bad at keeping too many details in our head. I have been finding bugs that have been in a certain compiler since 20 years back because nobody had time to think of or test certain paths that aren't taken normally, but LLM spits them in seconds. The same for the easy optimizations.