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/ThomasMertes Oct 30 '26
Yes, func would be completely enough and proc is just a shortcut for func void
proc is shorter, but nobody hinders you to forget about proc altogether and use func void everywhere instead.
Seed7 and its libraries define many types (see here). Currently the Seed7 manual lists 49 types and proc is just one of them. You don't need to know all these types when you start programming in Seed7. Beginners just need a few of them:
You see: At the beginning you don't need to know func. :-)