Search found 1 match

by sswam
Thu Jul 16, 2020 10:59 am
Forum: Libraries and Tools
Topic: import all symbols from a module
Replies: 3
Views: 10214

import all symbols from a module

I'm just learning a bit of Love2d and Lua, and I like it so far, but I'm not a fan of writing `love.graphics` 500 times in my program for no good reason. It makes the code more laborious to write, and harder to read. I also prefer not to import all the functions I might want to use one by one. So I ...