Apr-27-2017, 03:51 AM
(Apr-26-2017, 05:08 PM)Larz60+ Wrote: I used C++ for many years. I'm not sure I found a single bug during all that time.About a decade ago I've wasted a couple of hours trying to figure out a weird undocumented - then - parameter to
Perhaps the problem was your code?
Or lack of knowledge on how to use the compiler.
String
(I think it was traits
?!). Of course, it was MS Studio . And no one around could help .But it was real pleasure to test and debug DLLs with Python snippets, loading them (DLLs) with
ctypes
. My colleagues used to write wrapper application in C++. Guess which was quicker ?!
Test everything in a Python shell (iPython, Azure Notebook, etc.)
- Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
- Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
- You posted a claim that something you did not test works? Be prepared to eat your hat.