r/ProgrammingLanguages • u/ThomasMertes • 29d ago
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
3
u/Tuxinoid 28d ago
C did not make a difference between functions and procedures because the original design of C was something better than assembler - and K&R did not care very much about strong typing and such things.
Other languages did make that distinction - and it is for a reason: to prevent errors. A programmer who feels "burdened" by the distinction between procedure and function should rather look into something else than programming ...