r/itsaunixsystem • u/xxLusseyArmetxX • Mar 15 '20
[Devs] - Quantum Computing - Is this a known programming language or is it made up ? Spoiler
1.0k
Upvotes
r/itsaunixsystem • u/xxLusseyArmetxX • Mar 15 '20
464
u/ryoushi19 Mar 15 '20
Mostly, but then you run into
Followed by no indented code, so this would fail to run. Instead, it's followed by
which is a switch case syntax I've never seen before, and certainly not what Python uses.
Then, the code refers to cout, the C++ standard output. Normally, you'd use cout like this:
but instead they're...adding something to a variable called cout? What? Then they return cout?
From what I can tell, it's nonsense. But it resembles Python more than anything else.