What are C++ interpreters used for? -
i wonder usage of c++ interpreters. when @ best?
like interpreter, there 2 uses:
- scripting
- experimentation
i don't see scripting catching on c++, language verbose , there other more viable alternatives there (python/ruby/shell).
the experimentation attractive. being able test construct on side writing small dedicated test. typical example, me, use of regular expressions (in python):
> s = "silly test++/++hello world" > re.search(pattern, s).groups()
i don't want execute whole shebang sake of testing did write pattern correctly (the regex compiles) or doesn't capture block wanted. quick test catches of errors, , can go on.
Comments
Post a Comment