Current best practice for lazy-loading Global modules

Hello @stucork!

In your blog post discussing lazy-loading Global modules, you note that one possible approach (that might otherwise be preferred) is doomed because

globals() is not yet fully supported in Skulpt

Does that remain so today (and the global_dict approach consequently still represent ‘best practice’), or…?

The statements in that article still stand.
You can call globals() in Skulpt, but any changes aren’t reflected in the current namespace.

Feature requests are always welcome.

2 Likes

Got it – thanks for the quick reply!