3 ms·
I think I saw an article about people using c++14 as a scripting language since infered type, closures and other syntax niceties can make simple c++ as short as
by agumonkey 11y ago
I think I saw an article about people using c++14 as a scripting language since infered type, closures and other syntax niceties can make simple c++ as short as python.
- rkangel 11y ago"As short as" doesn't necessarily mean "can be written as quickly as". I write a lot of C++ at work, and it's usually quicker to write a Python script to do glue type work. There is another advantage - I mostly write python for the 'glue' scripts in large build systems. It saves some complication if your build system doesn't first have to compile chunks of itself!
- agumonkey 11y ago> "As short as" doesn't necessarily mean "can be written as quickly as". Meaning, c++ semantics still require more care to have a running program, even a low-LoC one ?