Functional programming is a good paradigm to get your head round. Even if you're using a language that isn't typically functional, the lessons and habits learned will improve your code.
Unfortunately, GScript doesn't make this easy past a basic point, with a lack of lexically scoped variables and closures. It will still improve your code, regardless.
No excuse, however, with C++, with the new standard.