r/programming • • May 05 '18

CPY - Code C/C++ with no redundancy

https://github.com/vrsperanza/CPY
48 Upvotes

78 comments sorted by

View all comments

1

u/twizmwazin May 05 '18

Just a small correction from thebdirdt part of your readme: C++ is weakly typed, not strongly typed. What you are probably meaning to say is that C++ is statically typed rather than dynamically typed.

1

u/oracleoftroy May 05 '18

It's a spectrum. C++ is far more strongly typed than C, but is weaker than Haskell. There are ways to subvert the C++ type system, but you have to be explicit about it for the most part.

I'd put it roughly at the same level as Java and C#. There are some things C++ is stronger about and others it is weaker with, so it is debatable where exactly to place it.