r/ProgrammingLanguages • • 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.

26 Upvotes

81 comments sorted by

View all comments

Show parent comment

1

u/arthurno1 Oct 30 '26

proc is shorter, but nobody hinders you to forget about proc altogether and use func void everywhere instead.

You now what they say about design:

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away."

-- Antoine de Saint-Exupéry in The Little Princ