"If Microsoft forced either SmartScreen OR AppLocker" Meh, just add a button or clickable link that allows the sysadmin to swiftly disable such warnings. Just make sure to put a scary-enough disclaimer that doing so can…
Tuple support, which in essence are anonymous structs, would have been very nice in C, too.
SQLAlchemy[1] is a large project with a very solid codebase; it is very well documented and the API is exemplary. 1: https://github.com/zzzeek/sqlalchemy/
That behaviour is not exclusive to standards committees. The government and private companies do it all the time.
Great! Now the FBI does not even have to arrest me to get my fingerprints and retina scanned!
Regarding the C++ code: /* This is standard modern C++ random number generation. It means, using the random generator "engine", return a number according to distribution "dist". In this "dist" is a uniform distribution…
And if you want to emulate static variables in a function, you can do that: def counter(): counter.x += 1 return counter.x counter.x = 0 counter() > 1 counter() > 2 Beware! singleton variables, mutable state, etc.
But it is an implementation, albeit a non-standard one.
"If Microsoft forced either SmartScreen OR AppLocker" Meh, just add a button or clickable link that allows the sysadmin to swiftly disable such warnings. Just make sure to put a scary-enough disclaimer that doing so can…
Tuple support, which in essence are anonymous structs, would have been very nice in C, too.
SQLAlchemy[1] is a large project with a very solid codebase; it is very well documented and the API is exemplary. 1: https://github.com/zzzeek/sqlalchemy/
That behaviour is not exclusive to standards committees. The government and private companies do it all the time.
Great! Now the FBI does not even have to arrest me to get my fingerprints and retina scanned!
Regarding the C++ code: /* This is standard modern C++ random number generation. It means, using the random generator "engine", return a number according to distribution "dist". In this "dist" is a uniform distribution…
And if you want to emulate static variables in a function, you can do that: def counter(): counter.x += 1 return counter.x counter.x = 0 counter() > 1 counter() > 2 Beware! singleton variables, mutable state, etc.
But it is an implementation, albeit a non-standard one.