Hacker News new | ask | show | jobs
by bee_rider 1198 days ago
Tossing everything into the global namespace also makes the REPL experience a little more enjoyable.

IMO Octave really shines as a REPL you can write short scripts and functions for.

1 comments

This so much. Running scripts in Octave and being able to inspect every variable makes debugging so much easier when you are new at programming. Especially with the GUI and variable explorer.
> being able to inspect every variable makes debugging so much easier when you are new at programming.

I'd go further to say this is useful for anyone with any level of experience programming!

Globals are bad, m'kay?