pixelpusher / liveprinter

Livecoding for 3D printers
GNU Affero General Public License v3.0
40 stars 5 forks source link

decide whether to let all use functions bind to global scope or stay temporary #13

Closed pixelpusher closed 6 years ago

pixelpusher commented 6 years ago

Right now, they have to explicitly bind to global lp cope object. But that might be a PITA, especially if they don't want to always re-run their code each time.

pixelpusher commented 6 years ago

I think there's a mix of this to be developed, like with Goldsmiths' Code Circle. Functions should likely be bound as globals, and variable declarations outside of functions as globals as well that can be updated with successive lines of code. There's nothing conceptually leading people towards variables being one-time and private.